designwithfocus

Type Scale Calculator

Free, instant, no sign-up.

Free No sign-up Runs in your browser
Step 0Heading 16.0px16.00px / 1.000rem
Step 1Heading 20.0px20.00px / 1.250rem
Step 2Heading 25.0px25.00px / 1.563rem
Step 3Heading 31.3px31.25px / 1.953rem
Step 4Heading 39.1px39.06px / 2.441rem
Step 5Heading 48.8px48.83px / 3.052rem

How to use Type Scale Calculator

  1. Enter a base font size and a ratio.
  2. Read the scale from smallest to largest.
  3. Copy the sizes into your stylesheet.

The type scale formula

Each step multiplies the previous size by the ratio. With a base of 16 pixels and a ratio of 1.25, the steps are 16, 20, 25, 31.25 and 39.06 pixels.

Common ratios are 1.25 for a gentle scale and 1.5 for a strong one.

StepSize (px)
Base16
Step 120
Step 225
Step 331.25
Step 439.06

FAQ

What is a type scale?

It is a set of font sizes related by a fixed ratio, so headings and body text sit in proportion.

What ratio should I use?

1.25 is gentle and 1.5 is strong. Pick the one that fits your design.

Does it upload anything?

No. It runs entirely in your browser.

Can I use the scale in CSS?

Yes. Copy the sizes as pixels or convert them to REM.

Report a problem with this tool