Skip to main content

Line Length

UI Design

What is Line Length

Line length, also called the measure, is the width of a line of text, usually counted in characters per line. It affects readability. On long lines, the eye struggles to find the start of the next line.

Recommended Line Length

  • Baymard Institute: 50 to 75 characters
  • Butterick's Practical Typography: 45 to 90 characters
  • Print research: 45 to 75 characters, with 66 often called ideal
  • WCAG 1.4.8 (AAA): No more than 80 characters

How to control Line Length

Set a max-width on text containers in font-relative units, such as about 70ch or 34em in CSS. On wide screens, add margins or columns rather than stretching text across the page. Short text, such as captions, can use narrower lines.

Why Line Length matters

Lines that are too long tire readers and make them lose their place. Lines that are too short break the rhythm with constant line breaks. Getting the measure right is one of the simplest ways to make product descriptions and articles easier to read.

Frequently asked questions

What is the ideal line length for body text?

Sources vary slightly. Baymard recommends 50 to 75 characters, Butterick 45 to 90, and print research commonly cites 45 to 75 with 66 as ideal. All agree that very long lines are harder to read.

How do you limit line length in CSS?

Set a max-width on the text container in font-relative units, for example around 70ch or 34em, as Baymard suggests, and adjust for the font you use.

What does WCAG say about line length?

WCAG 1.4.8, a level AAA criterion, says lines should be no longer than 80 characters, or 40 for Chinese, Japanese and Korean text.