UX Foundations · Step 6 · 7 min read
Typography for interfaces
Most of an interface is text, so typography is most of its design. Body size, line length, line height, a type scale for headings, system fonts versus brand fonts, and the WCAG text-spacing rule, with starting numbers you can use today.
Interfaces are mostly words. Labels, buttons, messages, prices, dates: take the text away and very little is left. That makes typography the biggest visual decision you make, and the good news is that it runs on a few numbers. Choose a comfortable body size, keep lines a readable length, give them room to breathe and build headings from a simple scale.
What you'll be able to do after reading:
- Choose a body text size for screens
- Keep line length and line height in a comfortable range
- Build a type scale from a base size and a ratio
- Decide between system fonts and a brand font
- Explain what WCAG's text spacing rule asks for
1. Four numbers to start with
A safe start for body text on screens.
Practical Typography: 15 to 25 pxLong lines tire the eye; short ones break the flow.
Bringhurst: about 66 is idealSpace between lines, as a multiple of the size.
Body text likes the upper endEach size is the one below times a fixed number.
Five or six steps are enough| Number | Starting point | Source |
|---|---|---|
| Body size | 16 px on the web is a safe default; Butterick recommends "body text of 15–25 pixels" | Butterick's Practical Typography, Point size |
| Line length | "Aim for an average line length of 45–90 characters, including spaces" | Practical Typography, Line length |
| Line height | "between 120% and 145% of the point size" | Practical Typography, Line spacing |
| Scale | Each heading size is the one below times a fixed ratio | See section 4 |
Platforms give similar numbers. Modern browsers default to 16 px, and Material Design 3 converts its sizes from that base (Material Design 3, Type scale). Apple's Human Interface Guidelines list 17 pt as the default body size on iOS and iPadOS, with 11 pt as the minimum (Apple HIG, Typography).
2. Line length: the most common problem
Long lines are tiring because the eye has to travel back across the page and find the next line. Butterick puts it plainly: "Shorter lines are more comfortable to read than longer lines." Robert Bringhurst's classic rule is stricter: "Anything from 45 to 75 characters is widely regarded as a satisfactory length of line", with 66 "widely regarded as ideal" (quoted in Rutter, The Elements of Typographic Style Applied to the Web). Material Design 3 asks designers to keep text "between 40–60 characters per line" across screen sizes (Material Design 3, Spacing).
The numbers vary, but the advice is the same: on wide screens, limit the width of text. Butterick's quick check is the "alphabet test": two to three alphabets (52 to 78 characters) should fit on one line.
3. Line height and text spacing
Body text needs more space between lines than headings do. For body text on screens, aim for the top of Butterick's range or slightly above, about 1.4 to 1.5; large headings can be tighter (around 1.1 to 1.25), because big letters already have a lot of space between lines. (These values are this course's advice, not a standard.)
WCAG adds a rule about what people may change. Success criterion 1.4.12 Text Spacing (level AA) says nothing may break when a user sets line height to at least 1.5 times the font size, spacing after paragraphs to 2 times, letter spacing to 0.12 times and word spacing to 0.16 times (WCAG 2.2). It doesn't force those values on your design; it forbids designs that break (clipped text, overlapping lines) when someone with low vision or dyslexia increases them. Related: 1.4.4 Resize Text asks that text can be resized "up to 200 percent without loss of content or functionality". The practical lesson: never give text boxes fixed heights.
4. A type scale
A type scale is a short list of allowed sizes, made by multiplying a base size by a ratio. Tim Brown described this idea for the web as a "modular scale": "a sequence of numbers that relate to one another in a meaningful way" (Brown, More Meaningful Typography, A List Apart, 2011).
Worked example: base 16 px, ratio 1.25.
| Step | Calculation | Size (rounded) | Use |
|---|---|---|---|
| -1 | 16 ÷ 1.25 | 13 px | Captions, helper text |
| 0 | 16 | 16 px | Body |
| 1 | 16 × 1.25 | 20 px | Small headings |
| 2 | 16 × 1.25² | 25 px | Section headings |
| 3 | 16 × 1.25³ | 31 px | Page title |
| 4 | 16 × 1.25⁴ | 39 px | Display, rarely |
Smaller ratios (1.2) suit dense apps; larger ones (1.333) suit marketing pages with few headings. NN/g's advice to use about three sizes on a screen still applies: the scale is a menu, not a list you must use all at once (Visual hierarchy). You'll build one in the lab Build a type scale.
5. System fonts or a brand font
| System fonts | Brand font | |
|---|---|---|
| What | The platform's own UI typeface: San Francisco on Apple platforms, Roboto as Material's default | A typeface chosen for the product's identity |
| Pros | Already installed, fast, familiar, built for small sizes, support for many languages and Dynamic Type | Recognisable, expresses personality |
| Cons | Looks like every other app | Loading time, licensing cost, may lack weights or languages |
| Good for | Dense product screens, settings, forms | Headings, marketing pages, onboarding |
A common middle path is Material's own split: a "brand" typeface for large styles like Display and Headline, and a "plain" typeface for Body and Label, "to focus on readability" (Material Design 3, Type scale). Whatever you pick, test it with real content: numbers, long words and accented letters (ã, ç, é).
6. Common mistakes
- Body text below 14 px to "fit more in".
- Paragraphs that run the full width of a desktop screen.
- Too many sizes and weights, so the hierarchy blurs.
- Light grey, thin text that looks elegant and is hard to read.
- Fixed-height text boxes that clip when text grows or is translated.
7. Vocabulary
| Term | Meaning |
|---|---|
| Body text | The main running text |
| Line length (measure) | Characters per line |
| Line height (leading) | Vertical distance between lines |
| Type scale | A short set of sizes built from a base and a ratio |
| System font | The typeface the operating system uses for its own interface |
8. Try it (no tools needed)
- Open an article on your phone and on a computer. Count the characters, including spaces, in one line on each. Which one falls between 45 and 75?
- Pick a screen with a lot of text. Write down how many different sizes you can see. Could it work with three?
- On paper, rewrite one heading and paragraph from that screen at a better size and line length.
Reflection questions: Where did long lines make you lose your place? Which screen used too many sizes, and which would you remove?
9. If you already practise
- Define text styles as tokens (size, line height, weight together) rather than loose sizes; see Design tokens.
- Test with the system's largest text setting (Dynamic Type on iOS, font size on Android) and with 200% browser zoom.
Checklist
Learn more
- Matthew Butterick, Practical Typography (free online): Point size · Line length · Line spacing
- W3C: Understanding SC 1.4.12 Text Spacing (WCAG 2.2, 2023, updated 2024)
- Platforms: Apple HIG, Typography · Material Design 3, Type scale tokens
- Tim Brown, More Meaningful Typography (A List Apart, 2011)
Books, courses and videos to go deeper
- The Elements of Typographic StyleRobert BringhurstBook · Hartley & Marks, 1992; later editions
- Thinking with TypeEllen LuptonBook · Princeton Architectural Press, 2004; later editions
Related
Visual hierarchy · Build a type scale · Colour and contrast · Design tokens · Accessibility fundamentals