PB
Available
code
lock Free · Private · In-Browser

Modular Scale Calculator

Build a harmonious type scale from a base size and ratio.

Type sizes in harmony

A modular scale generates font sizes that relate to each other by a consistent ratio, the same principle behind musical harmony. It brings order and rhythm to typography.

Pick a base size and a ratio, and it produces a scale of sizes above and below the base, in pixels and rem. Ratios like the major third or golden ratio give reliably pleasing results.

Harmonious and private

The scale is generated in your browser, so nothing you enter is uploaded.

Frequently Asked Questions

What is a modular scale?

A set of font sizes derived by repeatedly multiplying a base size by a ratio, giving harmonious, related sizes.

What ratios are common?

The major third (1.25), perfect fourth (1.333), and golden ratio (1.618) are popular choices.

Can I copy the sizes?

Yes. The full scale in pixels and rem is shown and copyable.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward