What is keyword density?
The simple formula, why there is no ideal percentage and Google says so, why keyword stuffing backfires, and what to optimize instead: topical coverage, not term frequency.
Keyword density is how often a specific word or phrase appears on a page, expressed as a percentage of the total word count. It was one of the earliest SEO metrics — and it is one of the most misunderstood. The short version: there is no ideal keyword density, Google does not rank pages by hitting a percentage, and writing to a target number is more likely to hurt you than help.
How keyword density is calculated
The formula is simple: (number of times the term appears ÷ total words on the page) × 100. If “running shoes” appears 12 times on a 1,000-word page, its density is 1.2%. That is the whole calculation. The problem is not the arithmetic — it is the belief that the resulting number is a dial you should tune.
Why there is no “ideal” density
Search moved on. Early engines genuinely counted keyword matches, so density was a real lever — and it was abused, which is exactly why it stopped working. Modern Google reads meaning: systems like BERT and MUM understand synonyms, related concepts, entities, and the intent behind a query, not just literal string matches. A page about “running shoes” that never once uses that exact phrase can still rank for it if it clearly covers the topic — talking about cushioning, pronation, road versus trail, and the brands involved. Writing to a percentage produces stilted, repetitive text that reads worse and signals nothing useful.
Keyword stuffing, and why it backfires
The real reason to look at density is to catch its failure mode: keyword stuffing — cramming a term in unnaturally to manipulate rankings. Google’s spam policies name it explicitly, and it covers the obvious tricks (repeating a phrase over and over, stuffing lists of cities or variations) and the sneaky ones (hidden text, keywords jammed into alt attributes or the footer). Stuffing does not lift rankings on modern Google; at best it is ignored, and at worst it looks like spam. If a term’s density is conspicuously high, that is a warning sign to rewrite, not a win.
What to optimize instead
Aim for topical coverage, not term frequency. Answer the questions a reader actually has, and the related terms take care of themselves. Do use your main term where it genuinely helps a search engine and a reader understand the page — the title and meta description, the <h1>, and naturally in the opening paragraph — because those placements signal what the page is about. But that is about placement and relevance, not repetition. Cover the subtopics, use the words a knowledgeable writer would naturally use, and stop counting.
How to check yours
Our keyword density checker shows the terms and phrases that appear most on a page. The useful reading is not “am I at the right percentage” — it is spotting the two things that actually matter: a term you have repeated so much the copy reads as spam, or, just as often, a target topic that barely appears because you never quite said what the page is about. Pair it with the word counter to check the page has enough depth to cover its topic in the first place.
Frequently asked questions
- What is keyword density?
- Keyword density is how often a word or phrase appears on a page as a percentage of the total word count — calculated as (occurrences ÷ total words) × 100. It was an early SEO metric, but modern search engines rank on meaning and topical relevance rather than term frequency, so it is now mainly a diagnostic for catching over-use.
- What is a good keyword density?
- There isn't one. Google has said it has no keyword-density target, and any specific figure like '1-2%' is outdated advice from before search engines could read meaning. Writing to a percentage tends to produce repetitive text that reads worse and helps nothing. Cover the topic naturally instead of aiming for a number.
- Does keyword density affect Google rankings?
- Not as a target you can tune. Modern Google understands synonyms, related concepts, and intent, so it does not reward hitting a particular density. Excessively high density can look like keyword stuffing, which is against Google's spam policies, so the only ranking effect of chasing density is a negative one.
- What is keyword stuffing?
- Keyword stuffing is cramming a term into a page unnaturally to try to manipulate rankings — repeating it over and over, listing endless variations or locations, or hiding it in text, alt attributes, or the footer. Google's spam policies name it explicitly. It does not lift rankings on modern Google and can make a page look like spam.
- How do I check the keyword density of a page?
- Use a keyword density checker, which lists the most frequent terms and phrases on the page. Read it to spot problems, not to hit a number: a term repeated so often the copy reads as spam, or a topic you meant to cover that barely appears because you never clearly stated what the page is about.
- What should I optimize instead of keyword density?
- Optimize for topical coverage and relevance. Answer the real questions a reader has, use the related terms a knowledgeable writer would naturally use, and place your main term where it signals the page's subject — the title, meta description, H1, and opening paragraph. That is about placement and completeness, not repetition.