Keyword density
What keyword density is and how it is calculated
Keyword density is the share of words on a page taken up by a particular keyword or phrase. The formula used here is:
density = (number of times the phrase appears × words in the phrase) ÷ total words × 100
So a two-word phrase used 5 times in a 500-word article has a density of 5 × 2 ÷ 500 = 2%. Counting the words in the phrase, not just the occurrences, keeps long and short phrases comparable.
The keyword density checker lowercases the text, strips punctuation, and counts single words plus 2, 3 and 4-word phrases. With Ignore stop words on, words like the, and and of are skipped, and phrases are only counted when they do not start or end with a stop word, so cost of living is kept while of the is dropped. Add your own words to ignore, such as your brand name or menu labels.
Ideal density
Is there an ideal keyword density?
No. Google does not use a target keyword density, and there is no magic percentage. Search engines understand topics, synonyms and related terms, so writing naturally for the reader matters far more than hitting a number. That said, density is still a useful SEO sanity check in two directions:
- Too high: if one phrase makes up more than about 3% of a page, or reads awkwardly, it may look like keyword stuffing. Google's spam policies specifically mention repeating words unnaturally.
- Too low or missing: if your main keyword appears once, or not at all, in a long article, the page may not clearly signal its topic. That is common when a writer uses many synonyms.
The top phrases list is often more revealing than the density figure. It shows what the page is actually about in the eyes of a word counter. If your target is not near the top, or unrelated boilerplate is, the copy needs work.
Advertisement
On-page placement
Where your target keywords appear
Where a keyword appears matters more than how often. When you analyze a URL, every target keyword is checked against the places that carry the most weight:
| Element | Why it matters |
| Title tag | The strongest on-page relevance signal and the clickable headline in search results. |
| Meta description | Not a ranking factor, but matching words are shown in bold in results, which helps clicks. |
| H1 and H2/H3 headings | Tell readers and crawlers what each section covers. |
| URL | A short, descriptive slug is a small signal and helps users trust the link. |
| First 100 words | Confirms the topic early for readers who skim. |
| Image alt text | Describes images for accessibility and image search. |
Tick Include title, meta description and alt text to count those elements in the density figures too. Leave it off to measure the body copy alone.
Tips
Getting accurate results
- Main content only ignores navigation, header, footer, sidebars and forms, so menu links do not inflate counts. Turn it off to see the whole page as text.
- Paste drafts before publishing to check a brief has been followed.
- Compare competitors: analyze the top-ranking pages for your keyword and look at the phrases they all share. Those are often subtopics your page should cover.
- Export to CSV to sort and compare in a spreadsheet.
Pages built entirely with JavaScript may show little text, because the checker reads the HTML the server returns. Related tools: check overlap between two pages with the duplicate content checker, audit titles and descriptions in bulk with the meta tag checker, and create clean URLs with the slug generator.
Competitors
Comparing your page with competitors
Run the checker on the top three to five results for your target search and note the two and three word phrases they all share. Those are usually the subtopics searchers expect. Then check your own page: if those phrases are missing, consider adding sections that cover them naturally, rather than repeating your main keyword more often.
FAQ
Keyword Density Checker: frequently asked questions
What is a keyword density checker?
A keyword density checker counts how often words and phrases appear in a text or web page and shows each one as a percentage of the total word count.
How is keyword density calculated?
Occurrences of the phrase, multiplied by the number of words in the phrase, divided by the total number of words, times 100.
What is a good keyword density for SEO?
There is no ideal number. Write naturally. As a rough guide, if a single phrase goes above about 3% or reads repetitively, it may look like keyword stuffing.
Can I check more than one keyword?
Yes. Enter up to 10 target keywords separated by commas. Each gets its own count, density and placement check.
Does it check the title and meta description?
Yes. When you analyze a URL, each target keyword is checked in the title, meta description, H1, H2 and H3 headings, URL, first 100 words and image alt text.
Why are some common words missing?
Stop words such as the, and and of are ignored by default. Untick Ignore stop words to include them.
Can I analyze text that is not published yet?
Yes. Use the Paste text tab to analyze any draft.
Is this keyword density tool free?
Yes. It is free to use without sign-up, and you can export results as CSV.