liveBook · Manning

Type scale

As explained in Design for Developers

A type scale is a set of font sizes related by a consistent proportional or mathematical progression.

A type scale is a set of font sizes related by a consistent progression. Start with readable body copy, then size headings and supporting text around it so the interface feels ordered and cohesive. section 8.2.4 section 10.4

Build a practical scale by making these decisions:

  • Set body copy around 16–18px, then express sizes with relative units such as rem or em so users can adjust their browser’s base font size. section 8.2.4
  • Use a calculator to explore proportional scales such as the golden ratio, major third, or perfect fourth, rather than calculating every value manually. section 8.2.4
  • Check the result in the chosen typeface, because the same size can appear larger or smaller across different fonts. section 8.2.4
  • Align typography with a 4pt spacing grid when building vertical rhythm, preserving smaller adjustment steps than an 8pt grid. section 10.4

A simple rem-based ramp

With a 16px base, body text can use 1rem, a subtitle 1.5rem, a title 2rem, a sub-heading 2.5rem, and a main heading 3rem. section 8.2.4

Table 8.2 Px-to-rem values and type ramp equivalents (view table figure)

Px

REM

Type ramp name

16px

1rem

Body (p)

24px

1.5rem

Subtitle (H4)

32px

2rem

Title (H3)

40px

2.5rem

Sub-heading (H2)

48px

3rem

Heading (H1)

Browse the complete px-to-rem type-ramp table for the body, subtitle, title, sub-heading, and main-heading sizes. section 8.2.4

How Design for Developers covers it

How deep it goes
Explains body-size selection, relative units, proportional calculators, font perception, and 4pt-grid alignment without detailing implementation code.
Examples
Uses a 16px-to-3rem ramp, proportional scale calculators, typeface comparisons, and 4pt-versus-8pt grid choices.
What you can do after
Apply it via CSS by choosing a body size, selecting relative heading sizes, testing the typeface, and aligning values with spacing.
How it connects
Connects typography with accessibility, responsive design, CSS, vertical rhythm, and grid systems.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Design for Developers. The section links point to the parts of the book it draws on.