Typography Scale Calculator
Generate a modular type scale from a base font size and ratio.
Inputs
px
Results
H1 Size
48.83 px
H2 Size39.06 px
H3 Size31.25 px
Body Size16 px
Body Line Height24 px
Small Text12.8 px
How to Use This Calculator
- Enter the Base Font Size in pixels — typically 16px for body text in web design.
- Enter the Scale Ratio: 1.25 (Major Third), 1.333 (Perfect Fourth), or 1.618 (Golden Ratio).
- Enter the Number of Steps to generate heading levels above the base size.
- Review H1, H2, and H3 sizes in pixels and the recommended Body Line Height.
- Use the scale to set CSS custom properties or design tokens for a consistent typographic system.
How the result changes with Scale Ratio
| Scale Ratio | H1 Size |
|---|---|
| 1.2 | 39.81 px |
| 1.56 | 147.82 px |
| 1.99 | 499.33 px |
| 2.35 | 1,146.73 px |
What each input means
- Base Font Size
- The body text font size that forms the scale's foundation.
- Scale Ratio
- Multiplier between each step. Common: 1.25 (Major Third), 1.333 (Perfect Fourth), 1.618 (Golden).
- Number of Steps
- How many heading levels to generate above the base size.
How this is calculated
Worked example, using the default values
- Identify Input ParametersBase Font Size = 16, Scale Ratio = 1.25, Number of Steps = 6 = 3 input(s) provided
- Calculate H1 SizeH1 Size48.83 = 48.83
- Calculate H2 SizeH2 Size39.06 = 39.06
- Calculate H3 SizeH3 Size31.25 = 31.25
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Graphic Design
Contrast Ratio Calculator
Check WCAG 2.1 contrast ratio between foreground and background colors.
Graphic DesignGrid Layout Calculator
Calculate column widths, gutters, and margins for a design grid.
TypographyResponsive Font Scale Calculator
Fluid type sizes across viewport range.
TypographyFont Pairing Calculator
Compatibility score for heading and body pairings.
TypographyType Specimen Sheet Calculator
Specimen layout metrics from family characteristics.
More in Creative, Media & Design.