designwithfocus

Typography

What Is Line Length? Characters on One Line of Text

By Design With Focus Team 7 min read
A paragraph column with a character count marked along one line of text

Short answer

Line length is the number of characters or glyphs on one line of text, also called the measure. WCAG 2.2 says a mechanism should be able to keep that width to 80 characters, or 40 for Chinese, Japanese, and Korean. The US Web Design System says most lines should be 45 to 90 characters, with 66 as a target for long text. Material Design says 40 to 60 is typical.

Last verified against the sources listed below.

Key takeaways

  • WCAG 2.2 sets a line width of no more than 80 characters, or 40 if the text is CJK.
  • The criterion asks for a mechanism. The page does not have to ship at 80 characters.
  • USWDS says most lines should be 45 to 90 characters, and 66 is a long-text target.
  • Material Design 3 lists say 40 to 60 characters is typical, and large screens can go to 120.
  • The CSS ch unit is the advance of the zero glyph, not a count of average characters.
  • A longer line is easier to follow when line spacing also increases.

What is line length, in a paragraph, is the number of characters or glyphs that sit on one line before the text wraps. Typographers call that width the measure. A heading of three words and a novel paragraph can share a font and still have different line lengths, because the column, not the font file, sets the wrap.

The number is a reading aid, not a decoration. Kerning changes the space between two glyphs. Line length changes how far the eye travels before it has to find the start of the next line.

How is line length counted?

Count the characters or glyphs on one rendered line, including the spaces between words. WCAG’s understanding page for Success Criterion 1.4.8 says lines should not exceed 80 characters or glyphs, and 40 if the text is Chinese, Japanese, or Korean. It says CJK glyphs are about twice as wide as non-CJK glyphs when both are set for the same readability, which is why the cap is half.

A glyph is the drawn shape. A character is the unit you type. For plain English they often match one to one. A ligature, or a wide CJK character, is why the criterion says “characters or glyphs” instead of one of those words alone.

The CSS ch unit is a related tool and a different count. MDN says ch is the advance of the glyph 0, Unicode U+0030, in the element’s font. If that width cannot be measured, the fallback MDN records is 0.5em wide by 1em tall.

max-width: 66ch is a useful column. It is not a promise that every line holds 66 letters.

Why does the length matter?

The W3C understanding document says some people with reading or vision disabilities lose their place on a long line. A narrower block makes the next line easier to find. That is the intent behind the 80-character figure. The same page says the criterion is Level AAA.

The page is also careful about what the author must ship. Note 1 says content is not required to use these values. A mechanism has to be available, and the browser can be that mechanism.

Technique C20 says relative CSS measurements should keep an average of 80 characters or fewer possible when the window changes. It does not require the default view to be under 80.

The US Web Design System uses the word measure and gives a design range rather than a conformance cap. Most lines should be 45 to 90 characters, and it calls 66 a good target for long texts.

Short passages, such as footnotes or alerts, may sit outside that range. Large text can use a shorter measure.

Material Design 3, in the lists guidelines, says the ideal line length is typically 40 to 60 characters. It also says a large screen can accommodate up to 120, and that a line near 120 should get more line height. Those three documents are all current. They are not one rule written three ways.

Source Figure it prints What the figure is for
WCAG 2.2, SC 1.4.8 80 characters or glyphs, 40 if CJK A width a user mechanism can reach
Technique C20 Lines can average 80 or fewer Relative CSS so that width stays possible
US Web Design System 45 to 90, target 66 for long text Typesetting guidance for most lines
Material Design 3 lists Typically 40 to 60, up to 120 on a large screen Line length inside fluid list layouts
MDN, the ch unit Width of the 0 glyph A CSS length, not a character quota

What does a counted line look like?

Take the sentence “A calm line is easier to read than a line that runs to the edge.” Counted as characters, including spaces and the final period, that sentence is 70 characters. It sits inside the USWDS 45 to 90 range, under the WCAG 80 cap, and above Material’s typical 40 to 60 band.

A second line, “Read me.”, is 8 characters. USWDS says a short passage can leave the ideal range. A button label is not a failure because it is shorter than 45.

