Step by step
- Click an empty cell next to the text you want to measure.
- Type =LEN(A1) replacing A1 with your target cell, then press Enter.
- To exclude spaces, type =LEN(SUBSTITUTE(A1," ","")) instead.
- Drag the blue square at the bottom-right corner of the cell down to apply it to other rows.
At a glance
| Goal | Formula | What it counts |
|---|---|---|
| Count all characters | =LEN(A1) | Letters, numbers, symbols, and spaces |
| Count without spaces | =LEN(SUBSTITUTE(A1," ","")) | All characters except spaces |
| Count an entire column | =ARRAYFORMULA(LEN(A1:A10)) | Individual counts for each cell in the range |
Related questions
Does LEN in Google Sheets count spaces?
Yes. =LEN(A1) counts every character in the cell, including spaces and line breaks.
How do I count characters without spaces in Google Sheets?
Use =LEN(SUBSTITUTE(A1," ","")) to strip out regular spaces before counting.
How do I count characters across multiple cells in Google Sheets?
Use =SUMPRODUCT(LEN(A1:A10)) to get the combined total, or =ARRAYFORMULA(LEN(A1:A10)) to list each cell's count.
More questions: character counter
- Character Counter With Spaces: Do Spaces Count?
- Character Counter Without Spaces
- How to Count Characters in Microsoft Word
- How to Count Characters in an Excel Cell
- How to Count Characters in Google Docs
- How to Count Characters in Apple Pages
- How to Count Characters on iPhone
- Character Counter and Limit for SMS
- What Is the Character Limit for X (Twitter) Posts?
- What Are the Character Limits for Instagram Bios and Captions?
- What Are the Character Limits for Google SEO Titles and Meta Descriptions?
- How to Estimate Speaking Time From Character Count
- What Is Character Count and What Counts as a Character?
Open the full character counter →
Updated November 14, 2026.