Type Scale Generator

Create a harmonious typographic scale (major third, perfect fourth, golden ratio…) with CSS variables and fluid clamp() sizes.

Runs instantly in your browser — results update as you type.

How do I choose font sizes for headings?

Pick a base font size (usually 16 px) and a ratio, and each step is the previous size multiplied by that ratio — 16, 20, 25, 31, 39 px with a major third (1.25). The generator previews every step and writes CSS custom properties in rem, optionally as fluid clamp() values.

How to use the Type Scale Generator

    Frequently asked questions

    Why rem instead of px?

    rem respects the visitor’s browser font-size setting, which is better for accessibility.

    What does fluid mean?

    Sizes grow smoothly from 85% on small screens to 100% on wide screens.

    Is it free?

    Yes.