What Is Keyword Density?

Flavio AmielWritten byFlavio Amiel Founder, Roborank
Updated July 15, 2026

Keyword density is the percentage of times a target keyword appears in a piece of content relative to its total word count. Once used to gauge on-page relevance, it is not a Google ranking factor: there is no ideal percentage, and forcing a term to hit a target reads as unnatural writing and risks tipping into keyword stuffing.

Key Takeaways

How Keyword Density Works

Keyword density is one of the oldest ideas in SEO, and it comes from an era when search engines were far cruder than they are now. In the late 1990s and early 2000s, ranking algorithms leaned heavily on counting: a page that mentioned “cheap flights” more often was assumed to be more about cheap flights. Keyword density formalized that assumption into a percentage, so SEOs could measure and tune it.

The trouble is that the assumption stopped being true. As search engines learned to read language rather than tally terms, frequency lost its power as a relevance signal. Today Google interprets a page with natural-language models — BERT and MUM among them — that judge meaning, context, and whether the page answers the query. A ratio of one word to the rest tells those systems almost nothing, which is why every credible statement from Google treats density as a non-factor. What remains real is the downside: cross the line into obvious repetition and you meet keyword stuffing, which Google actively penalizes.

Keyword Density Formula

The calculation itself is straightforward:

Keyword density = (number of keyword occurrences ÷ total word count) × 100

If the phrase “running shoes” appears 12 times in a 1,500-word review, its density is (12 ÷ 1,500) × 100 = 0.8%. Variations complicate it — do you count “running shoe” singular, or partial matches inside “trail-running shoes”? — which is part of why the metric is so slippery. The formula produces a tidy number that feels actionable and measures nothing Google rewards.

Example of Keyword Density

The clearest sourced answer comes from Google itself. In a widely referenced Google Search Central video, “What is the ideal keyword density of a page?”, Google’s then head of web spam Matt Cutts addressed the question directly. His answer was that there is no ideal figure.

Cutts explained the mechanism in plain terms: the first time you mention a word, it helps Google understand the page; a second mention can reinforce that; but once you keep repeating it, “it really doesn’t help that much more. There’s diminishing returns.” Push past that and, in his words, “you’re in danger of getting into keyword stuffing or gibberish.” He closed with the line SEOs have quoted ever since: “I would love it if people could stop obsessing about keyword density,” warning that anyone claiming a hard-and-fast rule “might be selling you keyword density software.”

That is the whole case in one clip. Density has a floor of usefulness — mention the topic so the engine and reader know what the page covers — and no ceiling of benefit, only a cliff of risk. The number itself was never the lever.

The thing people get wrong

The mistake I see constantly is writers pasting a draft into a density checker and then padding or thinning the copy to land on some magic number — 1.5%, 2%, whatever a plugin told them. That is optimizing for a metric Google publicly abandoned more than a decade ago. Nobody at Google is computing your keyword-to-word ratio and grading it. What actually happens when you chase density is the opposite of what you want: the prose stiffens, the target phrase repeats past the point of reading naturally, and you drift toward the one thing Google does police — keyword stuffing. Write the sentence a human would say out loud, mention the topic as often as the explanation genuinely needs, and delete the density tool. The right number is “however many times reads well.”

Keyword Density vs Entity Density

Keyword Density Entity Density
Measures Frequency of one target phrase as a % of words Concentration of named entities (people, places, brands, concepts) in the text
Basis Legacy term-counting relevance model Modern entity-and-meaning model of search
Google’s stance Not a ranking factor; a debunked myth Related concepts and entity coverage genuinely aid topical understanding
What to do with it Ignore the percentage; write naturally Cover the relevant entities a topic implies, without forcing counts

The two get muddled because both sound like “how often should I mention things.” But keyword density fixates on a single string, while entity density is about whether you have covered the concepts a topic genuinely involves — closer to semantic SEO than to a word-ratio dial. Neither is a target to game; only one points at something search engines still care about.

Frequently Asked Questions

What is a good keyword density for SEO?
There is no good or ideal percentage. Google has said explicitly there is no target density, and any tool selling a specific number is selling folklore. Use your keyword enough to be clear, then stop — naturalness, not a ratio, is the goal.
Is keyword density a Google ranking factor?
No. Google does not rank pages on keyword-to-word ratios. Its language systems interpret meaning and intent, so repeating a phrase to hit a percentage adds no ranking benefit and can read as spam.
How do you calculate keyword density?
Divide the number of times the keyword appears by the total word count, then multiply by 100. A keyword used 8 times in a 1,000-word article has a density of 0.8%. The math is trivial; its usefulness for ranking is nil.
What is the difference between keyword density and keyword stuffing?
Keyword density is a neutral measurement of frequency and a debunked ranking myth. Keyword stuffing is deliberate, unnatural repetition to manipulate rankings, and it is a named violation in Google’s spam policies that can trigger a demotion.

The Bottom Line

Keyword density measures how frequently a phrase shows up in your text, and that measurement no longer buys you anything with Google. There is no percentage to hit and no bonus for hitting one. Cover the topic clearly, mention it as often as the explanation requires, and spend the effort you would have spent on ratios on saying something worth citing instead.

Sources

  1. What is the ideal keyword density of a page? (Matt Cutts, Google)Google Search Central (YouTube)
  2. Keyword Density: Is It A Google Ranking Factor?Search Engine Journal

Rank & Cash — the weekly SEO breakdown

One practical teardown a week on ranking in search and getting cited by AI. No fluff.