Line Length
UI DesignWhat 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.
Related terms
View all UI Design terms →Typography
Typography is the choice and arrangement of type in an interface. It covers the typeface, size, weight, line height, line length and…
Line Height
Line height is the vertical distance between lines of text . In print it is called leading . It has a big effect on how easy text is to…
Fluid Layout
A fluid layout is a layout that stretches and shrinks with the screen . Widths are set in relative units, such as percentages, instead of…
Type Scale
A type scale is a fixed set of font sizes and styles that a product uses for all its text, from large headings to small labels. Instead of…
Scannability
Scannability refers to how easily users can quickly read and understand content by scanning rather than reading word-by-word. It's the…
