Writing and word counts · Writing
How to count words in Word, Google Docs, Pages and Excel, and what each one leaves out

The tool for this guide: Open the word counter
In Word the count is on the status bar at the bottom left, and selecting text counts only the selection. In Google Docs use Tools, then Word count. In Pages choose View, then Show Word Count. Excel has no word count: use a formula. Each app leaves different things out, so check footnotes and text boxes before a limit.
Word on the desktop
In desktop Word the count is on the status bar at the bottom left, and it changes to the selection when you select text. The Microsoft training page for the feature says to check the status bar and that selecting words shows the count for the selection and for the whole document (Microsoft Support: show word count). Click the number, or use Review, then Word Count, and a dialog adds pages, characters with and without spaces, paragraphs and lines.
The dialog has one setting that changes the total: a box for text boxes, footnotes and endnotes. Word's own programming reference confirms the default for footnotes and endnotes. Document.ComputeStatistics takes an IncludeFootnotesAndEndnotes argument, "True to include footnotes and endnotes when computing statistics. If this argument is omitted, the default value is False" (Microsoft Learn). So the status bar number and a limit that says "including footnotes" can differ by hundreds of words on a footnoted essay.
The pages Microsoft publishes for the feature do not say whether headers and footers are counted. If that matters, put a known number of words in the header of a test file and see whether the count moves. It takes a minute and settles it for your version.
Word for the web
Word for the web gives an approximate count, and for a strict limit it is the one to distrust. Microsoft Q&A answers say it "doesn't count words in areas like text boxes, headers, footers, and SmartArt graphics", and that the desktop application "provides a more exact count" (Microsoft Q&A). Those are contributor answers on a support forum, not product documentation, so read them as a strong hint and not a specification. The practical rule is the same either way: if the document will be judged against a number, open it in desktop Word and read it there.
If the count is missing from the bottom of the window in the web version, the training page's advice is to switch to Editing view.
Google Docs
In Google Docs choose Tools, then Word count, and the window shows pages, words, characters and characters without spaces. Click Done to close it. Tick "Display word count while typing" and a Word count box stays in the bottom left corner; clicking it shows the same four figures, and "Hide word count" turns it off (Google Docs Help: count the words in a document).
Google states the scope plainly: "Unless you select a section of the document, word count applies to everything except headers, footers, and footnotes." So the count excludes footnotes, and the way to include them is to select their text and read that selection, or paste the footnotes into a counter and add the two numbers. The help page also notes that word count is only available in Google Docs, not in Sheets or Slides.
Pages on a Mac
In Pages, click the View button in the toolbar and choose Show Word Count. The counter can show characters with or without spaces, words, paragraphs or pages, and the arrows on its right switch between them. Select text and the count "updates to reflect only the selected text" (Apple: show word count in Pages).
Apple's guide is silent on what the count includes. It does not say whether footnotes, headers, footers or text boxes are counted, and the search results for this topic that claim to know contradict one another. Because no source states it, the reliable method is the same test as above: add a known number of words to a footnote or a header and watch the counter.
Excel has no word count
Excel has no built-in word count, so a formula counts the spaces between words and adds one. The usual form, from Exceljet, is =LEN(TRIM(A2))-LEN(SUBSTITUTE(A2," ",""))+1. TRIM removes the extra spaces, SUBSTITUTE removes all of them, and the difference in length is the number of gaps between words.
That version has two faults, and both are easy to hit on real data.
| Cell contents | Basic formula | What is wrong | Fix |
|---|---|---|---|
| Empty, or only spaces | 1 | There are no words | =LEN(TRIM(A2))-LEN(SUBSTITUTE(A2," ",""))+(TRIM(A2)<>"") returns 0 |
| Two words joined by a non-breaking space | 1 | TRIM removes only the ordinary space, character 32 |
Replace the non-breaking space first: SUBSTITUTE(A2,CHAR(160)," ") inside the formula |
| Words separated by a comma or hyphen with no space | 1 | Only spaces are counted | Use TEXTSPLIT with several separators, in Excel 365 or 2024 |
The first fix is Exceljet's. The second follows from Microsoft's description of TRIM, which "was designed to trim the ASCII space character (value 32)" and "does not remove the nonbreaking space (decimal value 160)", the character web pages often use (Microsoft Support: TRIM). Text pasted from a web page is the usual source. In Excel 2024 and Microsoft 365, =IF(TRIM(A2)="",0,COUNTA(TEXTSPLIT(TRIM(A2)," "))) does the same job without the length arithmetic, and the IF is needed because TEXTSPLIT returns an error on an empty string that COUNTA would count as one.
A formula counts one cell. To count a column, add the cell results with SUM or SUMPRODUCT, or paste the column into a counter that does the splitting for you.
What each app counts, side by side
No app counts everything, and the vendors say different amounts about it. The grid below records what each vendor's own pages state, and leaves "not stated" where they are silent instead of filling the gap with a guess.
| App | Where the count is | Selection | Footnotes | Headers and footers |
|---|---|---|---|---|
| Word, desktop | Status bar, bottom left; Review, Word Count | Yes | Only if the dialog box is ticked | Not stated by Microsoft |
| Word, web | Bottom of the window in Editing view | Not stated | Not stated | Not counted (approximate) |
| Google Docs | Tools, Word count; optional live box | Yes | Not counted | Not counted |
| Pages, Mac | View, Show Word Count | Yes | Not stated | Not stated |
| Excel | None: a formula per cell | Not applicable | Not applicable | Not applicable |
The table is about the app's own total. What counts as a word is a separate rule: how hyphenated words, dashes, numbers and web addresses are split changes the figure, which why word counts differ works through with one text counted four ways.
A second count to put beside yours
The quickest check is to count the same text twice, under a rule you can read. Paste the text into the word counter, or open the .docx in it: it reads the body text, headings and tables of a Word file without the footnotes, and you can paste the footnotes in afterwards to see what they add, which lets you compare the number with each app. Its counting rule says how a hyphenated word, a number and a dash are treated, so a difference from your app has a visible cause.
Three habits make the comparison fair:
- Count the same thing. Select the same text in both, or paste the same text into both, and set the footnote option the same way.
- Write down which count you used. "1,980 words in desktop Word with footnotes ticked" is a figure someone can reproduce; "about 2,000" is not.
- Leave a margin when a limit is strict. A limit counted by an examiner, a publisher or a submission form uses their software, not yours. Finishing a little under the limit survives most of the differences above. If the rule says what is excluded, does the word count include references and footnotes lists what thirteen published policies decide.
For text that has to fit pages instead of a word count, the words per page calculator turns a count into pages for a given font and spacing.
What this guide did not test
This guide is a reading of the vendors' own pages, opened on 1 December 2026, plus a hand-worked Excel example. It did not run the apps. The headers-and-footers behaviour of desktop Word and Pages, and every behaviour marked "not stated", is exactly what a one-minute test in your own file will show, and the app versions you use may differ from the pages as written.
Frequently asked questions
How do I count words in Word?
Look at the status bar at the bottom left of the window, which shows the words in the document. Select text to see the count for the selection beside the total. Click the count, or use Review, then Word Count, to open the dialog with pages, characters, paragraphs and lines, and a box for text boxes, footnotes and endnotes.
How do I see the word count in Google Docs?
Choose Tools, then Word count. A window shows pages, words, characters and characters without spaces, and closes with Done. Tick Display word count while typing to keep a live count in the bottom left corner. Unless you select a section first, the count covers everything except headers, footers and footnotes.
Does Google Docs word count include footnotes?
No. Google's help page says the count applies to everything except headers, footers and footnotes unless you select a section of the document. If a limit includes footnotes, copy the footnote text into a counter and add the two numbers, or select the footnote text itself and read the count for that selection.
Does Word count text boxes and footnotes?
Only when you ask it to. The Word Count dialog has a box labelled Include textboxes, footnotes and endnotes, and Microsoft's programming reference counts footnotes and endnotes only when that argument is set to True; the default is False. Tick the box and watch the number move to see the difference.
Why is the word count in Word for the web different from desktop Word?
Microsoft Q&A answers say Word for the web gives an approximate count because it does not count words in areas like text boxes, headers, footers and SmartArt graphics, and that desktop Word is more exact. For a strict limit, open the file in desktop Word and read the count there.
How do I count words in Pages on a Mac?
Click the View button in the toolbar, then choose Show Word Count. The counter can show characters with or without spaces, words, paragraphs or pages, switched with the arrows on its right. Select text and the count changes to the selection. Apple's guide does not say whether footnotes or headers are included.
How do I count words in an Excel cell?
Excel has no word count, so use a formula. =LEN(TRIM(A2))-LEN(SUBSTITUTE(A2," ",""))+(TRIM(A2)<>"") counts the spaces between words and adds one, and returns 0 for an empty cell. In Excel 365 and 2024, =IF(TRIM(A2)="",0,COUNTA(TEXTSPLIT(TRIM(A2)," "))) does the same.
Why do two apps give different word counts for the same document?
Each app decides what counts. Footnotes, text boxes, headers and footers are included in some and left out of others, and the rule for a hyphenated word or a number differs too. Compare like with like: the same text, the same selection, and the footnote option set the same way in both.
People also search for
More in writing and word counts
Replace commas with new lines in Word, Excel, Docs and Notepad++^p in Word, Ctrl+J in Excel, \r\n in Notepad++, \n in Sheets, and the one program that cannot do it.Published · 6 min read
Does Mc come before Mac in alphabetical order?The two ways to alphabetize Mac, Mc and M' surnames, side by side on one list, with the dates the Library of Congress and ALA changed their rules.Published · 8 min read
How many words is a speech, by minuteMinutes times pace, with the pace measured rather than guessed, plus pauses, slides and the stated lengths of a TEDx talk, an Ice Breaker and a PechaKucha.Published · 9 min read
How long should a sentence be?GOV.UK says check sentences over 25 words; plain English says average 15 to 20. The "8 words is 100% understood" figure has no source anyone shows. What to use instead.Published · 7 min read
Large print font size and page countAPH says 18 point, UKAAF 16, Ingram 14, and KDP has no large print rule at all. The standards side by side, x-heights measured from the font files, and what 18 point does to page count and royalty.Published · 13 min read
How long should a query letter and a synopsis be?Query letters and synopses are different documents with different limits. A 2008 count of 180 queries, eight agents' and publishers' synopsis rules, and what "one page" means in words.Published · 11 min read