Typographic Scale Calculator
Generate a modular type scale from a base size and ratio.
About the Typographic Scale Calculator
Generates a harmonious set of font sizes (a modular scale) by repeatedly multiplying a base size by a chosen ratio such as 1.25 (major third) or 1.618 (golden ratio).
$$ size_n = base \times ratio^{\,n} $$
How to use
Enter the base font size and a scale ratio, then click Generate.
Worked example
16px base × 1.25 ratio → 16, 20, 25, 31.25, 39 px …
How to use this calculator
- Enter your base font size.
- Choose a scale ratio such as 1.2, 1.25, or 1.333.
- Pick how many steps up and down you want in the scale.
- Generate the scale and copy the sizes you need.
The formula explained
$$ \text{size}_n = \text{base} \cdot \text{ratio}^n $$
- \(\text{size}_n\) = the font size at step n
- \(\text{base}\) = the starting font size
- \(\text{ratio}\) = the multiplier applied each step
- \(n\) = the step number, where 0 is the base size
Step by step method
- Start with the base size as step 0.
- Multiply the base by the ratio for each step above the base.
- Divide by the ratio for each step below the base, or use negative step numbers in the formula.
- Round the results only if you need cleaner values for design work.
Worked example
For a design system with a 16 px base size and a 1.25 ratio, here is a short modular scale around the base.
- Use \(\text{size}_0 = 16 \cdot 1.25^0 = 16\).
- One step up is \(\text{size}_1 = 16 \cdot 1.25^1 = 20\).
- Two steps up is \(\text{size}_2 = 16 \cdot 1.25^2 = 25\).
- One step down is \(\text{size}_{-1} = 16 \cdot 1.25^{-1} = 12.8\).
Answer. The modular type scale is 12.8 px, 16 px, 20 px, and 25 px for the steps shown.
Tips and common mistakes
- Choose a ratio that matches the tone of the design. Smaller ratios feel subtle, while larger ratios create stronger contrast.
- Keep the base size tied to your body text, since that is usually the most readable starting point.
- Generate a few steps in both directions so you have sizes for captions, headings, and display text.
- If the numbers feel awkward, round them carefully, but check that the overall scale still looks balanced.
Frequently asked questions
What is a modular scale?+
A sequence of sizes related by a constant ratio, giving visual harmony.
Which ratio should I use?+
1.2 (minor third) for subtle scales, 1.333 or 1.618 for more dramatic hierarchy.
More Tech Tools Tools
Explore related calculators in this category
AI API Cost Calculator
Estimate LLM API cost from input/output tokens and per-token prices.
Accessible Color Pair Finder
Check if a text/background pair meets WCAG and suggest a fix. Free tool with instant calculations, the underlying formula, and an easy-to-follow example.
Barcode Generator
Generate Code 128 / EAN barcodes from your data.
Browser Info Detector
Show details about your browser, OS and screen.
You Might Also Like
Popular tools from other categories
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.