Design & colour

Typography scale calculator

Build a modular type scale around a base font size.

Typography scale calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

For each integer step, size = base × ratio^step. Shows pixel sizes and rem equivalents using your chosen root size. This is a scale exploration; it does not choose accessible font sizes or line heights for a specific design.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Base font size (px)
16
Scale ratio
1.25
Steps each side of base
5
Root font size for rem (px)
16

Example result

First 5 rows of the example result
StepPixelsRem
-55.242880.32768
-46.55360.4096
-38.1920.512
-210.240.64
-112.80.8