Skip to main content

Type Scale

UI Design

What is a Type Scale

A type scale is a fixed set of font sizes and styles that a product uses for all its text, from large headings to small labels. Instead of choosing sizes one by one, designers pick from the scale, which keeps text consistent and creates clear hierarchy.

How a Type Scale works

  • Roles: Styles named by job, such as display, headline, title, body and label
  • Steps: Each role has sizes, such as large, medium and small
  • Pairing values: Each style sets size, weight and line height
  • Tokens: Styles are stored as design tokens for code

Material Design 3, for example, has 15 styles in five roles.

How to build a Type Scale

Start with a body size, often 16 px, then add larger steps for headings and smaller ones for labels. Some teams use a fixed ratio between steps; others tune sizes by hand. On a single screen, use only a few sizes so the hierarchy stays clear.

Fluid Type Scales

A fluid scale grows between a minimum and a maximum screen width. Tools such as Utopia calculate the sizes, and CSS clamp() applies them.

Frequently asked questions

How many sizes should a type scale have?

Enough roles for the product, but few on any one screen. Material Design 3 defines 15 styles in five roles, from display to label, while NN/g suggests using about three sizes within one design for clear hierarchy.

How do you build a type scale?

Pick a base body size, often 16 px, then define larger and smaller steps for headings, labels and captions, either by hand or with a fixed ratio. Name each step by its role and store it as a design token.

What is a fluid type scale?

A type scale whose sizes grow smoothly between a minimum and a maximum screen width. Tools such as Utopia calculate the values, which are then applied with the CSS clamp() function.