Knowing how to count spaces in a Microsoft Word document is useful for checking formatting consistency, meeting submission guidelines, or simply understanding the composition of your text. While Word doesn’t have a dedicated “space counter” button, you can easily find the number of spaces using built-in features like the Find and Replace tool, the Word Count dialog, or the Status Bar. This guide walks you through three reliable methods, plus tips to avoid common pitfalls.
What You’ll Need
- A computer with Microsoft Word installed (any recent version, including Office 365, Word 2019, 2016, or earlier).
- The document in which you want to count spaces—it can be open or you can open it during the steps.
- Basic familiarity with Word’s ribbon interface (the toolbar at the top).
Step-by-Step
Method 1: Using Find and Replace (Fastest for a Single Space)
- Open your document in Microsoft Word.
- Press Ctrl + H on your keyboard to open the Find and Replace dialog box. (On a Mac, press Command + H.)
- Click on the “Replace” tab if it isn’t already selected.
- In the “Find what” field, type a single space by pressing the spacebar once.
- In the “Replace with” field, type a unique placeholder—for example, type XYZ (or any short string that doesn’t appear in your text). This is a temporary marker.
- Click “Replace All”. Word will replace every space with your placeholder and display a message like “Word has completed the search… We replaced X items.” The number X is your total space count.
- Press Ctrl + Z (or Command + Z on Mac) immediately to undo the replacement, restoring your original spaces. If you skip this, your document will be filled with placeholders—so don’t forget!
Method 2: Using Word Count (Counts All Spaces Including Tabs)
- Open your document in Word.
- Click on the “Review” tab in the ribbon at the top.
- Click “Word Count” in the Proofing group. A dialog box will open showing several counts.
- Look at the “Characters (with spaces)” line. This number includes every space, tab, and paragraph mark in your document. However, it also includes all letters and punctuation, so it’s not a pure space count. To get just the spaces, you’d need to subtract the “Characters (no spaces)” number from the “Characters (with spaces)” number. For example, if Characters (with spaces) = 1,250 and Characters (no spaces) = 1,100, then spaces = 150.
Method 3: Using the Status Bar (Quick Approximate Count)
- Open your document in Word.
- Look at the bottom-left corner of the window—the status bar. It shows a word count by default (e.g., “Words: 1,234”).
- Click on that word count. This opens the same Word Count dialog as in Method 2. Use the character counts to calculate spaces as described above.
- Alternatively, select a portion of text with your mouse—the status bar will temporarily show the word count for that selection, and clicking it gives you the character counts for just that selection.
Common Mistakes
- Forgetting to undo after using Find and Replace: If you don’t press Ctrl+Z after replacing spaces with placeholders, your document will be full of placeholder text. Always undo immediately.
- Counting all characters instead of spaces: The Word Count dialog’s “Characters (with spaces)” includes letters, numbers, and punctuation. If you report that as your space count, you’ll be wildly off.
- Ignoring tabs and paragraph marks: Spaces are not the only whitespace. Tabs and paragraph marks are also counted in “Characters (with spaces)” but are not regular spaces. If you need only spaces, use the Find and Replace method (which counts only the space character) or subtract carefully.
- Using Find and Replace on a selection: If you have text selected, Find and Replace only works on that selection, not the whole document. Make sure nothing is selected before using it.
Tips
- Use a unique placeholder: When replacing spaces, choose a placeholder like #SPACE# that is unlikely to appear naturally in your text. This avoids accidental matches.
- Count spaces in a specific section: Select the section of text you want to count, then run Find and Replace. Word will ask if you want to search just the selection—click “Yes”.
- Check for double spaces: To find double spaces, search for two spaces in the Find what field (press spacebar twice) and replace with one space. This also helps you clean up formatting.
- Use the status bar for a quick glance: The status bar’s word count is a handy reference, but for spaces, you’ll need to open the dialog. You can also right-click the status bar and enable “Characters (with spaces)” to see it directly, though it still includes all characters.
Troubleshooting
- Find and Replace says “0 items replaced”: This usually means there are no spaces in your document (unlikely) or that you accidentally typed a different character in the Find field. Clear the field and press the spacebar once. Also check that “Match case” and other options are unchecked.
- Word Count dialog is grayed out: This happens if you have a text box or a shape selected. Click outside the selection to deselect it, then try again.
- After replacing spaces, my document is full of placeholders and I forgot to undo: Press Ctrl+Z repeatedly until the document returns to normal. If you’ve closed the document, you may lose changes—so always save a backup before using Find and Replace for counting.
- The status bar word count doesn’t match Word Count dialog: The status bar shows only words, not characters. To see characters, click the word count to open the dialog. If the numbers still differ, ensure you haven’t selected a portion of text.
Related
Frequently Asked Questions
Can I count spaces in Word Online (free web version)?
Yes, the Word Count dialog is available in Word Online. Go to the Review tab and click Word Count. The Find and Replace method also works (Ctrl+H).
Does the Word Count dialog count spaces between words only?
No, it counts every space character, including spaces at the beginning or end of lines, and multiple consecutive spaces. It also counts tabs and paragraph marks, but those are not spaces.
How do I count spaces in a specific paragraph or sentence?
Select the text you want to count, then press Ctrl+H. Word will prompt “Do you want to search the rest of the document?”—click “No” to search only the selection. The Replace All result will show the count for that selection.
Is there a way to see the space count without changing my document?
Yes, use the Word Count dialog (Method 2) and calculate the difference between characters with spaces and without spaces. This doesn’t alter your document.
Why does my space count seem too high?
You might be counting tabs or paragraph marks as spaces. Use the Find and Replace method with a single space to get only spaces. Also, check for double spaces—search for two spaces to see how many there are.
Can I count spaces in a PDF or other file format?
This guide is for Microsoft Word. For PDFs, you can copy the text into Word and then count, or use a PDF editor’s search function to count spaces (though it’s less straightforward).