SpunkArt
Data, text and encoding

What counts as a word? How word counters work

Counting words sounds trivial until two tools disagree about the same essay. Every counter makes choices about hyphens, numbers, emoji and full stops. Knowing those choices helps you hit a word limit and explain the difference when someone else’s count is off.

Count your text

The rules this counter uses

  • Words are runs of text between spaces, tabs or line breaks that contain at least one letter or digit. So well-known and isn’t are one word each, and a lone dash between spaces is not a word.
  • Characters are counted as Unicode code points, so an emoji or an accented letter counts once.
  • Sentences end at ., ! or ? followed by a space or the end of the text.
  • Paragraphs are blocks separated by a blank line.

Worked example: the sample text in the box.

  • Words: It’s, a, well-known, fact:, e-mail, isn’t, dead., Dr., Lee, said, so!, Second, paragraph, here. = 14.
  • Characters: 83, or 69 once the 14 spaces and line breaks are removed.
  • Sentences: the counter reports 4, although a person reads 3, because the full stop in “Dr.” looks like a sentence end.
  • Paragraphs: 2.

Why tools disagree

TextCounted as one wordCounted as two or more
well-knownMost word processorsTools that split on hyphens
word—word (em dash, no spaces)Space-based counters, including this oneTools that treat dashes as separators
3 - 4—Two words here (the dash is skipped); three in a naive counter
e.g., U.S.UsuallyTools that split on full stops
Chinese or Japanese text—These scripts do not put spaces between words, so a space-based count is meaningless; count characters instead.

If a teacher, editor or form sets a word limit, ask which tool they use, or leave a small margin under the limit.

Characters: the emoji problem

Programming languages do not agree on what a character is. In JavaScript, "naïve 👍".length is 8, because the thumbs-up emoji is stored as two UTF-16 units. Counting code points gives 7. Some emoji built from several code points, such as family groups or flags, look like one symbol but count as several either way. When a site enforces a character limit, its own counter is the one that matters; use this page for drafting and check on the site.

Reading time

reading time (minutes) = words ÷ words per minute

There is no single correct reading speed. It depends on the reader, the language and how technical the text is, so the box lets you choose. At an assumed 200 words per minute a 1,500-word article takes 1,500 ÷ 200 = 7.5 minutes; at 250 words per minute it takes 6 minutes. Many sites round to the nearest whole minute.

Counting in other tools

  • Command line: wc -w essay.txt counts words, wc -m characters, and wc -l lines. It splits only on whitespace, so it agrees with this page on hyphens.
  • Word processors: most have a word-count command in a Tools or Review menu, and many count footnotes separately.
  • Spreadsheets: a common trick is =LEN(TRIM(A1))-LEN(SUBSTITUTE(A1," ",""))+1, which counts spaces plus one. It gives 1 for an empty cell, so wrap it in an IF.

Questions

Do numbers count as words?

Here, yes: 2030 and 4.99 each count as one word. Most word processors do the same.

Is my text saved or uploaded?

No. The counting runs in your browser as you type, and nothing is stored.

Why is the sentence count marked approximate?

Abbreviations, initials and ellipses use full stops that are not sentence ends. Reliable sentence splitting needs language-aware software.