Type Scale
A fixed set of sizes derived from one ratio, so type decisions become selections rather than inventions.
Definition
A type scale is an ordered set of font sizes generated from a base size and a ratio. Restricting the interface to these sizes produces consistent relationships and removes a recurring decision.
Craft convention. True because the industry converged on it. Breaking it costs familiarity, not correctness.
On this page
A working interface scale
Base 16px, ratio 1.25, rounded to whole pixels. Roles are indicative, not prescriptive.
| Token | Size | Line height | Typical role |
|---|---|---|---|
| text-xs | 12px | 16px | Metadata, table captions, legal text. |
| text-sm | 14px | 20px | Secondary text, dense table cells, form hints. |
| text-base | 16px | 24px | Body text. Never smaller for sustained reading. |
| text-lg | 20px | 28px | Lead paragraphs, card titles. |
| text-xl | 25px | 32px | Section headings. |
| text-2xl | 31px | 38px | Page headings. |
| text-3xl | 39px | 46px | Display, used sparingly. |
Practical constraints
- 16px is the practical floor for body text. Smaller sizes trigger zoom on iOS form inputs and fail readability for many users.
- Round to whole pixels for interface sizes. Fractional sizes render inconsistently across platforms.
- Six to eight steps is usually enough. More steps means indistinguishable neighbours and arbitrary choices.
- Pair each size with a line height in the scale, so the two are never chosen independently.
- Define the scale in rem so it respects the user's browser font size setting.
In practice
Different scales for marketing and product
Design systemsMarketing surfaces often use a larger ratio for drama while the product uses a tighter one for density. Both derive from the same base, which keeps them recognisably related.
Sources
Where a source establishes something narrower than the popular reading of it, the note says so.
Understanding Success Criterion 1.4.4: Resize Text
W3C, WCAG 2.1
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Related concept
Connected closely enough to change how you apply this.
- Text ResizeAccessibility
- Design TokensDesign system
- Font SelectionUI foundation
- Font WeightUI foundation
- Letter SpacingUI foundation
- Line HeightUI foundation
- ProportionUI foundation
- ReadabilityUI foundation
- Responsive TypographyUI foundation
- ScaleUI foundation
- Typographic HierarchyUI foundation
- Variable FontsUI foundation