Book a call Free rebuild

X-Height

April 19, 2023 Updated November 16, 2026 2 min read

Design glossaryThe x-height is the height of a typeface's lowercase letters, such as x, measured from the baseline. A large x-height makes text easier to read at small sizes.

The x-height is the height of the main body of lowercase letters: the distance from the baseline, where letters sit, to the midline, the line across the top of letters such as a, e, n, and o. It is measured on a flat-topped letter, which is why it is named after the x. Round letters like o overshoot the line slightly so they look the same size.

The x-height is usually described in relation to the cap height or the font size. It is one of the biggest influences on how large and readable a typeface looks, because most of what we read is lowercase.

  • Cap height: the height of flat capitals such as H. In almost every typeface the x-height is lower.
  • Ascenders: the parts of b, d, h, and l that rise above the x-height.
  • Descenders: the parts of g, p, and y that drop below the baseline.

These share the same vertical space, so a typeface with a large x-height usually has relatively short ascenders and descenders, and one with a small x-height has long ones.

Why x-height matters

Two fonts set at the same font size can look very different in size, because font size measures the whole design space of the type, not the letters themselves. A font with a large x-height looks bigger and tends to stay legible at small sizes, because the inner spaces of letters like e and a stay open. Verdana and Georgia, designed for screens in the 1990s, are well-known examples.

A small x-height, as in many classic book faces such as Garamond, looks more refined and traditional but smaller at the same size, so body text in such a face often needs to be set larger.

There are trade-offs. Very large x-heights can make words look uniform and blocky, because the distinctive shapes of ascenders and descenders shrink. Text with a large x-height also often needs a little more leading so lines do not feel crowded.

X-height on the web

  • Choosing body fonts: compare candidates at the same pixel size in real paragraphs, not by their font size number. A face with a small x-height may need setting a couple of pixels larger to read as comfortably as one with a large x-height.
  • Pairing fonts: a heading font and body font with similar x-heights sit more comfortably together, especially when they appear on the same line.
  • Fallback fonts: if a web font loads after the page first renders, swapping from a fallback with a different x-height changes line lengths and can move content, adding to Cumulative Layout Shift. The CSS font-size-adjust property and the size-adjust descriptor in @font-face can scale the fallback to match.
  • The ex unit: in CSS, 1ex equals the x-height of the current font, handy for sizing small icons to sit neatly beside lowercase text.
WP Services

WordPress services at revolutionary pricing.

Productized WordPress services, from builds to care, delivered by Seahawk and tracked in one app. For the WordPress lovers.

More Design terms