Enter the dimensions or quantities using the units beside each field.
Adjust the production assumptions and check the live breakdown.
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.
Input
Example value
Base size (px)
16
Assumed root size (px)
16
Scale ratio
Major third · 1.25
Steps below the base
2
Steps above the base
5
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.
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.