Average Word Length Calculator screenshot

Average Word Length Calculator

Letters and digits divided by words, with the longest word named and the punctuation rule stated.

Privacy First
0 Runs
Updated 2026-11-21
Runs in your browser
No sign-up, no upload

What the average word length calculator does

It divides the letters and digits in the text by the number of words. A word is a whitespace-separated token, and its length counts letters and digits while dropping punctuation, so "don't" counts as four characters and "end." counts as three. The longest word is printed with its length.

The convention matters: counting the apostrophe or the full stop would make the average depend on punctuation rather than on the words. The page names the rule in the result so a figure can be compared with another page that defines a word differently.

In the sample "Don't stop believing." is three words of 4, 4 and 9 characters, so the average is 17 ÷ 3 = 5.6667 and the longest word is "believing" at 9.

The page reads up to 200 000 words in one run and refuses a larger paste by naming the cap. An empty box is refused.

How to use it

Paste the text into the text box.

Press Run. The result prints the words, the letters and digits, the average and the longest word.

Worked example

Input:

Don't stop believing.

Output:

Words:                         3
Letters and digits:            17
Average word length:           5.6667
Longest word:                  "believing" (9 letters)

Why it runs in your browser

The count and the division run in this tab. Your text is never uploaded.

The page divides the letters and digits in the text by the number of words and prints the average, with the longest word and its length named beside it.

Punctuation is excluded from a word's length and the rule is printed, so the average means the same thing on every run.

What counts toward a word's length

A word is a whitespace-separated token. Its length counts letters and digits and drops everything else, so "don't" is four and "end." is three. Without that rule the average would move when a comma moved, which would make two texts incomparable.

The longest word is printed with the same rule applied: the token with surrounding punctuation dropped, and the length the rule computed.

How to use Average Word Length Calculator

Paste the text into the text box.

Press Run. The result prints the words, the letters and digits, the average and the longest word.

What to Expect

Best for

  • Comparing two drafts on word length
  • Estimating how dense a passage looks
  • Finding the longest word in a short text

Not ideal for

  • A readability score, which needs sentences and syllables too
  • Text where punctuation carries meaning and should count
  • Languages written without spaces between words

What this tool keeps

  • Every word you pasted, in order
  • The length rule, printed in the result

What may need cleanup

  • Hyphenated compounds, counted as one token
  • Markup pasted with the text, whose tags count as tokens

Common errors

  • Counting the apostrophe in don't
  • Dividing by unique words instead of all words

Example use cases

  • Comparing a plain-English rewrite with the original
  • Checking a style guide's word-length rule
  • Finding an outlier word in a caption

Sample input

The three words "Don't stop believing."

Sample output

Three words of 4, 4 and 9 characters: 17 in total, an average of 5.6667, longest "believing" at 9.

Who this is for

  • Writers and editors
  • Anyone comparing two passages on the same rule

Frequently asked questions

Why is "Don't" four characters and not five?

The rule counts letters and digits and drops punctuation, so the apostrophe is not counted. The basis line states the rule, and "believing" counts its nine letters.

Is this the same as a readability score?

No. Word length is one input to readability, but the scores need sentences and syllables as well. The readability page composes those counts and states its formulae.

Why does the longest word keep its full stop?

The printed word drops its surrounding punctuation, so "believing." prints as "believing", and the length uses the same rule, so it is 9 either way. Nothing is trimmed from the middle of a word.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.