Every Drawer
All tools

Type Scale

Generate a scale of heading and text sizes from one base size and a ratio, as CSS variables in rem.

How it works

Generate a scale of heading and text sizes from one base size and a ratio, as CSS variables in rem.

  1. Set the size of your Normal text.
  2. Choose a ratio in Steps.
  3. Press Copy to take the CSS code.

Good to know

What is a type scale?

It’s a set of text sizes that each grow by the same ratio, so headings and body text look balanced. Pick the ratio in Steps.

Which ratio makes bigger jumps between sizes?

A bigger ratio gives bigger jumps. They run from Tiny steps (1.067) up to Golden (1.618), with Gentle (1.2) and Medium (1.25) in between.

More like this