HomeCalculatorsTextWord Count Calculator

Word Count Calculator

Text

Count words in any text instantly — see total words, content words (no fillers), unique vocabulary, top words used, and lexical density. Free word counter.

Words counted in real time as you type0 words

Word Count

0

Content Words

0

no fillers

Unique Words

0

vocabulary

What is a Word Count?

A word count calculator counts the total number of words in a piece of text and breaks that count into layers of meaning: the raw total, the content words that carry ideas, the filler words that provide grammatical structure, and the unique vocabulary that represents your actual lexical range. Paste any text — an essay draft, a blog post, a legal clause, a script — and all metrics update instantly.

The distinction between total word count and content word count is one of the most useful signals in writing analysis. A 1,000-word article with 620 content words (62% lexical density) is notably more information-rich than a 1,000-word article with 380 content words (38%), which is heavily padded with grammatical connectors and qualifiers. The content word count reveals how much actual vocabulary your writing deploys, independent of its grammatical scaffolding.

The filler words tracked in this calculator are the standard linguistic set of function words: articles (a, an, the), common prepositions (in, of, for, at, to, with, from, by…), coordinating and subordinating conjunctions (and, but, or, because, although…), personal pronouns (I, we, you, they, he, she, it…), and auxiliary verbs (is, are, was, have, will, can, should…). These words are grammatically essential but carry no domain-specific meaning — removing them from the count isolates your true content vocabulary. For a deeper look at what percentage of your total words are content words, the Percentage Calculator can take the two counts and compute the ratio.

The top content words feature shows which non-filler words appear most frequently — a useful check for repetition. If your top word appears 15 times in a 400-word article, you may be over-relying on a single term where synonyms or pronouns could add variety. If the top word matches your target keyword, that confirms natural keyword usage rather than awkward insertion.

How to use this Word Count calculator

  1. Paste or type your text — click the textarea and paste any content. The word count in the right panel and the live counter below the textarea both update immediately with every keystroke.

  2. Read the primary word count — the large number in the dark result card is your total word count. Check it against your target (assignment limit, blog target, platform cap).

  3. Check Content Words and Unique Words — the two tiles below the primary count show how many words are content words and how many distinct words appear. Compare content words to total words to get a sense of lexical density.

  4. Read the Writing Stats card — Lexical Density with its colour bar tells you whether your writing is information-rich or conversational. Avg Word and Avg Sentence give structural and readability signals. Longest Word shows the most complex vocabulary item in your text.

  5. Review Top Content Words — look at the five ranked words. If a word appears far more than expected, consider synonyms or pronouns to reduce repetition. If your intended keyword is absent from the top five, it may need stronger presence in the text.

  6. Scan the Filler Words Found card — this shows every unique function word that appeared. No action required unless you are deliberately trying to write in a lean, minimalist style — in that case, looking for overused qualifiers in this list is a useful starting point.

Formula & Methodology

Word count:

words = text.split(/\s+/).map(strip punctuation).filter(length > 0 AND contains letter)

Content words:

contentWords = words.filter(w → w ∉ FILLER_WORDS)

Unique words:

uniqueWords = |{set of all lowercased word forms}|

Lexical density:

lexicalDensity = (contentWords ÷ totalWords) × 100

Filler word count:

fillerWords = totalWords − contentWords

Average word length:

avgWordLength = (Σ word.length for all words) ÷ totalWords

Average sentence length:

sentences = text.split(/[.!?]+/).filter(non-empty)
avgSentenceLength = totalWords ÷ max(sentences, 1)

Worked example:

Input: "India is the world's largest democracy and has a rich cultural heritage."

- Tokenised words: india, is, the, world's, largest, democracy, and, has, a, rich, cultural, heritage → 12 words
- Filler words: is, the, and, has, a → 5 occurrences
- Content words: india, world's, largest, democracy, rich, cultural, heritage → 7 words
- Unique words: 12 (all distinct) → 12
- Lexical density: 7 ÷ 12 × 100 = 58.3%
- Avg word length: (5+2+3+7+7+9+3+3+1+4+8+8) ÷ 12 = 60 ÷ 12 = 5.0 chars
- Sentences: 1 → avg sentence length = 12.0 words
- Longest word: "democracy" or "cultural" (9 chars each)

Tokenisation rules:

