Home › Guides › Keyword Density: What It Is and When to Check

Keyword Density: What It Is and When to Check

Keyword density is a description of a page, not a target. What the number means, why the famous 2% rule was never measured, and the check that matters.

Keyword density is the percentage of a page's words that are a given term. It is a description, not a target — and the most quoted target for it was never measured on anything.

What the number actually is

Occurrences of the term divided by total words, times one hundred. A 1,000-word page that uses the term "robots.txt" twelve times has a density of 1.2% for that term. That is all the number says: how often the words appear. It says nothing about whether the page is good, relevant, or well written.

The 2% rule was never measured

Search for "ideal keyword density" and the answer is usually 1–2%, sometimes 2–3%, always stated with confidence and never with a source. Google has said repeatedly that there is no ideal density. The number survives because it is easy to remember and easy to sell as a check — not because any experiment supports it. Writing to hit 2% produces text that repeats a phrase on schedule, which readers notice and search engines have long discounted.

What a high number actually signals

A density above roughly 5% for a single term usually means the writing is repetitive — the same phrase doing the work that synonyms, pronouns and varied phrasing should do. That is a readability problem first and a ranking problem second: pages that read as if they were written for a counter rarely keep readers. It can also be a stuffing signal if the repetition is deliberate, but the more common cause is simply a writer who never varies the term.

What a low number signals

A page about robots.txt that never says "robots.txt" is probably about something else — or is written so cautiously that the topic never surfaces. Low density is worth noticing for the same reason high density is: it tells you what the page is actually about, which may not be what you intended.

The check that actually matters

Run the page through the density checker and read the top phrases, not the percentages. If the top five phrases match the topic you intended, the page is on subject. If they surprise you — a brand name, a filler phrase, a word from the template — that is a content problem, not a density problem. Fix the writing, not the number. The pre-publish checklist makes the same point: density is a diagnostic, and the only useful reading of it is whether the page is about what you think it is about.

How to run the check

Paste the page text into the keyword density tool. It counts single words and two-word phrases, excludes common stop words, and shows the top terms with counts. Compare the top terms against the topic in your title. Then read the page aloud: if a phrase appears so often that you hear it, readers will too — cut it regardless of what the percentage says. If the copy feels heavy for other reasons, the readability checker measures sentence load, which is usually the real problem.

About the author

Hongtao Ren (任宏涛) — Developer based in Xi'an, China. Builds browser-based tools and JetBrains IDE plugins. He built and maintains SerpPrism.

Corrections are the most useful thing you can send. If a tool or guide here gives you a wrong answer, that is a bug, not a judgement call — use the contact page.

Questions

What keyword density should I aim for?

There is no target. Write naturally, then check that the top phrases match your intended topic. If they do, the density is whatever it is.

Does keyword stuffing still get penalised?

Yes, as a quality signal — but most pages that look stuffed are simply repetitive. The fix is better writing, not a lower percentage.

Should I check density for every page?

No. Check it when a page is not ranking for its intended topic, or when the writing feels repetitive. It is a diagnostic for a specific question, not a routine step.

Related tools