Skip to content
Local

Design

Type Scale Generator

Build a modular type scale from a base size and a ratio, including the golden ratio, preview it and copy the CSS variables.

Runs in your browser. Nothing leaves this device.

How to use Type Scale Generator

  1. 1Type a base size and pick a ratio.
  2. 2Choose how many steps up and down you want.
  3. 3Check the preview and copy the CSS variables.

Questions

What is a modular scale?

Each size is the one below it times the same ratio. With a 16px base and a 1.25 ratio you get 16, 20, 25, 31.25 and so on, which keeps headings in proportion.

Which ratio should I pick?

Small ratios like 1.125 or 1.2 suit dense apps with many levels. Larger ones like 1.333 or the golden ratio give bigger jumps for pages with a few large headings.

What does the golden split do?

It divides a length into two parts where the whole is to the larger part as the larger is to the smaller, about 61.8% and 38.2%. It is handy for column widths.

Is anything saved or sent?

No. Everything is worked out in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc