How x-height is measured
Picture the lines type sits on:
- Baseline: where letters rest.
- X-height (mean line): the top of lowercase letters like x, v, z, and the main body of a, e, o.
- Cap height: the top of capitals.
- Ascender and descender lines: the tops of b, d, h and the bottoms of g, p, y.
The letter x is used because it has flat top and bottom. Round letters like o slightly overshoot the line so they look the same height. More on these parts in anatomy of letterforms.
Why it matters
Apparent size. Point size measures the whole font body, not the visible letters. A font with a tall x-height at 14 px can look larger than one with a short x-height at 16 px.
Readability at small sizes. Taller lowercase letters give more room for the open spaces inside letters (counters), which helps on phone screens, captions and labels.
Tone. Short x-heights with long ascenders often feel classic or elegant. Tall x-heights tend to feel open and direct.
Spacing. Fonts with tall x-heights usually need a bit more line spacing, because lines look closer together. See kerning vs leading vs tracking.
Using x-height when pairing fonts
When you mix a heading font and a body font, or two fonts on the same line, similar x-heights make them sit together comfortably. If one looks too small next to the other at the same point size, adjust the size until the lowercase letters match, rather than matching the point size. On the web, the CSS font-size-adjust property can help keep x-height consistent when a fallback font loads.
How to compare fonts
Type the same lowercase word in each font at the same size, side by side, and look at the heights. Many font specimen sites also show the ratio of x-height to cap height.
