What is x-height in typography, and why does it matter?

What is x-height in typography, and why does it matter?

X-height is the height of lowercase letters like x. Learn how it affects readability, apparent font size and font pairing, and how to compare it between fonts.

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.

Frequently asked questions

Is a taller x-height always better?

No. It helps small text, but very tall x-heights can make ascenders and descenders short and words harder to tell apart.

Why does my font look smaller than another at the same size?

It probably has a shorter x-height.

Does x-height apply to capitals?

No. Capitals are measured by cap height.

What fonts have tall x-heights?

Many fonts designed for screens and interfaces. Check a specimen rather than guessing.