Skip to main content

Free Word Counter & Frequency Analyzer

Count words, analyze frequency, and check word density instantly. Free online tool for writers, students, and SEO pros. No sign-up required.

Last revised Maintained by Pavan Kusunuri · About our editorial standards

Calculator inputs

Text Input & Analysis Options

Paste or type the text you want to analyze.

How to sort the word frequency list.

Ignore words shorter than this length (e.g., 3 to ignore 'a', 'an', 'of').

Remove common words like 'the', 'and', 'of' from frequency analysis.

Number of decimal places for density percentages.

Your results

Word Count
16
Unique: 13, Characters: 80
Total Words
16
Words Counted (after filters)
14
Unique Words
13
Characters (with spaces)
80
Characters (without spaces)
65
Sentences
2
Average Words per Sentence
8.00
Paragraphs
1
Average Characters per Word
4.06
Vocabulary Richness (Unique ÷ Counted Words)
92.86%
Word Frequency Distribution
the: 2, analysis: 1, brown: 1, dog: 1, for: 1, fox: 1, jumps: 1, lazy: 1, over: 1, quick: 1, sample: 1, text: 1, this: 1
Word Density (% of counted words)
the: 14.29%, analysis: 7.14%, brown: 7.14%, dog: 7.14%, for: 7.14%, fox: 7.14%, jumps: 7.14%, lazy: 7.14%, over: 7.14%, quick: 7.14%, sample: 7.14%, text: 7.14%, this: 7.14%

Sources & methodology

Formula:
Total words
Content last updated:
Scheduled re-verification:
September 2027

Calculation type: Exact calculation. Figures are taken from Unicode Consortium — see sources below.

How to Use This Calculator

  1. Enter Your Text

    Paste or type any text into the input area.

  2. Select Analysis Options

    Choose which metrics to display (words, characters, frequency, etc.).

  3. Filter Results

    Set minimum word length, exclude stop words, or sort frequency differently.

  4. View Instant Results

    See total word count, unique words, frequency distribution, and more.

Example: Analyze a Sample Paragraph

Text: 'The quick brown fox jumps over the lazy dog. This is a sample text for analysis.'

Example Inputs
Text
The quick brown fox jumps over the lazy dog. This is a sample text for analysis.
Minimum Word Length to Include
3
Exclude Common Stop Words
No
Example Results
Total Words
16
Unique Words
13
Vocabulary Richness (Unique ÷ Counted Words)
92.86%
Word Frequency Distribution
the: 2, analysis: 1, brown: 1
Figures are indicative only and may vary.

Understanding Your Results

  • Word Count
    Total number of words in the text, identified by spaces and punctuation.
  • Unique Words
    The number of distinct (non-repeated) words in the text.
  • Word Frequency
    A count of how many times each unique word appears in the text.
  • Word Density
    For each word: its occurrences ÷ words counted, as a percentage, for the 50 most frequent words. The denominator is the filtered set of words counted, so the minimum-length and stop-word options change it. This is the SEO "keyword density" figure.
  • Vocabulary Richness
    Unique words ÷ words counted, as a percentage. A higher ratio indicates more diverse vocabulary. It is a different measure from Word Density, which is per word.

Key Tips

  • To check a keyword's density, read its percentage in Word Density. It is divided by the words counted after your filters, so turn off the minimum length and stop-word filters if you want it measured against every word.
  • Use unique word count and vocabulary richness together to assess how varied your writing is, not word count alone.
  • Exclude stop words (the, and, of, etc.) for a more meaningful frequency list focused on content words.
  • Set a minimum word length to filter out short function words from the frequency breakdown.

Understanding Word Frequency Analysis

What is Word Frequency Analysis?

Word frequency analysis examines how often each unique word appears in a text. It reveals patterns, highlights repeated terms, and helps you spot when a word or phrase is being overused.

Word Density vs. Vocabulary Richness

Word Density is per word: how large a share of the counted words one word makes up (occurrences ÷ words counted × 100). It is what SEO tools call keyword density, and it is only meaningful for the words you care about. Vocabulary Richness is per text: unique words ÷ words counted × 100, so a higher percentage means more varied vocabulary. Because both use the filtered set of words counted, changing the minimum word length or the stop-word option changes both.

Formulas Used by This Calculator

Total Words = the number of whitespace-separated tokens in the text. Unique Words = the count of distinct words after lowercasing and stripping punctuation from each word's ends. Vocabulary Richness (%) = (Unique Words ÷ Words Counted) × 100, where Words Counted is the number of words remaining after dropping punctuation-only tokens and applying the minimum-length and stop-word filters (shown as its own row whenever it differs from Total Words). Word Density (%) for a word = its occurrences ÷ Words Counted × 100. Average Words per Sentence = Total Words ÷ Sentence Count (sentences are detected by ./!/? boundaries, ignoring abbreviations and decimals). Average Characters per Word = Characters (no spaces) ÷ Total Words. Word Frequency Distribution counts occurrences of each word after the same lowercasing/punctuation-stripping and minimum-length/stop-word filters you've enabled.

Why Vocabulary Diversity Matters

