Marcus Andrey Study
Ler em português Library

Visual design · Step 2 · 7 min read

Type scale, line height and measure

A type scale gives an interface its vertical rhythm: a fixed multiplier produces the right number of sizes without chaos. Add line height and line measure and you have the three numbers that control how text reads.

The typeface family is chosen. Now comes the scale: how many sizes, with what step.

What you'll be able to do after reading:

  • Build a type scale from a base and a step multiplier
  • Set line height for headings, body and labels
  • Use the ch unit to control line measure
  • Read Gale's eight-step scale and explain each size

1. What a type scale is

A type scale (escala tipográfica) is a fixed sequence of sizes. Each size in the sequence is the previous one multiplied by the same number — the step (step da escala).

You could pick sizes at random: 11, 15, 22, 31. The result works, but deciding every size as a separate choice is slow, and the sizes won't feel related.

A scale gives you a small set of sizes that share a ratio and produce a visual rhythm. When you use sizes from the same scale, headings, body text and labels relate to each other. When you don't, they look like they come from different products.

The scale doesn't fix every decision — you still choose which size goes to body text, which to labels, which to headings. But you choose from a pre-approved list, not an open field.

Build a type scale in UX Foundations shows how to build one from scratch. This lesson picks up from there and goes into the decisions a production interface requires.


2. Base and step

A scale starts with two numbers:

Base — the size you read body text at. For Gale Console, it is 16 px. That is the standard browser default (MDN, font-size) and a safe starting point for screen reading. At 16 px, body text in a 60–75 character line is comfortable to read without zooming.

Step — the multiplier between consecutive sizes. Gale uses approximately 1.25, which is the Major Third ratio from classical music theory, adapted for type scales. It is a moderate step: not so large that sizes feel disconnected, not so small that they look identical.

A step of 1.25 from a 16 px base gives you: 16 × 1.25 = 20, 20 × 1.25 = 25 (round to 24), 24 × 1.25 = 30 (round to 32), and so on. Going down: 16 / 1.25 ≈ 12.8 (rounded to 14, preferred for legibility), 14 / 1.25 ≈ 11.

Gale's resulting scale: 11 · 12 · 14 · 16 · 20 · 24 · 32 · 40 px. Eight sizes. The 12 px slot is a practical addition for the densest table cells in Gale Console, not a pure 1.25 step.

Gale's type scale: eight sizes from 11 px to 40 px, step ≈ 1.25. The 16 px base (highlighted in blue) is the body text size. The 11 and 12 px slots serve the densest table contexts; the 40 px slot is for Gale Ops large-screen readouts. Diagram: Marcus Andrey, CC BY 4.0.

Each size in the scale has a role:

Size Role in Gale
11 px Column headers in the densest table cells
12 px Supporting labels, secondary metadata
14 px UI labels, table cell body text
16 px Standard body text, form fields
20 px Section headings, card titles
24 px Page headings
32 px Prominent headings, dashboard KPI labels
40 px Hero numbers, Gale Ops large readout

3. Line height: the breathing room

Line height is the vertical space from the baseline of one line to the baseline of the next. Too little and lines feel crowded. Too much and the reader loses the next line after a long horizontal travel.

Three line heights cover the cases:

1.2 for headings. Short lines that are rarely more than one line. Tight line height makes them feel intentional and compact.

1.5 for body text. Comfortable for reading a full paragraph. The extra half-line of breathing room gives the eye room to track.

1.33 for labels and table cells. A middle value: more compact than body but still readable at the small sizes (11–14 px) where labels live.

Gale uses exactly these three values. In CSS:

.heading { line-height: 1.2; }
.body    { line-height: 1.5; }
.label   { line-height: 1.33; }

Using unitless multipliers (1.2, not 1.2em or 24px) means the line height scales with the font size automatically, without overrides.


4. Measure: how wide the text runs

Measure is the line length. A line that runs too long makes the eye lose its way back to the start of the next line — that is what costs readability (leiturabilidade: the ease of reading a whole block of running text; different from legibility, which is about individual characters).

The useful CSS unit for measure is ch. One ch is the width of the 0 character in the current typeface and size. It scales automatically with font size, so a rule like max-width: 68ch holds a comfortable 65–70 character line across all sizes without media queries.

In Gale's design, the main reading column is capped at 68 ch. Table cells and labels are constrained by the column width, not by a ch rule — the data determines the width there.

Context Practical rule
Body paragraphs max-width: 65–70ch
Short UI labels No constraint needed
Table cells Column width, not ch
Narrow viewports Allow shorter lines; keep the font size

Rule of thumb: "Aim for an average line length of 45–90 characters" (Butterick's Practical Typography, Line length). The lower end of that range (around 55) is comfortable for dense-data contexts where you switch between reading and acting. The upper end (70–80) works for documentation or long-form reading.


5. Gale's scale in a production context

Gale Console is dense. The smallest text — 11 px column headers — runs at exactly the minimum where Inter still keeps characters readable. The 12 px size covers the next-densest case. The 14 px size does most of the UI's work: labels, cell content, field hints.

40 px serves a specific use: the large numbers in Gale Ops (control-room operator, reading data from across the room). Those numbers need to be visible at 2 metres. The step between 32 and 40 is exactly 1.25: 32 × 1.25 = 40.

A key principle: the scale exists so you stop making per-element size decisions. When a designer asks "should this be 15 px or 16 px?", the answer is not a debate — 16 px is in the scale, 15 px is not.

The scale exists. The next step is the details that add up: weight, numbers and letter spacing.


6. Common mistakes

  • Setting line height in px or em, so it stops scaling with font-size changes.
  • Using more than 8–10 scale sizes in a single product — the extras are either redundant or unmaintained.
  • Picking a step so large (1.618 or more) that the gap between body text and the smallest label is too big for a dense product.
  • Letting table cell widths define everything and never constraining body text measure.

7. Vocabulary

Term Meaning
Type scale A sequence of sizes with a fixed step multiplier between them.
Step The multiplier between consecutive sizes in a type scale (Gale: ≈ 1.25).
Readability The ease of reading a block of running text. Different from legibility (which is about individual characters).

8. Try it

  1. Take any app or website on your desktop. Open dev tools and find the body text's font-size and line-height.
  2. Find the next larger size used (a card title or section heading). Divide it by the body size. What is the step?
  3. Find the smallest text. Is the step consistent going down, or did the designer pick an arbitrary small size?
  4. Open the page at 390 px. Does the body text keep a readable measure, or does it stretch edge to edge?

Write down: how many distinct sizes do you count on the page? Above 10 is usually a sign of an unmaintained scale.


9. If you already practise

  • Run the same audit on a product you design. If sizes are not on a clear step, that is a good argument for introducing a scale.
  • Try setting body text to max-width: 68ch and see which column widths break. Those columns are probably too wide.
  • Gale's 11 px minimum is aggressive. For a product without that density requirement, the minimum is usually 12–13 px for body text.

Checklist

Learn more

Books, courses and videos to go deeper

  • Practical TypographyMatthew ButterickBook · online, practicaltypography.com, updated edition
  • Web TypographyRichard RutterBook · Five Simple Steps, 2017

Choosing typefaces for UI · Weight, tabular figures and fine details · Build a type scale

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close