Pixel height of fonts

How do I know the height in pixels of Fonts for instance I can find out a piece of text is a certain font, for example 12, but what is the height of this in actual pixels so that I can work out X and Y axis details.

Regards

Harry