Free Typography Scale Generator
Something not working? Report a problem
About the Typography Scale Generator
Pick a base font size and a modular ratio to generate a complete type scale — preview every step rendered live and copy the CSS custom properties, all in your browser.
How to use the Typography Scale Generator
- 1Set your base font size (the body text size, usually 16px).
- 2Choose a modular ratio — larger ratios create more dramatic size jumps.
- 3See each scale step rendered live with its size and line-height.
- 4Copy the generated CSS custom properties and add them to your stylesheet.
Frequently asked questions
What is a modular type scale?
A modular scale multiplies a base size by a fixed ratio for each step. This ensures visual harmony — every heading size is mathematically related to the body text rather than picked arbitrarily.
Which ratio should I use?
Minor Third (1.2) and Perfect Fourth (1.333) are popular for web interfaces. Major Third (1.25) and Golden Ratio (1.618) work well for editorial sites. Smaller ratios look calmer; larger ones are more dramatic.
What do the step numbers mean?
Step 0 is your base size. Positive steps (1, 2, 3…) are larger — used for headings. Negative steps (-1, -2) are smaller — used for captions and helper text.
Is this tool client-side only?
Yes — all computation happens in the browser. Nothing is sent to a server.