- Split by any whitespace (space, tab, newline)
- Strip leading and trailing punctuation from each token (commas, full stops, brackets, quotes)
- Preserve internal hyphens ("mother-in-law" = 1 word) and apostrophes ("don't" = 1 word)
- Keep only tokens containing at least one letter (pure numbers are counted as words but excluded from top content words)
- Filler detection uses case-insensitive matching; all tokens are lowercased before lookup
Frequently Asked Questions
What is a word count calculator and how does it work?
A word count calculator splits your text at whitespace boundaries, strips leading and trailing punctuation from each token, and counts the number of resulting words. Beyond the raw total, this tool additionally separates content words (meaningful vocabulary) from filler words (grammatical function words like 'the', 'of', 'and', 'is'), counts unique vocabulary, identifies your top five most-used content words, calculates lexical density, and computes average word length, average sentence length, and your longest word — all in real time as you type.
What are filler words and why are they separated from content words?
Filler words — also called function words or stop words — are the grammatical glue of a sentence: articles (a, an, the), prepositions (in, of, for, at, to), conjunctions (and, but, or), pronouns (I, you, they, it), and auxiliary verbs (is, are, was, have, will). They are essential for grammatical correctness but carry no specific meaning on their own. Separating them from content words (nouns, main verbs, adjectives, adverbs) reveals the true vocabulary size of a piece of writing — the count that reflects ideas rather than grammar.
What is lexical density and what does it tell me about my writing?
Lexical density is the percentage of content words (non-filler words) out of the total word count: (content words ÷ total words) × 100. Academic and technical writing typically scores 55–70% — each sentence is packed with information-bearing vocabulary. News writing and formal business communication usually falls in the 40–55% range. Casual conversation and informal messaging often scores below 40%, because a higher proportion of words are grammatical connectors rather than content. A lexical density figure gives you a quick, objective read on how information-dense your writing is.
What does the 'unique words' count mean?
Unique words — also called the type count in linguistics — is the number of distinct word forms in your text, regardless of how many times each appears. If you write 'India' six times, it still counts as one unique word. Unique words ÷ total words gives the Type-Token Ratio (TTR), a measure of vocabulary richness: a high TTR means you are using a wide variety of words; a low TTR means many words repeat frequently. Blog posts and articles typically have a TTR of 40–60%. Use the [Percentage Calculator](/percentage-calculator/) to express your unique word count as a percentage of total words.
How does this word counter count hyphenated words and contractions?
Hyphenated compounds like 'mother-in-law', 'well-being', and 'state-of-the-art' are counted as a single word, matching the convention used by most word processors and style guides. Contractions like 'don't', 'it's', 'we're', and 'can't' are also counted as single words. Internal hyphens and apostrophes are preserved during tokenisation. Only leading and trailing punctuation (commas, full stops, brackets, quotation marks) is stripped before counting.
What does the average sentence length tell me?
Average sentence length is total words divided by number of sentences (sentences detected by full stops, exclamation marks, and question marks). Sentences averaging 15–20 words are considered optimal for general readability — readable enough for a broad audience, with enough complexity to convey nuanced ideas. Below 10 words per sentence produces a staccato, fragmented feel typical of social media copy or children's content. Above 25 words per sentence begins to challenge comprehension for most readers, particularly in digital formats. Many style guides recommend varying sentence length rather than targeting a single average.
How do I check the word count of a document against an assignment limit?
Paste the text of your document directly into the Word Count Calculator — the total word count appears instantly in the large primary display. For university assignments in India, the word limit typically refers to the body text only, excluding the title, bibliography, and appendices — paste only the sections that count towards the limit. If your target is a percentage over or under the limit, use the [Percentage Calculator](/percentage-calculator/) to calculate exactly how far you are from the target word count.
What is a good word count for SEO blog posts in India?
For competitive search terms in Indian markets, blog posts targeting informational or commercial queries typically perform best at 1,200–2,500 words. Comprehensive 'pillar' pages covering a broad topic — such as a complete guide to tax saving or a comparison of loan types — typically run 3,000–5,000 words. Shorter posts of 500–800 words work for news, announcements, and simple how-to articles where search intent is narrow. Word count alone does not guarantee ranking — the uniqueness, depth, and keyword coverage of the content matter more — but content below 800 words rarely ranks for competitive terms.
How many words are in common types of Indian writing?
A standard UPSC essay answer is 250–300 words; a UPSC Mains essay is 1,000–1,200 words. A Class 10 board exam essay is typically 200–250 words. A research paper abstract is 150–250 words. A WhatsApp forward averages 50–150 words. A LinkedIn post that receives the highest engagement in Indian professional circles typically falls between 150 and 300 words. An Indian court petition or legal notice is commonly 500–1,500 words depending on the matter, while a standard employment agreement runs 2,000–5,000 words.
Does this word counter work for Hindi, Tamil, and other Indian languages?
The word count and unique word count features work for any language that separates words with spaces — which includes Hindi written in Devanagari, Hinglish (Hindi written in Roman script), Tamil, Telugu, Kannada, Bengali, and most other Indian languages. The filler words list, lexical density, and top words analysis are currently calibrated for English only — these features will not produce meaningful results for non-English text. For measuring the byte size of Indic script text in UTF-8, use the [Text Size Calculator](/text-size-calculator/) alongside this tool.
What is the difference between a word count calculator and a character count tool?
A word count calculator counts discrete vocabulary units separated by whitespace — each space-bounded token is one word. A character count tool counts every individual symbol including spaces, punctuation, and letters. For writing that has word limits (essays, articles, legal documents), word count is the relevant metric. For writing that has character limits (tweets, SMS messages, database fields, meta descriptions), character count is the relevant metric. The [Text Size Calculator](/text-size-calculator/) covers character count, byte size, and reading time alongside word count in one tool.
How do I reduce filler words in my writing?
The filler words list in this calculator shows every unique function word your text contains. While most filler words cannot be fully eliminated — 'the', 'in', and 'of' are unavoidable in English — noticing overuse of certain connectors and qualifiers helps improve writing. Common fixable filler patterns include: using 'in order to' instead of 'to', writing 'due to the fact that' instead of 'because', stacking qualifiers like 'very quite rather', and beginning sentences with 'It is important that…' instead of stating the importance directly. A higher lexical density score (above 50%) is a good signal that your revisions are working.