UX Foundations · Labs · 3 min read
Build a type scale
A guided lab: choose a base size and a ratio, build a scale of five or six text sizes with line heights, apply it to one real screen and test it on a phone at arm's length. About an hour, with paper, a calculator and any notes or text app.
A type scale is the smallest design system you can build. Five or six sizes, chosen once, will make every screen you design more consistent. You'll build one from a base size and a ratio, then do the part most people skip: check it on a real screen, in your hand.
What you'll do:
- Choose a base size and a ratio
- Calculate five or six steps and round them
- Give each step a name, a line height and a job
- Apply the scale to one screen and test it on a phone
You'll need: paper, a calculator (your phone's is fine), a phone or computer with a notes or text app, about an hour.
1. Choose the base and the ratio
The base is your body text size. On the web, start with 16 px (see Typography for interfaces).
The ratio decides how fast sizes grow. Three common choices, named after musical intervals:
| Ratio | Name | Feels | Good for |
|---|---|---|---|
| 1.2 | Minor third | Calm, small steps | Dense apps, dashboards, forms |
| 1.25 | Major third | Balanced | Most products |
| 1.333 | Perfect fourth | Bold, big jumps | Marketing pages, few headings |
Pick one. If you're unsure, take 1.25.
2. Calculate the steps
Multiply up from the base for headings and divide once for small text. Write the table on paper:
| Step | Name | Calculation (16, ×1.25) | Exact | Rounded |
|---|---|---|---|---|
| -1 | Caption | 16 ÷ 1.25 | 12.8 | 13 |
| 0 | Body | 16 | 16 | 16 |
| 1 | Heading 3 | 16 × 1.25 | 20 | 20 |
| 2 | Heading 2 | 20 × 1.25 | 25 | 25 |
| 3 | Heading 1 | 25 × 1.25 | 31.25 | 31 |
| 4 | Display | 31.25 × 1.25 | 39.06 | 39 |
Round to whole pixels. Some teams round to even numbers or multiples of 4 to fit their spacing scale; that's fine, as long as every step stays clearly bigger than the one below.
Tip: if the caption step comes out below 12 px, don't use it for anything people must read. Use body size and a lighter colour instead (and check the contrast, see Colour and contrast).
3. Add line heights and jobs
For each step, add a line height and one sentence about when to use it:
- Body and caption: about 1.5 × the size (16 → 24 px). Long text needs room.
- Headings: tighter, about 1.2 to 1.3 (31 → about 40 px).
- Round line heights to a multiple of 4 if your spacing scale uses 4 or 8 (Layout, grids and spacing).
Write the job in plain words: "Heading 2: section titles on a page."
4. Apply it to one real screen
Pick one screen you know well, for example the Redesign a form screen from the previous lab, or an app's settings page. Rewrite its text using only your scale: page title, section headings, labels, body, helper text. Aim for about three sizes on this screen (Visual hierarchy): labels and helper text can share a step with body or caption.
Then type the same text into a notes or text app on your phone, using sizes as close to your scale as the app allows.
Optional, with Figma: set up your steps as text styles and apply them to a phone frame; preview it on your phone with the Figma mobile app.
5. Test it on a real screen
Hold the phone at a normal reading distance, then at arm's length:
- Can you tell the heading levels apart at a glance?
- Is body text comfortable to read for a full paragraph?
- Does any step look almost the same as its neighbour?
- Squint: does the page title still win?
Change one thing (the ratio, or the rounding) and test again. Write down what you changed and why.
6. Check your work
Reflection questions: Which ratio felt right for your screen, and why? Which step did you never use? Would you remove it?
Related
Typography for interfaces · Visual hierarchy · Redesign a form · What a design system is · Design tokens