On a wide monitor, the same 70-character sentence in a full-bleed column will not stay at 70. The column will hold more characters unless you set a max width. That is the practical meaning of responsive web design for type: the line length is a layout choice that has to survive a resize.

max-width: 66ch is one way to aim at the USWDS long-text target. Read a line of real words after you set it. If the font’s zero is much narrower than its average letter, the line will run long. If the zero is wide, the line will run short.

How do line length and line spacing work together?

WCAG 1.4.8 pairs the width rule with spacing. Line spacing inside paragraphs should be able to reach at least space-and-a-half. Space between paragraphs should be able to reach at least 1.5 times the line spacing. Text should also be able to resize to 200 percent without forcing horizontal scrolling to read one line on a full-screen window.

USWDS says a greater line height can support a longer measure, because the eye has an easier trip back to the next line. It also says longer texts should use a line height of at least 1.5. Its example is concrete: a line height of 1.5 on 16px text is 24px.

Set the column first, then the spacing. The line height calculator turns a font size and a multiplier into that pixel leading. It does not choose the character count. You still pick 66, 80, or another figure from the table above.

Justified text is the other half of the same criterion. WCAG says text should be able to avoid alignment to both margins. USWDS says most sites should set type flush left, because each line then starts at the same place. A long justified line can open large gaps, which fights the reason you counted the characters.

What mistakes show up in CSS?

A fixed width in pixels is the usual miss. width: 900px on a reading column can exceed 80 characters at a small size and can overflow when the reader enlarges the type. Technique C20’s point is to use relative units so the column can grow with the font.

Treating 80ch as exactly 80 characters is the next miss. The unit tracks the zero, as MDN defines it. Check a line of the real typeface.

Copying one number from the wrong document is the third miss. An AAA mechanism of 80 characters is not the same claim as a design target of 66, and neither one is Material’s 40 to 60. Write down which document you are following. If you need the user to reach 80, do not block that with a layout that cannot shrink or reflow.

Frequently asked questions

Is 80 characters a rule the default layout must use?

No. WCAG 2.2 Success Criterion 1.4.8 says a mechanism must be available so the width of a block of text can be no more than 80 characters or glyphs, or 40 if the text is Chinese, Japanese, or Korean. A note says content is not required to use these values. The mechanism can be the browser or another user agent. Technique C20 says the same thing in CSS terms: relative column widths should not make an 80-character line impossible. The default view can be wider.

Why do the character ranges disagree?

They answer different jobs. WCAG 1.4.8 is a Level AAA criterion about a user-adjustable width, and it prints 80, or 40 for CJK. The US Web Design System is typesetting guidance: most lines should be 45 to 90 characters, with 66 as a target for long texts. Material Design 3 lists say 40 to 60 is typical, and a large screen can go to 120. None of those pages cancels the others.

Does max-width of 80ch mean 80 characters?

Not exactly. MDN defines the ch unit as the advance measure of the glyph 0 in the element's font. If that measure cannot be found, it must be assumed to be 0.5em wide and 1em tall. A line of narrow letters such as i will hold more than 80 glyphs inside 80ch. A line of wide letters such as m will hold fewer. Use ch as a practical cap, then read a real line if the exact character count matters.

What line height goes with a long line?

WCAG 1.4.8 asks for line spacing of at least space-and-a-half inside paragraphs, and paragraph spacing at least 1.5 times that line spacing, again as something a mechanism can achieve. The US Web Design System says longer texts should have a line height of at least 1.5, and that a larger line height can make a longer measure easier to track. The two documents agree on the direction. They do not publish one required ratio for every site.

Does line length change on a small screen?

Yes, if the column shrinks with the viewport. A fixed pixel width can overflow, or stay too wide, when the reader enlarges text. WCAG 1.4.8 says text should grow to 200 percent without horizontal scrolling to read a line on a full-screen window. Technique C20 recommends relative measurements so the column can grow with the font. A phone column is often under 66 characters, and USWDS allows short passages outside the 45 to 90 range.

Sources