Heavy repetition of the same words can make writing feel monotonous and can signal thin or padded content. Tracking unique-word count and vocabulary richness alongside total word count gives a fuller picture than word count alone — two texts of the same length can have very different vocabulary variety. There's no single 'correct' target percentage; it depends on the content type and how naturally the subject matter repeats key terms.

Limitations of This Calculator

This tool counts words, characters, sentences, and word frequency — it does not compute a readability grade level (Flesch-Kincaid or similar), which requires syllable counting this engine doesn't perform. Sentence detection relies on punctuation (./!/?), so abbreviations or unconventional punctuation can occasionally over- or under-count sentences. The stop-word list is a fixed set of common English words; it isn't customizable per analysis.

Formula & methodology

Formula used

Total words

total words = count of whitespace-separated tokens

Every run of non-space characters counts as one word, before any filtering, in any script. That is how Word and Google Docs count, so "well-known", "don't" and a URL are each one word. For Chinese, Japanese, Thai, Lao, Khmer and Myanmar, which are written without spaces, the browser's text segmenter splits each unspaced run into words where it is available.

Words counted

words counted = tokens with at least one letter or digit, after the minimum-length and stop-word filters

A token made only of punctuation (a lone dash or "...") is counted in Total Words but has no word to analyse. This filtered set is what the unique count, frequency and density are computed from. Each word is lowercased and stripped of punctuation at its ends only, so "don't" stays whole.

Vocabulary richness

richness % = unique words ÷ words counted × 100

Both sides use the same filtered population, so raising the minimum word length does not distort the ratio.

Word density

density of a word % = occurrences of that word ÷ words counted × 100

The share of the counted words that one word makes up, listed for the 50 most frequent words. This is the figure SEO tools call keyword density.

Characters

characters = user-perceived characters (grapheme clusters), not UTF-16 code units

An emoji, or a letter with a combining accent, counts once.

Averages

words per sentence = total words ÷ sentences;  characters per word = characters excluding spaces ÷ total words

Sentences end at a full stop, question mark or exclamation mark; abbreviations such as "Dr.", decimals and initials are not treated as endings, and a final sentence with no closing punctuation still counts. A paragraph is a non-blank line.

Variable definitions

SymbolMeaningUnit
textText. the passage being analysedtext
min lengthMinimum word length. words shorter than this are excluded from the frequency analysischaracters

Step-by-step calculation

  1. 1. Paste or type your text
    Counting happens entirely in your browser; nothing is uploaded.
  2. 2. Set the filters if you want a frequency analysis
    The minimum word length and stop-word options affect the unique count and richness, not the total word count.

Limitations

  • Sentence detection is built for English punctuation. Rarer abbreviations can still be miscounted, and full-width terminators such as "。" are not recognised, so Chinese and Japanese text reports too few sentences.
  • Words are lowercased and stripped of punctuation at their ends before the unique count, so 'Dog' and 'dog' count once; hyphenated words and contractions stay whole.
  • Word counts for Chinese, Japanese and Thai depend on the browser's segmentation dictionary and can differ from other tools; where the browser lacks it, each unspaced run counts as one word.
  • Word processors differ slightly from each other on edge cases (standalone dashes, numbers with separators), so a count can differ by a few words from another tool.
  • Vocabulary richness falls naturally as a text gets longer, so it should only be compared between passages of similar length.

This page is educational. It applies the formula described above to the figures you enter and shows the arithmetic behind the result. The output is only as good as the inputs and the assumptions listed here, and it is general information rather than advice about your particular situation.

Sources & references

  • ReferenceUnicode Standard Annex #29: Unicode Text Segmentation — Unicode Consortium
    Defines the grapheme-cluster ("user-perceived character") and word boundaries that the character count and the unspaced-script word count rely on. Word processors' whitespace-based word count is a convention, not a Unicode rule.

Frequently Asked Questions

What is a word counter and how does it work?

A word counter is a text analysis tool that counts total words, unique words, and analyzes word frequency patterns. Total words are counted the way Word and Google Docs count them, as runs of characters separated by whitespace. For the unique-word and frequency figures it also lowercases each word, trims punctuation from its ends and tallies occurrences. Results display instantly as you type or paste.

What is the difference between total words and unique words?

Total words count every word in your text, including repeats. Unique words only count each distinct word once. Example: "the cat and the dog" has 5 total words but only 4 unique words (the, cat, and, dog).

What does word density mean and why does it matter?

Word density is the share of your text that one word makes up: its occurrences ÷ words counted × 100. It is the figure SEO tools call keyword density, and very high values for a single keyword can read as repetitive or stuffed. This tool also shows Vocabulary Richness (unique words ÷ words counted), which measures how varied the whole text is.

Is the word counter case-sensitive, and does it strip punctuation?

No, it's not case-sensitive — text is converted to lowercase before counting, so "The" and "the" count as the same word. Punctuation at the ends of a word is also stripped, so "hello," and "hello!" both count as "hello", while "don't" and "well-known" stay whole. Letters from any script are kept, not just English ones.

Does the calculator save or store my text?

No. All analysis runs in your browser without storing any data — your text is never sent to or saved on our servers. This is a fully client-side tool.

Need more help? Contact support or email globalcalqulate@gmail.com. We typically reply within 24–48 hours.