X-height is the height of a typeface's lowercase letters, measured from the baseline to the top of a flat letter like x. It's the reason two fonts set at the same size can look like two different sizes. The size you type into a menu sets the em, the square of space every letter is drawn on. The x-height decides how much of that square the lowercase letters fill.
The gap is bigger than most people expect. Set Merriweather and EB Garamond both at 16 pixels, and Merriweather's lowercase letters stand about 8.9 pixels tall while EB Garamond's reach about 6.5. Same size setting, and one reads as noticeably larger. The measured figures for nine common fonts are further down.
X-height and the rest of a letter's anatomy
X-height is one of five lines type designers draw every letter against:
| Line or measure | What it marks | Letters that show it |
|---|---|---|
| Baseline | Where most letters sit | Every letter without a descender |
| X-height | The top of the lowercase body | x, v, w, z, and the bowls of a and e |
| Cap height | The top of flat capital letters | H, E, T, I |
| Ascender height | The top of tall lowercase strokes | b, d, h, k, l |
| Descender depth | How far strokes drop below the baseline | g, j, p, q, y |
Two details catch people out. Ascenders can rise above the cap height, so a lowercase "d" stands taller than a capital "D". That's true in seven of the nine fonts we measured below. And round letters don't sit exactly on the lines. An "o" dips a little below the baseline and rises a little above the x-height, so it looks the same size as the flat "x" beside it. Every font we measured does this. This is called overshoot, and it's why you measure x-height on a flat letter.
For the full set of letter parts, see our guide to the anatomy of letterforms.
Why x-height matters
It sets how big type looks. Most of what we read is lowercase, so the x-height carries most of a font's apparent size. That's why vision scientists measure print size by x-height rather than by point size. Gordon Legge and Charles Bigelow make this case in their review in the Journal of Vision. It compares three faces at the same body size, with x-heights of 0.53, 0.45 and 0.37 of the size. Same nominal size, three visibly different sizes of type.
It affects reading at small sizes. Legge and Bigelow put the range for fluent reading at x-heights from about 1.4 mm to 14 mm, at a normal reading distance of 40 cm. Below that range, reading slows down. A larger x-height keeps small text inside the range for longer. A 2025 study presented at the Vision Sciences Society meeting found the same pattern with 60 readers. Larger x-heights helped a little when the text was small and made no difference once it was large.
It changes how much line spacing you need. Tall lowercase letters leave less empty space between lines, so a font with a large x-height needs more line spacing to keep the page from feeling crowded. A font with a small x-height has that space built in.
It shapes personality. Small x-heights come mostly from older book faces, where long ascenders and descenders give text an elegant, airy look. Large x-heights belong to faces drawn for screens and small sizes. Apple drew the Apple Watch version of San Francisco with a tall x-height for exactly that reason, as our guide to what font Apple uses covers.
X-heights of common fonts, measured
We measured the x-height of nine free, open-source fonts from Google Fonts directly from their font files, at each font's default settings. Each figure is the height of the lowercase x as a share of the type size, so 0.50 means the lowercase letters fill half the em.
| Font | Category | X-height | At 16 pixels | X-height as share of cap height |
|---|---|---|---|---|
| Merriweather | Serif | 0.56 | 8.9 px | 75% |
| Inter | Sans serif | 0.55 | 8.7 px | 75% |
| Open Sans | Sans serif | 0.54 | 8.6 px | 75% |
| Roboto | Sans serif | 0.53 | 8.4 px | 74% |
| Playfair Display | Serif | 0.52 | 8.2 px | 73% |
| Lora | Serif | 0.50 | 8.0 px | 71% |
| Atkinson Hyperlegible | Sans serif | 0.50 | 7.9 px | 74% |
| Source Serif 4 | Serif | 0.48 | 7.6 px | 71% |
| EB Garamond | Serif | 0.41 | 6.5 px | 62% |
Three things stand out:
- The sans serifs cluster tightly. The three screen sans serifs sit between 0.53 and 0.55. Swap one for another and the apparent size barely moves.
- The serifs spread widely. The serifs run from EB Garamond's 0.41 to Merriweather's 0.56. "Serif" tells you nothing about x-height. Merriweather was drawn for screens and has a taller x-height than any sans on the list.
- EB Garamond is the outlier, with lowercase letters at only 62% of its capitals. It follows the proportions of 16th-century Garamond types, which is part of why it looks refined in a book and small in a phone app.
Times Roman sits at 0.45, according to Legge and Bigelow, between Source Serif 4 and EB Garamond.
For choosing between these for reading, see our guides to serif fonts for body text and the easiest fonts to read.
How to measure x-height
In a design tool. Type a lowercase "x" at a large size, like 1,000 pixels or points. Drop one guide on the baseline and another on the top of the x, then read the distance between them. Divide it by the type size. An x that measures 520 at a size of 1,000 has an x-height of 0.52.
From the font file. Fonts store their x-height in their metrics, in font units alongside the size of the em. Divide the first by the second and you get the same ratio. That's how the table above was made. Design apps don't always display these values, but font inspection tools and developer libraries do.
In CSS. The "ex" unit equals the x-height of the font in use, and every major browser supports it. A box set to "height: 1ex" comes out exactly as tall as the lowercase letters beside it, which makes it a quick check in a browser.
Three mistakes give wrong answers:
- Measuring the whole letter height. Ascenders and descenders aren't part of the x-height. Measure from the baseline to the top of a flat lowercase letter only.
- Measuring a round letter. An "o" overshoots both lines, so it reads a few percent too tall. Use x, v, w or z.
- Comparing fonts at different sizes. Always compare at the same type size, or compare ratios.
How to use x-height when choosing and pairing fonts
Match x-heights when you pair fonts. A heading font and a body font look like one system when their lowercase letters stand at similar heights. Inter at 0.55 with Merriweather at 0.56 sit almost level. Pair Inter with EB Garamond instead and the serif will look a size smaller at the same setting.
Size by eye, not by number. If you switch a design from a small x-height font to a large one, keep the apparent size the same by lowering the type size. Moving from EB Garamond to Merriweather at the same look means dropping from 16 pixels to about 12.
Give tall x-heights more line spacing. Start with a little more space between lines than you'd use for a font with a small x-height, then adjust by eye on a full paragraph.
Keep fallback fonts the same size. On a website, the browser swaps in a fallback font if yours fails to load. A different x-height makes the text jump in size. The CSS property font-size-adjust fixes this by scaling the fallback to match your font's x-height ratio. Set it to your main font's figure, like 0.55 for Inter. All major browsers have supported it since July 2024.
Check the smallest size you'll use. A font with a small x-height can look perfect in a headline and turn hard to read in a caption. Test the captions, labels and fine print at their real size on a phone.
A worked example: choosing a serif for an app
Say a reading app wants a serif for its articles, with 15-pixel captions under each photo. EB Garamond is on the shortlist because the brand team likes its classic look. At 15 pixels, its lowercase letters stand about 6.1 pixels tall. Lora's stand 7.5 pixels tall at the same setting, nearly a quarter taller.
In the article text, at a comfortable 18 or 19 pixels, both read well. EB Garamond's longer ascenders give the page more grace. In the captions, EB Garamond starts to look cramped next to the photos. The fix is to keep EB Garamond for headlines and long reading and set the captions in Lora or a sans with a larger x-height. Matching the two by x-height keeps them from looking like a size mismatch.
FAQs on x-height
Related reading
- The Importance of Typography — Discover why typography is a crucial design element in communication and branding.
- Understanding Typeface in Typography — Explore the art of typography, the essence of typefaces, and the distinction between typeface and font, delving into design's impact on communication
- The Importance of Typography in Branding — Explore the pivotal role of typography in branding, understanding how font choices can shape perceptions, evoke emotions, and reinforce brand identity.


