X-height
X-height is the vertical distance from a typeface’s baseline to the height of its lowercase letters, conventionally represented by the letter x.
Everyday Data Visualization
X-height is the height of a typeface's lowercase letters, conventionally measured by the height of the letter x.
- How it is used
- Guides font selection for small visualization text such as axis labels, annotations, and captions.
- How deep it goes
- Defines x-height as an inherent font property and compares it visually across fonts, without a numerical selection rule.
- Examples
- Compares five fonts at matched cap heights and describes how Goudy Old Style’s smaller x-height contributes to its tone.
- What you can do after
- Evaluate/understand how x-height affects the readability and tone of candidate fonts for a visualization.
Web Design Playground
The vertical distance from a font’s baseline to the top of its lowercase letters, excluding ascenders and descenders.
- How it is used
- Guides typeface selection for readable text on small screens.
- How deep it goes
- Defines x-height and supplies a visual half-font-size heuristic, without detailing a formal measurement procedure.
- Examples
- Uses Google Fonts auditioning and lowercase letters such as x, o, a, e, g, and y.
- What you can do after
- Evaluate typefaces for small-screen readability by checking x-height alongside counters, apertures, and stroke contrast.
Web Design Playground, Second Edition
X-height is the height of the main body of lowercase letters in a typeface.
- How it is used
- Guides typeface selection for readable text on small screens.
- How deep it goes
- Defines the measurement and supplies a practical size heuristic, stopping short of deeper typographic analysis.
- Examples
- Uses x, o, d, h, g, and y, plus Google Fonts auditioning and typeface pairing.
- What you can do after
- Evaluate typefaces for small-screen legibility using x-height alongside counters, apertures, and stroke contrast.
Read how Web Design Playground, Second Edition explains x-height →
What to know first
- baselineA text baseline is the typographic reference line on which most glyphs rest and relative to which their vertical positions are defined.
- sans serif typefaceA sans-serif typeface is a typeface whose letterforms lack projecting finishing strokes called serifs.
- serifA serif typeface is a typeface whose letterforms have projecting finishing strokes at the ends of their main strokes.
Related concepts
- font-size propertycontrasts with · The CSS font-size property specifies the size at which an element’s text is rendered.
- code readabilityuses · Code readability is the ease with which human readers can understand source code and infer its structure, intent, or behavior.
- vertical-align propertyused by · The CSS vertical-align property specifies the vertical alignment of inline-level or table-cell content relative to its line or table row.
- apertureproduces · An aperture is a partially enclosed negative space formed by an opening in a letterform.
- counterproduces · An enclosed or partially enclosed area of negative space within a letterform.
- fontpart of · A font is a set of glyphs with a particular typeface design and rendering characteristics such as size, weight, style, or width.
Questions about x-height
What is x-height?
X-height is the vertical distance from a typeface’s baseline to the height of its lowercase letters, conventionally represented by the letter x.
Which Manning books explain x-height?
Everyday Data Visualization, Web Design Playground and Web Design Playground, Second Edition.
What should I know before learning x-height?
Manning books that teach x-height usually introduce baseline, sans serif typeface and serif first.
What is the difference between x-height and font-size property?
X-height is the vertical distance from a typeface’s baseline to the height of its lowercase letters, conventionally represented by the letter x. The CSS font-size property specifies the size at which an element’s text is rendered.
What is x-height part of?
X-height is part of font. A font is a set of glyphs with a particular typeface design and rendering characteristics such as size, weight, style, or width.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


