Font Size & Spacing Calculator

Check your typography against WCAG 2.1 Success Criterion 1.4.12 — Text Spacing.

px
×
em
em
× font size

WCAG 1.4.12 Compliance

Live Preview
The quick brown fox jumps over the lazy dog. This paragraph demonstrates how your typography settings affect readability. Good spacing helps all users, especially those with cognitive disabilities or low vision. Content should remain readable and functional when these spacing values are applied.

Frequently Asked Questions

What is WCAG 1.4.12?

WCAG 2.1 SC 1.4.12 requires that content adapts when users override text spacing. Line height must support 1.5× font size, letter spacing 0.12em, word spacing 0.16em, and paragraph spacing 2× font size.

Do I need to set these exact values?

No — you need to ensure your layout doesn't break when users apply these values. Your defaults can be different, but the design must tolerate these overrides.

Is my data stored?

No. Everything runs locally in your browser.