Skip to main content
Calcimator

Line Length Calculator

Optimal characters per line from size and width.

About this calculator

This calculator estimates how many characters fit on a line of text by dividing your usable column width (container width minus side padding, doubled) by the average character width in pixels — which it derives by multiplying font size by an em-based width fraction you supply (0.45 for a typical serif, 0.50 for sans-serif, 0.38 for condensed faces, up to 0.60 for monospace, where a character is exactly one "ch" unit wide). It then scores the result against the range of 45 to 75 characters per line that Robert Bringhurst's "The Elements of Typographic Style" identifies as the sweet spot for sustained reading -- in the book's own words, "anything from 45 to 75 characters is widely regarded as a satisfactory length of line," with 66 characters as the textbook ideal -- the readability rating peaks there and falls off faster below the minimum than above the maximum, since lines that are too short force the eye to jump back constantly while lines that are merely long are easier to tolerate. It also works backward, telling you the container width that would produce exactly 45, 66, or 75 characters at your chosen font size, which is the more actionable number when you're setting up a CSS column or print layout.

The words-per-line figure is a rough guide only, using a flat six-character average (five letters plus a space) that doesn't account for your actual copy's word length or language. The biggest source of error is the average character width input itself: it's a single approximation for an entire typeface at a given size, when real fonts have letters ranging from "i" to "m," so treat the character count as directional guidance rather than a precise typesetting measurement, and always sanity-check the recommended width by looking at real rendered text.

Inputs

Results

Characters per line

85

Words per line14.2
Readability rating50/100
Ideal container width (px)528
Min comfortable width (px)360
Max comfortable width (px)600

Figures current as of 1992. Source: Robert Bringhurst, "Horizontal Motion," The Elements of Typographic Style, pp. 25-36 (Hartley & Marks; the 66 cpl figure and formula for calculating it are carried through later editions, incl. the 4th ed., 2012)

How to Use This Calculator
  1. Enter Font size (px), Container width (px), and Avg char width (em).
  2. Set Side padding (px).
  3. Review the Characters per line result.
  4. Use Words per line and Readability rating (/100) to inform your decision.

How the result changes with Font size (px)

Font size (px)Characters per line
8170
12113.3
2456.7
4034

What each input means

Font size (px)
Body text font size in pixels.
Container width (px)
Width of the text container or column in pixels.
Avg char width (em)
Average character width as fraction of font size. Sans serif ≈ 0.50, serif ≈ 0.45, condensed ≈ 0.38, monospace ≈ 0.60.
Side padding (px)
Horizontal padding on each side of the container.

What each result means

Characters per line
Estimated characters per line. Optimal range: 45–75 (Bringhurst). Ideal: ~66.
Words per line
Approximate words per line (avg English word = 5 chars + space).
Readability rating
Score based on how close your measure is to the optimal 45–75 character range.
Ideal container width (px)
Container width that yields ~66 characters per line at your font size.
Min comfortable width (px)
Container width for 45 characters per line (minimum comfortable).
Max comfortable width (px)
Container width for 75 characters per line (maximum comfortable).

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Font size (px) = 16, Container width (px) = 680, Avg char width (em) = 0.5, Side padding (px) = 0 = 4 input(s) provided
  2. Calculate Characters per line
    85 = 85
  3. Calculate Words per line
    Words per line = charsPerLine / 6
    14.2 = 14.2
  4. Calculate Readability rating
    Readability rating = Math
    50 = 50

Figures and sources

Engine last updated . Checked against 3 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does the readability score drop faster for lines that are too short than for lines that are too long?

The formula penalizes lines below 45 characters at 3 points per character short of the minimum, but only 2 points per character over the 75-character maximum. That asymmetry reflects that a too-narrow column forces the eye to jump back to the start of the next line constantly, which breaks reading rhythm more than a slightly-too-wide line does, where the eye can still track along a single sweep even if it's a bit of a stretch.

How do I know what to enter for average character width if I don't know my font's exact metrics?

Use the built-in defaults as a starting point: about 0.45 em for a typical serif body face, 0.50 em for sans-serif, 0.38 em for condensed or narrow faces, and 0.60 em for monospace (where every character occupies exactly one "ch" unit by definition). These are averages across a typeface's whole character set, so if your copy skews toward wide letters or you're using an unusually narrow or wide display face, nudge the value up or down and re-check against real rendered text.

Why does the calculator give me three different container widths instead of just one recommendation?

The ideal width targets exactly 66 characters per line, the textbook optimum from Bringhurst. The min and max widths mark the edges of the 45–75 character comfortable range instead, so you have a usable range for a responsive layout — you can let the column vary between the min and max widths and stay in the readable zone, rather than being locked to one exact pixel value.

Why doesn't the words-per-line number match my actual paragraph when I count it by hand?

Words per line is calculated as characters per line divided by 6, a flat assumption of a 5-letter average English word plus one space. Real prose varies a lot — technical copy with long words will fit fewer words than this estimate, while short-word copy will fit more — so treat this figure as a rough cross-check rather than a literal prediction for your specific text.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Creative, Media & Design.