← Back to Tools

Line Height Calculator

Find the ideal line height for your font size. Get values in px, rem, and em with a live preview.

Line height 1.5 meets WCAG AA requirement (minimum 1.5 for body text).
Pixels (px)
24px
Root EM (rem)
1.5rem
Unitless
1.5
font-size: 16px;
line-height: 1.5;
Live Preview

The quick brown fox jumps over the lazy dog. Good typography makes reading feel effortless. Line height affects readability by controlling the vertical space between lines of text, allowing the eye to track naturally from one line to the next without getting lost or feeling cramped.

Line Height Reference

Use CaseRatioWCAGNotes
Headings (H1–H2)1.1 – 1.25N/ATighter leading for large text
Subheadings (H3–H4)1.25 – 1.4N/ASlightly more breathing room
Body text1.5 – 1.6AA PassWCAG minimum 1.5 for body
Long-form / articles1.6 – 1.8AA PassBetter for sustained reading
UI labels / buttons1.0 – 1.2Context-dependentShort single-line strings
Captions / small text1.4 – 1.5AA PassLegibility at smaller sizes
Dyslexia-friendly1.8 – 2.0AAARecommended for accessibility