CSS: Meaning of font size
What Does Font Size Mean Exactly?
The CSS font size of a font is a imaginary design box around the font that includes padding space. This design box height has the name em height.
“em height” is not the bounding box. (typography does not have the concept of “bounding box”.)
Some character, such as Ü (U+DC: LATIN CAPITAL LETTER U WITH DIAERESIS) , may extend beyond this design box.
The actual height of letter M, differs depending on the font used.
Actual Letter Height
Different font with same CSS size spec may have very different size, because the ratio of CAPS height to “font size” is not standardized.
For example, compare:
B
B
Typically, serif font are smaller.