Meaning of Font Size and Em Height

By Xah Lee. Date: . Last updated: .
font size em height.svg
The blue box is the font size, also known as em height. The actual height of letter M, is different depending on font. 〔font_size_em_height.svg

What Does Font Size Mean Exactly?

The CSS font size of a font is the “em height”.

em height” is the height of a design box around the the font that includes space for ascender and descender plus a little padding.

The actual height of letter M, differs depending on the font used.

Some character, such as Ü, may extend beyond this design box.

Different font with same size may actually be quite different in perceived size or bounding box size, because there's no standard ratio of x-height of a font to its em height.

typography line terms
typography line terms

Font Topic

Like what you read? Buy JavaScript in Depth
or, buy a new keyboard, see Keyboard Reviews.