Skip to content
Enjoy 20% off for 12 months on all plans. Use promo code: HYPERGROWTHClaim it

Keyword density explained: how much is too much for SEO

SearchBlueprint · · 17 min read · scored 90/100

Close-up of notebook with SEO terms and keywords, highlighting digital marketing strategy.

Keyword density explained simply: it is the percentage of a page's words that match your target keyword, worked out as mentions divided by total words, times 100. Google does not use it as a ranking factor, but a very high density reads as keyword stuffing, and many SEO professionals treat 1-2% as a reasonable benchmark.

This guide is for anyone who writes or edits web pages, from bloggers and store owners to in-house marketers and agency writers. You'll get the formula with worked examples, the ranges popular tools use, the reason two checkers give you two different numbers, and what Google looks at instead of a percentage.

What is keyword density?

Keyword density is how often your target keyword appears on a page compared with the total number of words on that page. You'll also see it called keyword frequency, KW density or keyphrase density. Yoast switched to "keyphrase density" because most people now target phrases of two or more words rather than single words.

The number is a ratio, so it only means something next to the page's length. Ten mentions is heavy on a 300-word product page and light on a 3,000-word guide. That's why density became the standard way to talk about repetition: it puts a short page and a long one on the same scale.

What density can't tell you is whether the page is any good. It can't see whether you answered the question or put the keyword where it counts, so treat it as a smoke alarm for repetition rather than a measure of relevance.

Diagram showing keyword density as keyword mentions divided by total page words

The keyword density formula, explained with examples

Most tools use the same formula:

Keyword density = (number of keyword mentions / total word count) x 100

The simplest illustration comes from Yoast's guide to keyphrase density: in a 100-word text where your focus keyphrase appears 5 times, density is 5%, far above any range a tool would mark green. Real pages tend to look more like these two:

  1. A real blog post. Shopify's keyword density guide points to Gymshark's legging lengths guide, where "legging length" appears 11 times across 2,127 words. That works out to about 0.5%, and the page reads as if it was written for shoppers.
  2. A typical long article. A 1,500-word guide that uses its phrase 18 times gives 18 / 1,500 = 0.012, and 0.012 x 100 = 1.2%.

Mentions per page length

If you'd rather think in counts than percentages, work backwards from your word count. The table shows how many mentions each common benchmark implies.

Page length Mentions at 0.5% Mentions at 1% Mentions at 2% Mentions at 3%
300-word product page 1-2 3 6 9
800-word blog post 4 8 16 24
1,500-word guide 7-8 15 30 45
2,500-word pillar page 12-13 25 50 75

Look at the 3% column on a long page: seventy-five uses of one phrase in 2,500 words means it shows up about every 33 words, roughly once every two sentences, which few readers would sit through. That's one reason an upper limit that feels fine on a short page feels wrong on a long one.

The multi-word phrase problem

Most keywords today are phrases, and checkers don't agree on how to count them. There are two conventions:

  • Count occurrences. Each full use of "legging length" counts as one. This is the formula above, and it's how Yoast describes its check.
  • Count words occupied. Each use of "legging length" counts as two words, because the phrase takes up two words of the text.

On the Gymshark page, the first method gives 11 / 2,127 = 0.52% and the second gives 22 / 2,127 = 1.03%, so the same text produces one number double the other. With a four-word phrase the gap grows to four times. Before you compare your figure to any benchmark, find out which method your tool uses.

Short pages swing hard

On a 300-word page, one extra mention moves density by a third of a percentage point (1 / 300 = 0.33%). Two careless repeats can push a short page from 1% to nearly 2%. Yoast avoids that noise by skipping its keyphrase density check on any text under 100 words.

Worked keyword density calculation for a 1,500-word article with 18 keyword mentions

Does keyword density matter for SEO?

It isn't a ranking factor. Using your keyword still matters, though, and the gap between those two statements is where most of the confusion starts.

What Google has said about repeating keywords

Google has pushed back on keyword counting for more than a decade. In 2011 it explained that the first one or two times you mention a word might help a page rank, but saying it seven or eight times doesn't necessarily help. More recently, Google's John Mueller denied that keyword density is a ranking factor when someone asked about it on Reddit.

Google's own explanations, published through Google Search Central, treat keywords as a relevance signal. If the words someone searched for appear on a page, in its headings or its body text, the page might be more relevant to them. What helps is the words being present and well placed, and repeating them past that point adds little.

Why the number still tells you something

Density is useful as a diagnostic in both directions.

A very low figure can mean the page drifted off topic. Yoast's advice is that when density is too low, you should make it clearer what the text is about. A reader who searched for a standing desk expects to see the words "standing desk" early, and when they don't, they may decide they're on the wrong page and leave.

A very high figure is the more common problem. It usually means a writer forced the phrase in, and readers notice that before search engines do.

Search engines also understand meaning without exact repeats. Shopify's guide points to Duer's homepage, where the word "jeans" appears only a few times, yet Google still reads the page as being about jeans because related words such as "denim," "pants" and "high-rise" carry the topic. Our guide to the role of keywords in SEO covers which keyword signals still move rankings.

A stuffing score in leaked documents

Stuffing may also be measured directly. The SEO Review Tools keyword density checker reports that Google's leaked search API documentation includes an attribute called "KeywordStuffingScore," rated from 0 (no stuffing) to 127 (the highest level). How Google uses that value isn't public. Its existence still fits what Google says in public: repetition gets watched for abuse, and there's no sign it gets rewarded for volume.

Chart comparing a natural keyword pattern with a stuffed pattern across one page

What is a good keyword density?

Google has never published an ideal figure. The ranges you see come from tools and practitioners, and they sit close enough to each other to be useful as long as you know where each one comes from.

Source Guidance How it counts matches Worth knowing
Google No ideal density Not applicable Keyword density is not a ranking factor, and stuffing breaks Google's spam policies
Yoast SEO (free) 0.5% to 3% earns a green light Every word of the keyphrase inside one sentence, in any order The check runs only on texts of 100+ words and shows counts, not percentages
Yoast SEO Premium and Yoast for Shopify Up to 3.5% Also counts word forms, such as "bake" and "baking" Related keyphrases get a density check of their own
Common SEO benchmark, as cited by Shopify 1% to 2% Exact keyword Equals 10 to 20 mentions per 1,000 words
Older rule of thumb some SEOs use One mention per 100 to 200 words Exact keyword Works out to 0.5% to 1%

How Yoast scores it

Yoast SEO is the density check most WordPress writers meet first. Its site lists a 4.8-star rating from 27,819 users, so its traffic lights shape how a lot of people write. A few details explain its scoring:

  • It weights by keyphrase length. A longer keyphrase needs fewer uses for a green light than a short one, because long phrases are harder to repeat naturally.
  • It shows absolute counts, such as how many times you used the phrase against how many it advises, rather than a percentage.
  • Synonyms don't count toward the score, though they help readability, and Yoast's keyphrase distribution check highlights them so you can see whether the topic runs through the whole text.

If Yoast shows red and you're sure the phrase is there, check the spelling in the focus keyphrase field and make sure the full phrase sits inside one sentence. Capital letters don't affect matching, but some visual page builders can stop the plugin from reading your content at all, which distorts every result.

Under is safer than over

Shopify's guide makes a point worth repeating: with modern search engines, a page slightly under the 1-2% benchmark is generally safer than one well over it. A page at 0.6% that answers the question well has nothing to fix, while one at 4% has a readability problem whether or not a search engine ever penalizes it.

Keyword density vs. keyword stuffing

Keyword density describes how often a phrase appears. Stuffing means repeating keywords unnaturally to manipulate rankings, often to rank for many terms at once while giving the reader nothing new.

Stuffing worked in the early days of search because algorithms were simple. Google's Penguin update made it ineffective, and today it breaks the spam policies set out in Google Search Essentials. A site that does it heavily risks a manual action, which can remove its pages from search results altogether.

Here's the difference for the phrase "cheap running shoes":

Stuffed: Looking for cheap running shoes? Our cheap running shoes are the best cheap running shoes online, and every pair of cheap running shoes ships free.

Natural: Our cheap running shoes start with last season's trainers, marked down because the colors changed while the soles stayed the same, and every pair ships free.

The stuffed version runs 25 words with four uses of the phrase. That's 16% by the occurrence method, and 48% if you count the words the phrase occupies. The natural version uses the phrase once and lets the details do the rest.

Signs you've crossed the line

You rarely need a tool to spot stuffing. Watch for these:

  • The keyword appears in back-to-back sentences, or twice in one sentence.
  • Every heading repeats the same phrase word for word.
  • Sentences bend to fit the phrase, as in "if you need a plumber Tampa residents trust."
  • A block of text lists cities or keyword variations with no real content around them.
  • Image alt text reads like a keyword list instead of a description of the image.
  • The paragraph sounds odd when you read it aloud.

Why keyword density checkers give different numbers

Run one page through three density checkers and you may get three results. The tools aren't broken; they measure different text and count matches in different ways.

What counts as the text

Factor What the tool does Effect on your density figure
Stop words Drops words like "the," "and" and "of" from the total The total shrinks, so density rises
Title and meta tags Some tools, such as the SEO Review Tools checker, remove the title tag, meta description and meta keywords Mentions in those tags stop counting
Comments Some checkers strip the WordPress comments section Mentions in reader comments stop counting
Menus, sidebars and footers URL-based tools may read the whole page, navigation included The total grows, so density falls
Phrase method Counts occurrences, or the words the phrase occupies A two-word phrase can read twice as dense

What counts as a match

Matching rules vary just as much. Yoast counts a match when every word of the keyphrase appears in one sentence, in any order, so "bake vegan pancakes" matches a sentence about how to "bake the best vegan pancakes." Yoast SEO Premium also recognizes word forms, so "baking a vegan pancake" counts too. A simpler checker hunting for the exact string would count neither.

The practical rule is to pick one tool, learn how it counts, and compare pages with that tool only. A 1.4% from one checker and a 2.1% from another may describe the same page.

TF-IDF and topic coverage: what matters more than repetition

Once you have keyword density explained, the next idea you'll meet is TF-IDF, short for term frequency-inverse document frequency. It weighs how often a term appears on your page against how common that term is across similar pages. The result shows how important the term is to this particular document, which is a wider view than counting one phrase.

Context changes meaning, and this kind of analysis shows it. Shopify's guide uses Death Wish as an example: the phrase could describe a movie or a state of mind, but put it next to "coffee," "brew," "drip" and "fair trade," and a search engine can tell the page is about the Death Wish coffee brand.

Where TF-IDF fits today

Google's John Mueller has advised against focusing on TF-IDF, because modern search engines use more advanced ways to judge relevance. Shopify's guide describes it as a conceptual model more than a score to chase. It's still handy for one job: comparing your page with the pages that already rank, to spot related terms you left out.

Say you're writing about wireless printers. A thorough page will mention print speed, ink costs, Wi-Fi setup, mobile printing and specific brands, because searchers want that detail. Those related terms show a search engine that you covered the topic, which repeating "wireless printer" twenty more times can't do. This guide to semantic SEO and why topics beat keywords explains how to plan a page around a topic instead of a phrase.

How to check your keyword density yourself

You can do this in a few minutes without paid software.

  1. Copy only the body text. Leave out menus, footers, cookie banners and comments, so the total reflects the words readers actually get.
  2. Paste the text into a free word counter that also shows density to get the total and your keyword frequency in one place.
  3. Use the find function in your browser or editor to count exact uses of your phrase, then count close variants separately.
  4. Divide exact uses by the total and multiply by 100, and note which method you used for multi-word phrases.
  5. Read it aloud. This step catches stuffing that a number misses, and any sentence that sounds like it was written for a machine needs a rewrite.

Reading the result

  • Under 0.5%: check that the keyword appears in the title and H1, and early in the first paragraph. If it does and the page answers the question, you're probably fine; when it doesn't, readers may not be sure what the page is about.
  • About 0.5% to 2.5%: stop editing for density. Your time is better spent on depth and examples.
  • Between 2.5% and 3%: you're inside Yoast's green range, but read the densest paragraphs aloud before you publish.
  • Above 3%: swap some exact mentions for synonyms and pronouns. Start with the repeats that sit in back-to-back sentences.

To check a live URL rather than pasted text, run the page through an on-page SEO scorer, which grades the page's on-page SEO in one pass instead of a single ratio.

Why keyword placement matters more than keyword density

Where the phrase appears tells readers and search engines more than how often it appears. Pages that rank well tend to put the primary keyword in a small set of high-value spots and use variations everywhere else.

Where your primary keyword belongs

  • Title tag: ideally near the front.
  • H1: in a natural form, and it doesn't have to match the title exactly.
  • First 100 words: so readers know right away they're in the right place.
  • One or two H2 or H3 headings: a couple, never all of them.
  • URL slug: short and readable.
  • Meta description: it helps the page win the click in search results.
  • Image alt text: only where it honestly describes the image.

Shopify's guide shows this with a Beardbrand post on beard straighteners. The primary keyword "beard straightener" sits in the H1, the first 100 words and prominent H2s, while secondary terms such as "heated brushes" and "hot air brushes" appear in H3s and body copy. The rest of the article covers the topic from several angles instead of repeating the phrase. For a full pre-publish list, work through this on-page SEO checklist of 27 checks.

Secondary keywords and variations

Most pages target one primary keyword, backed by a few secondary ones such as synonyms and long-tail versions of the main phrase. Use them in the remaining headings, the body, internal link anchors and alt text. They let one page rank for more queries, and they give you a natural way to avoid repeating the main phrase.

Search intent comes first

The reason behind a query is its search intent, and unlike density it does affect rankings. There are four common types:

  • Informational: the searcher wants to learn ("how to repot a cactus").
  • Navigational: they want a specific site ("Gmail sign in").
  • Commercial: they're comparing before they buy ("best espresso machine for beginners").
  • Transactional: they're ready to buy ("buy espresso beans online").

A page can hit a tidy density and still miss. If someone searches for how to repot a cactus and lands on a list of cactus products, the keyword may sit at 1.5% and the page will still let them down. Check the top results for your keyword before you write, and match the format they use.

Can you manage keyword density on your own?

For a single blog post or product page, yes. A word counter and one read-aloud pass are enough. Once the page answers the question and the keyword sits in the right places, density tends to land in a sensible range without you steering it. If you want a process for the whole piece, these six steps for creating SEO content that keeps growing run from research through publishing.

When outside help pays off

Keyword use gets harder to manage at scale. These are the situations where an audit earns its keep:

  • Templated pages. Location pages or product variants built from one template can repeat the same phrase across dozens or hundreds of URLs, and a single-page check will never show it.
  • Ecommerce categories. Product names in every product tile and breadcrumb can inflate density on category pages without anyone writing a word.
  • Old content written for old rules. Posts from the stuffing era may still carry repeated phrases in footers and tag clouds.
  • A drop you can't explain. If rankings fell after an update and the pages feel over-optimized, the fix is usually a rewrite for readers, and it helps to know which pages to start with.

FAQs

What is a good keyword density for SEO?

There's no official figure. Yoast's free plugin marks 0.5% to 3% as green, and many SEO professionals use 1% to 2% as a benchmark, though being slightly under is generally safer than being well over.

How do you calculate keyword density?

Divide the number of times your keyword appears by the total word count, then multiply by 100. For example, a keyword used 15 times in a 1,500-word article has a density of 1%.

How many times should a keyword appear in 1,000 words?

At the common 1% to 2% benchmark, that's 10 to 20 times. Treat the range as a guide, since natural pages often sit lower and do fine as long as the keyword shows up in the title, the H1, the first paragraph and a heading or two.

Is keyword density a Google ranking factor?

No. Google said as far back as 2011 that repeating a word seven or eight times doesn't necessarily help rankings, and John Mueller has since denied it's a ranking factor. Keyword stuffing does break Google's spam policies, so a very high density can hurt.

Do keyword density checkers count headings and meta tags?

It depends on the tool. Some, such as the SEO Review Tools checker, remove the title tag and meta description from their statistics and drop stop words from the total, while others read everything on the page, menus included. That's why one page can score differently in different tools.

See what a full audit finds on your pages

Open the sample SEO report to see what a full audit of a real website covers. If you want the same view of your own pages, talk to the team. Having keyword density explained is the easy part; an audit shows which of your pages need a rewrite and which only need a better title.

See what this looks like on your own sitePaste a URL and SearchBlueprint scores it on the same content engine that scored this article, then names the fixes in the order they pay off.Get your free plan

Resources / References

  1. Yoast's guide to keyphrase density
  2. Shopify's keyword density guide
  3. Google Search Central
  4. SEO Review Tools keyword density checker
  5. Google Search Essentials

Related reading: Keyword Density for SEO: Why the Percentage Is a Myth.

Sources

Disclaimer: This article is general information about rules and figures that applied when it was written, not personalised financial, tax or investment advice. It does not take account of your income, obligations, risk tolerance or goals, and rates and thresholds change. Verify the current position with the relevant authority, and speak to a licensed adviser or a qualified accountant before acting.

About the author

SearchBlueprint researched, wrote and scored this article with the content pipeline our customers run on their own sites. The score in the byline is what our content engine gave this page before it published. Nothing here is reviewed by hand, which is the point: it is the product's output, published where anyone can check it.