Back to Journal
·4 min read

Line Length on the Web: Finding a Comfortable Measure

Line length is the most under-discussed variable in web typography — and the easiest one to fix.

LayoutReadability

Measure is the horizontal length of a line of text. Designers often discuss it in characters or glyphs per line, but there is no single count that suits every typeface, language, viewport, or reading task. A range around 45 to 75 characters is sometimes used as an editorial starting point; treat it as a prompt to inspect the page, not as a research-backed threshold or a guarantee of comprehension.

What Happens Inside the Reader

Readers move their eyes across lines and then return to the start of the next one. A line that is very wide can make that return harder to locate; a very narrow measure can create frequent line breaks and a long vertical column. These effects depend on the text, typeface, spacing, and reader, so use the number as a starting point and judge a complete passage rather than a single line in isolation.

Short lines can also change the reading experience: they may increase the number of line breaks, make prose feel fragmented, or leave little room for a sentence to develop. In a narrow phone column, that trade-off may be necessary. In a multi-column layout, each column needs to be judged with its font size and line-height, not compared with a desktop paragraph using the same raw character target.

Setting Measure on the Web

The CSS ch unit is based on the advance measure of the U+0030 digit zero in the font used to render it. It is a useful width unit, not a literal character counter: letters have different widths, and the result changes with the font and writing system. Try a max-width such as 60ch or 65ch, then inspect actual wrapping in your chosen typeface and adjust it for the content and viewport.

max-width: 65ch is a useful starting point. The right measure is the one that keeps this text comfortable to follow in its actual typeface and layout.

Measure Changes With Type

A ch value can make a container respond to the font's metrics, but it cannot promise a particular number of characters on each line. A condensed face may fit more letters than a wide face at the same width. Check the rendered copy, and repeat that check when you change the font, weight, size, or language. For longer passages, also confirm that users can resize text without losing content or functionality.

Line-height and measure work together. A tighter line-height may make the next line harder to find in a wide paragraph, while a very open line-height can separate short lines too much. Values around 1.4 to 1.6 are common starting experiments for body text, not requirements. Test the combination with real paragraphs, headings, and links at the sizes your layout will use.

Exceptions Worth Knowing

WCAG 2.2 Success Criterion 1.4.8 (AAA) includes a specific text-presentation condition: a mechanism must be available so the line width is no more than 80 characters or glyphs, or 40 for CJK text, alongside other presentation options. This is a customization criterion, not evidence that 80 is an ideal default or that 45 to 75 is a universal range.

Code samples, tables, and other structured content have different constraints from prose. Preserve code formatting and provide a way to reach wide lines on small screens. For data tables, consider column labels, alignment, and whether the table can be scrolled or reflowed without losing the relationship between values.

Headlines and short labels can use a wider or narrower measure for visual emphasis. That choice is part of the composition; it does not establish a suitable width for the explanatory copy below it. Check each text role on its own, especially at the narrowest supported viewport.

A Simple Audit for Any Site

For a simple audit, open a long passage at a common desktop width and a narrow mobile width. Inspect several paragraphs, count the approximate characters per line if that helps you compare layouts, and note whether your eye can find the next line without effort. Then adjust the container and line-height together and read the same passage again. Do not treat one count as proof that readers will finish more often.

The Reading Length Optimizer on this site previews a sample inside a chosen ch width. Use it to compare wrapping, then check the final page in the actual font and responsive layout. The preview does not calculate a guaranteed characters-per-line result, so your browser view remains the useful reference.

Compare a wide and constrained measure

Compare a wide and constrained measure
Before

The paragraph stretches across the entire desktop canvas.

After

The text column has a tested maximum width while the page shell retains room for other content.

Treat the example as a starting point and test it with the typeface, content, and audience of the page.

A Practical Pattern

A small implementation example
css
.article-copy {
  inline-size: min(100%, 68ch);
  margin-inline: auto;
  line-height: 1.65;
}

Replace the illustrative values with the typeface, content, and browser targets used by your project.

Review Checklist

  • Check width with the actual family and size.
  • Resize through narrow and intermediate viewports.
  • Try enlarged text and spacing overrides.
  • Review headings and code as separate text roles.

Sources and further reading