The Keyword Density Myth: What Matters Instead

Updated 11 September 2026 · 5 min read

Check your own site as you read: Keyword Density Checker · Meta Tag Checker

Ask around about on-page SEO and someone will tell you to keep your main keyword at "1 to 2 percent" of the text. Some plugins still grade pages this way. There's no documented basis for it. Google has said clearly that repeating words doesn't help and can hurt. This guide explains where the idea came from, what Google actually says, what to focus on instead, and how a density check can still be useful when you use it for the right job.

What keyword density is

Keyword density is the number of times a term appears on a page, divided by the total number of words, expressed as a percentage:

density = (occurrences of the term / total words) x 100

A 1,200-word article that uses "robots.txt" 18 times has a density of 1.5 percent for that term. For multi-word phrases, tools count the phrase as a unit, and some adjust the calculation to account for the phrase's length.

The number is easy to calculate, which is part of why it caught on. The problem is what people assume it means.

Where the idea came from

Early web search engines relied heavily on counting words on the page. Classic information retrieval uses term frequency, meaning how often a word appears in a document relative to how common it is across many documents, as one signal of what a document is about. In the early web, repeating a term more often could push a page up, and people noticed.

That led to stuffed pages, with keywords repeated in footers, in hidden text and in awkward sentences. Search engines responded by getting better at understanding language and by treating manipulation as spam. Density scores and target percentages outlived the systems they were built to exploit.

What Google says

Google's public documentation is consistent on this point.

From the SEO starter guide:

  • "Excessively repeating the same words over and over (even in variations) is tiring for users, and keyword stuffing is against Google's spam policies."
  • "Google's language matching systems are sophisticated and can understand how your page relates to many queries, even if you don't explicitly use the exact terms in them."
  • On length: "there's no magical word count target, minimum or maximum."

The spam policies define keyword stuffing as filling a page with keywords or numbers in an attempt to manipulate rankings. Examples include blocks of city names a page is trying to rank for and unnatural repetition of phrases.

And Google's guidance on creating helpful content asks, as a warning sign: "Are you writing to a particular word count because you've heard or read that Google has a preferred word count? (No, we don't.)"

No Google documentation specifies a target density, and the documentation that addresses repetition warns against it.

What matters instead

If repeating the phrase isn't the goal, what makes a page relevant for a query?

Search intent

Start with what the searcher wants. Look at the current results for your query. Are they how-to guides, product pages, comparisons or tools? A page in the wrong format rarely wins, however many times it mentions the keyword.

Topic coverage

A strong page answers the questions a reader will have, in the order they'll have them. For "robots.txt," that means what the file does, where it lives, the syntax, examples, common mistakes, and how it differs from noindex. Coverage like this naturally uses the term and the related vocabulary that goes with it.

Entities and related concepts

Pages about a topic tend to mention the things connected to it. An article about robots.txt that never mentions user agents, Disallow, crawlers or sitemaps is thin, whatever its keyword density. Language systems understand those connections. Missing concepts are a better warning sign than a low percentage.

Natural language

Write the way an expert explains the topic to a colleague. Use the main term where it's the clearest word, and use pronouns and synonyms where they read better. Google's starter guide makes the point that varying your words naturally can help, because the page then matches more of the ways people search.

Clear placement where it helps readers

Using the main topic in the title, the main heading and the opening paragraph is still sensible, because it tells readers immediately that they're in the right place. That's a clarity decision, not a density target. Check how your title and description read with the Meta Tag Checker.

How to use a density check sensibly

A density tool is still useful as a diagnostic. Just ask it different questions than "am I at 2 percent?"

  1. Spot over-repetition. If one phrase stands far above everything else on the list, read those passages aloud. Repetition that sounds forced to you sounds forced to readers too.
  2. Find boilerplate inflation. Navigation, footers and sidebars repeat the same words on every page. If your top terms come from the template rather than the content, the page body may be thinner than you think.
  3. Check that important terms appear at all. Density analysis is useful in reverse. If a key concept the reader expects never appears, you've probably left a gap in coverage.
  4. Look at two- and three-word phrases. Phrase frequency shows what the page is really about more clearly than single words. It also reveals awkward exact-match phrases repeated where natural wording would vary.
  5. Compare against your own intent, not a number. The question is "does this page's vocabulary match the topic a reader expects?"

Our Keyword Density Checker lists single words and multi-word phrases with their counts, which makes both over-repetition and missing terms easy to see.

A worked example

Here's a paragraph written for density:

Our free robots.txt checker is the best robots.txt checker. Use this robots.txt checker to check robots.txt files. A robots.txt checker helps with robots.txt checking.

It uses the target phrase constantly and tells the reader nothing. Here's a rewrite written for the reader:

Paste your domain to fetch its robots.txt file, then test any URL against a specific user agent such as Googlebot or GPTBot. The checker shows which rule matched, so you can see exactly why a page is allowed or blocked.

The rewrite mentions the tool's subject once. But it adds the concepts a reader needs (fetching the file, testing URLs, user agents, matching rules, allowed versus blocked), and it's far more useful for both the reader and a search engine trying to understand the page.

Checklist

  • Match the format and depth of the page to the searcher's intent.
  • Cover the questions a reader will have, including related concepts.
  • Use the main term where it's clearest: in the title, main heading and opening.
  • Run a density check to catch forced repetition and missing concepts, not to hit a percentage.
  • Read the page aloud. If it sounds written for a machine, rewrite it.

For the rest of a page's on-page setup, see meta tags for SEO and the SEO audit checklist.