← Back to Guides

Typography Scale Guide: Modular Scales, Ratios & Responsive Sizing

One of the fastest ways to make a website look unpolished is choosing font sizes at random—picking 18px here, 22px there, 35px for an H2, and 44px for an H1. Without a shared mathematical logic, the visual hierarchy feels disjointed and chaotic.

A modular typography scale uses a fixed base size and a consistent mathematical ratio to generate every font size in your design system. Much like musical notes adhering to a harmonized scale, modular type creates an intuitive cadence that guides the reader effortlessly through content.


Understanding Modular Ratios

A modular scale begins with a base size (most commonly 16px, representing 1rem) multiplied repeatedly by a fixed factor. Different design contexts demand different ratios:

Major Second (1.125)Data-Dense Dashboards

Subtle, incremental size steps. Perfect for analytics platforms, SaaS tools, and software interfaces where screen real estate is constrained.

Major Third (1.250)Blogs & Corporate Sites

The most versatile, balanced web ratio. Produces clear distinction between heading tiers without overwhelming standard mobile screens.

Perfect Fourth (1.333)Marketing & Editorial

Pronounced contrast between headings and body copy. Ideal for editorial magazines, landing pages, and storytelling layouts.

Golden Ratio (1.618)High-Impact Hero Displays

Dramatic exponential jumps. Best reserved for minimalist portfolio sites with sparse, bold typography.

A Practical Major Third Scale (Base: 16px)

Here is how a standard Major Third (1.250) scale translates into rem units and pixel equivalents:

ElementSize (rem)Size (px)Line Height
Caption / Small0.80rem12.8px1.4
Body Copy1.00rem16.0px1.5–1.65
H4 Subheading1.25rem20.0px1.4
H3 Section Title1.56rem25.0px1.3
H2 Section Heading1.95rem31.25px1.2
H1 Page Title2.44rem39.06px1.15
Hero Display3.05rem48.8px1.1

Fluid Typography with CSS clamp()

Rather than maintaining jarring step changes between desktop and mobile media queries, modern web development relies on fluid typography using CSS clamp():

/* Fluid H1: Minimum 2rem (32px), scales smoothly with viewport, caps at 3.5rem (56px) */ h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); line-height: 1.15; }

This ensures your headlines scale organically on mobile screens without word overflow or awkward line wraps.

Pairings That Shine With Clear Scales

Scales function best when paired with fonts featuring distinct character widths and weights: