What Is Keyword Density and How Do You Calculate It? | TitleCasePro
Keyword density is the percentage of times a keyword appears in text. Learn the formula, what percentage is ideal for SEO, and how to check yours.
Quick answer: Keyword density is the number of times a keyword appears in text divided by the total word count, expressed as a percentage. Use the keyword density checker to see the top keywords in any text instantly.
The Keyword Density Formula
Keyword Density = (keyword count ÷ total word count) × 100
Example: A 600-word article that contains the word “writing” 9 times has a keyword density of:
(9 ÷ 600) × 100 = 1.5%
Is Keyword Density Still Relevant for SEO?
Yes and no. Google’s algorithm does not use a target keyword density percentage as a direct ranking signal — and it has not for well over a decade. Stuffing a keyword to hit a specific percentage will not improve ranking and may trigger a spam filter.
What keyword density analysis is useful for:
- Verifying topic relevance — if your primary target keyword appears only once in a 1,500-word article, the article may not signal clear relevance to search engines.
- Detecting over-repetition — if one word appears at 5%+ density in a general-audience piece, it likely reads unnaturally and should be varied with synonyms.
- Understanding content balance — seeing the top 20 keywords gives you a quick map of what topics the text actually covers versus what you intended it to cover.
What Keyword Density Percentage Is Ideal?
There is no universally correct number. Common guidance:
| Density | Assessment |
|---|---|
| 0.5–1.5% | Healthy — natural mention without repetition |
| 1.5–2.5% | Acceptable — clearly topical |
| 2.5–4% | Borderline — may read unnaturally |
| 4%+ | Risky — likely over-optimised, consider synonyms |
These are rough guidelines, not rules. A 500-word FAQ that correctly answers a question about “title case” will naturally use the phrase more often than a 3,000-word reference article. Context matters.
Stopwords and Why They Matter
Stopwords are common function words — “the”, “and”, “of”, “in”, “is” — that appear frequently in all text. They carry no topical signal. Excluding stopwords from keyword density analysis gives you a cleaner view of the meaningful content words.
For example, in a 500-word article, “the” might appear 40 times (8% density). That tells you nothing about the topic. Filtering it out surfaces the words that actually matter.
The keyword density checker includes a stopword filter toggle and a default list of 90+ common English stopwords.
Minimum Word Length Filtering
Short words like “in”, “on”, “to” that are two letters or fewer are rarely meaningful keywords. Setting a minimum word length of 3 or 4 letters in the checker filters these out without needing a full stopword list — useful when analysing text in mixed languages or niche domains with non-standard stopwords.
How to Use Keyword Density in Practice
Step 1: Identify your target keyword Decide what the primary topic of the content is. This is the term you want to rank for.
Step 2: Run the checker before and after writing Paste your draft and look at the top 10 words. Is your target keyword in the top 5? If not, the content may not be sufficiently focused. If it is at 4%+, look for places to use synonyms or related phrases.
Step 3: Use related keywords Modern SEO rewards semantic relevance — covering a topic thoroughly using related terms — more than keyword repetition. If you are writing about “title case”, also use “capitalisation”, “style guide”, “headline”, “AP style”, “Chicago style” naturally throughout.
Step 4: Read for naturalness After the data check, read the text aloud. If any sentence sounds like it was written for a search engine rather than a person, rewrite it.
What the Checker Reports
The keyword density checker shows:
- Keyword — each distinct content word found
- Count — how many times it appears
- Density % — count divided by total words
- Bar chart — relative frequency at a glance
You can adjust the number of results (top 10, 20, 30, or 50), set a minimum word length, and toggle stopword filtering. Export the full table as CSV for a spreadsheet.
Related Tools
- Keyword Density Checker — analyse any text
- Readability Checker — check Flesch scores alongside keyword analysis
- Word Counter — total word count and reading time
Related Guides
- What Is a Good Readability Score? — Understand Flesch Reading Ease alongside keyword density analysis
- Ideal Sentence Length for Readability — How sentence length affects both readability and keyword distribution
- How to Clean Up Messy Text — Fix formatting issues before running a keyword density check
Ready to try it?
Use our free Keyword Density Checker to apply these rules instantly — no signup required.
Open Keyword Density Checker →Related articles
How Long Does It Take to Read and Speak Text? (WPM Reference)
Reading time and speaking time are calculated from word count. Here are the exact formulas, average WPM rates by context, and a comparison table for common content lengths.
How to Clean Up Messy Text — Remove Line Breaks, Spaces, and Duplicates
A practical guide to fixing common text formatting problems: extra line breaks from PDFs, double spaces, blank lines, and duplicate entries. Includes one-click fixes.
How to Extract Email Addresses From Text (Any Format)
Learn how to extract email addresses from plain text, HTML, CSV files, and logs instantly — and which patterns count as valid emails.
How to Extract URLs From Text — Links, Hrefs, and Bare Domains
How to pull all URLs and links out of any text — HTML source, Markdown, log files, or plain prose — and get a clean deduplicated list.