Accessibility Tools
100% Client-Side 100% in-browser calculations. Zero external telemetry.

Accessible Font Size & Fluid Typography Calculator

Calculate modular typographic scales, fluid clamp() formulas, and viewing distance minimums

Typography Scale Settings

Base Font Size (Body)16px (1rem)
12px (Small)16px (Standard Default)24px (Large)
WCAG 1.4.4 Text Zoom (Up to 200%)100%
WCAG SC 1.4.4 requires content to be magnified to 200% without loss of content or functionality.
Fluid clamp() Expression
font-size: clamp(0.875rem, 0.616rem + 1.10vw, 1.500rem);

Recommended Optical Viewing Sizes

Phone
Min: 14px
Desktop
Min: 16px
TV Screen
Min: 28px
Presentation
Min: 48px

Modular Scale Hierarchy: Major Third (1.250)

Root = 16px
LevelPixelsREM / EMPoints (pt)Preview (Zoom: 100%)
Caption / xs10.2px0.638rem7.7ptAa Quick Fox
Small / sm12.8px0.8rem9.6ptAa Quick Fox
Body / base16px1rem12ptAa Quick Fox
Lead / md20px1.25rem15ptAa Quick Fox
H4 / lg25px1.563rem18.8ptAa Quick Fox
H3 / xl31.3px1.956rem23.5ptAa Quick Fox
H2 / 2xl39.1px2.444rem29.3ptAa Quick Fox
H1 / 3xl48.8px3.05rem36.6ptAa Quick Fox
Display / 4xl61px3.813rem45.8ptAa Quick Fox

About Accessible Font Size & Fluid Typography Calculator

Generate accessible typography hierarchies conforming to WCAG SC 1.4.4. Includes modular ratio scales, responsive CSS clamp() formulas, and optical viewing distance minimums.

Key Capabilities & Features

  • Modular scale generator (Major Third, Golden Ratio, etc.)
  • Responsive CSS clamp(min, preferred, max) builder
  • WCAG 1.4.4 200% text magnification simulation
  • Optical viewing distance minimums (phone, desktop, TV)
  • Instant CSS snippet copy

How to Use Accessible Font Size & Fluid Typography Calculator

1

Set Base Font

Choose your body font size in pixels (default 16px).

2

Select Scale Ratio

Choose a modular scale (e.g. Major Third 1.250 or Perfect Fourth 1.333).

3

Export Fluid CSS

Copy generated clamp() CSS rules and verify 200% zoom reflow.

Privacy & In-Browser Execution Guarantee

100% in-browser calculations. Zero external telemetry.

Frequently Asked Questions

What does WCAG 1.4.4 require for font sizing?

WCAG 2.1 SC 1.4.4 requires that text can be resized without assistive technology up to 200 percent without loss of content or functionality.

Why should I use rem instead of px in CSS?

Using rem units respects the user browser default font preferences and accessibility zoom settings, whereas hardcoded px values can override user zoom.

How does CSS clamp() work for typography?

clamp(min, preferred, max) sets a minimum size on small screens, scales smoothly using viewport width (vw), and stops at a maximum cap on larger monitors.