About the Type Scale Calculator
Build a modular type scale from a base size and ratio, in px and rem.
Also known as: modular scale calculator, font size scale, typography scale, heading size calculator.
How to use this calculator
- Enter base font size, scale ratio, steps above the base, root font size and the other fields.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
size = base × ratio^step
Worked example
Using the values pre-filled in the calculator above:
- Base font size = 16 px
- Scale ratio: Major third (1.25)
- Steps above the base = 5
- Root font size = 16 px
the calculator returns:
- Scale ratio: 1.25 ×
- Base size: 16 px
- Largest size: 48.83 px
- Smallest size: 10.24 px