Everyday tools ↗

Design & print / FREE BROWSER TOOL

Typographic scale generator.

Build a modular size scale in pixels and rem, then download CSS custom properties for your design.

YOUR EVERYDAY DESKKeep your
next task close.
Switch between tools ↗
Typographic scale generator
See result ↓● Live result
01 / YOUR INPUTS

Processed on this device.

02 / YOUR RESULT

Your answer

ON YOUR DEVICE

Your result will appear here.

Adjust a field to calculate.

LOCAL INPUTS / CLEAR WORKING / USEFUL OUTPUTNothing to sign in to.

Built and maintained by Operance Labs · Report a calculation or documentation issue

A LITTLE KNOW-HOW

How to use
this tool.

  1. Enter the dimensions or quantities using the units beside each field.
  2. Adjust the production assumptions and check the live breakdown.
  3. Copy the result or download the provided guide or settings file.

What the inputs mean

Base size (px)
Enter base size (px). Minimum: 1. Maximum: 300.
Assumed root size (px)
Enter assumed root size (px). Minimum: 1. Maximum: 200.
Scale ratio
Choose Major second · 1.125, Minor third · 1.2, Major third · 1.25, Perfect fourth · 4/3, Augmented fourth · √2, Perfect fifth · 1.5, Golden ratio approximation · 1.618, Custom ratio.
Custom ratio
Enter custom ratio. Minimum: 1.001. Maximum: 3.
Steps below the base
Enter steps below the base. Minimum: 0. Maximum: 8.
Steps above the base
Enter steps above the base. Minimum: 0. Maximum: 12.
A WORKED STARTING POINT

See the working.

Inputs used in this example

These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.

InputExample value
Base size (px)16
Assumed root size (px)16
Scale ratioMajor third · 1.25
Steps below the base2
Steps above the base5

Largest scale step

48.828125 px

Size at step n = base size × ratio^n; rem = pixels ÷ root pixels

  • Ratio 1.25; 2 steps below and 5 above the base.
  • The download defines CSS variables only; it does not alter this page or set a user’s root font size. Check readability and reflow at the final sizes.

Your inputs stay here

Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.

Methods and public data ↗

Keep a useful
thing close.

All design & print ↗

Questions, answered.

What can I do with typographic scale generator?

Build a modular size scale in pixels and rem, then download CSS custom properties for your design.

What does the typographic scale generator example show?

With Base size (px): 16; Assumed root size (px): 16; Scale ratio: Major third · 1.25, the example returns 48.828125 px. The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.

What should I check before using the result?

Ratio 1.25; 2 steps below and 5 above the base. The download defines CSS variables only; it does not alter this page or set a user’s root font size. Check readability and reflow at the final sizes.