Skip to content →
Glossary · Typography & design systems

Modular scale

Noun. A sequence of values produced by repeatedly multiplying a base value by a fixed ratio. Each step in the sequence relates to the previous step by the same multiplier, producing values that share an underlying mathematical relationship. Used in typography to derive type sizes, in design systems to derive spacing tokens, and in classical architecture to derive proportional dimensions.

Common ratios

  • Golden ratio (1.618): 16, 26, 42, 68, 110… — produces a "natural" feeling sequence.
  • Perfect fourth (1.333): 16, 21, 28, 38, 51… — gentler scale, common in body-heavy designs.
  • Perfect fifth (1.5): 16, 24, 36, 54, 81… — bold contrast, common in marketing.
  • Major third (1.25): 16, 20, 25, 31, 39… — subtle scale for dense UI.
  • Augmented fourth (1.414): 16, 23, 32, 45, 64… — based on √2, used in classical book design.

Origin

The modular scale concept is older than typography software. Robert Bringhurst formalised the idea for type in The Elements of Typographic Style (1992), drawing on classical architectural proportion (Vitruvius, Palladio, Le Corbusier's Modulor). Tim Brown's modularscale.com tool (c. 2010) made it accessible to web designers; today most design systems (Material's type scale, Tailwind's text scale, Carbon's productive type scale) implement modular scales.

In design systems

A type scale derived from a modular scale produces sizes that feel coherent without requiring per-size aesthetic judgment. The same logic applies to spacing scales — though the 8pt grid and modular scales coexist uneasily, since 8pt requires integer multiples and modular scales produce non-integer values that get rounded.

Choosing a ratio for your project

The ratio determines how aggressive the scale is. A small ratio (1.125, 1.2, 1.25) produces sizes that grow slowly — heading is just a bit larger than body, second heading is just a bit larger than first. Used for content-dense interfaces where many hierarchy levels need to coexist without dramatic size jumps. A large ratio (1.5, 1.618, 2.0) produces dramatic size jumps — display heading dwarfs body text. Used for marketing pages, magazine-style editorial layouts, and any context where strong hierarchy needs to read from across a room. Most product UI work uses 1.25 or 1.333; most marketing work uses 1.5 or 1.618.

Pairing modular scales with the 8pt grid

The friction is real: modular scales produce non-integer values that get rounded for actual rendering, and the rounding sometimes lands off the 8pt grid. The pragmatic solution is to round each scale step to the nearest 8pt-grid value rather than to whatever the pure mathematics produces. The visual rhythm of the scale is preserved (each step is still meaningfully larger than the previous one), and the 8pt-grid coherence is preserved. The cost is that the pure modular-scale ratio is no longer exact; the benefit is that the entire system stays internally consistent.

See also

Definition

A modular scale is a sequence of type sizes (or spacing values, or any quantitative design property) generated by repeatedly multiplying a base size by a fixed ratio. The most common ratios are the major second (9:8), minor third (6:5), major third (5:4), perfect fourth (4:3), augmented fourth (1:√2), perfect fifth (3:2), the golden ratio (1:1.618), and the major sixth (5:3). A base size of 16px with a perfect-fourth ratio produces 16, 21.3, 28.4, 37.9, 50.5, 67.4… — a typographic scale that climbs proportionally rather than arithmetically. The resulting hierarchy reads as harmonious because each step has the same proportional relationship to the one below.

A modular scale at perfect-fourth ratio (4:3). Each step is multiplied by 1.333; sizes climb proportionally not arithmetically.

Etymology and origin

The modular scale comes to design through music — the same ratios underwrite the equal-temperament Western scale. Robert Bringhurst's The Elements of Typographic Style (1992) popularised the system for typography by mapping musical-interval ratios onto type-size sequences. Tim Brown's Modular Scale web tool (2011) gave web designers a parametric implementation, and Tailwind CSS's default type scale (2017) bakes the principle into a default design-system convention. Earlier antecedents include Le Corbusier's Modulor (1948), Müller-Brockmann's Swiss-school grid systems (1961), and the harmonic proportions of classical architecture going back to Vitruvius.

In practice

Web designers set a base font-size (typically 16-18px) and a ratio (typically 1.125 to 1.5) and derive 6-9 step sizes for every text role: caption, body, lead, h6, h5, h4, h3, h2, h1, display. The same scale generates spacing values (margins, padding, gap). The result is a typographic system where every measurement has a proportional relationship to every other — a constraint that prevents the visual cacophony of arbitrary point sizes. Tailwind, Material Design, and most modern design systems implement a modular scale by default.

Sources

  • Bringhurst, Robert. The Elements of Typographic Style. Hartley & Marks, 1992 (rev. 2012).
  • Brown, Tim. Modular Scale. Web tool + writings, 2011 onward. modularscale.com.
  • Müller-Brockmann, Josef. Grid Systems in Graphic Design. 1961.