Keyword Density in 2026: What Google Says
Keyword density is the number of times a phrase appears on a page, divided by the total words on that page, times 100, and Yoast's own guidance gives the simplest example: a 100-word text that uses the focus phrase 5 times has a density of 5 percent.
That is the whole formula, you can work it out in a minute, and Google publishes no target for it. The only line Google draws is about repetition a reader would notice, and keyword stuffing does break its spam policies.
This post is for anyone who writes or edits pages that need to rank, and you will see what Google and Yoast each say, and how to check a page without chasing a percentage. My view: measure density to catch an accident, never to hit a target.
How do you calculate keyword density?
Count how many times the exact phrase appears, count the total words, divide the first by the second, and multiply by 100: for example, a 1,200-word service page that uses "roof repair" 18 times sits at 1.5 percent. The math is easy, but the hard part is deciding what counts as one use of a phrase.
In that example, some people count each word of a two-word phrase as a hit, so 18 uses of "roof repair" add 36 words to the tally and give 3 percent, while others count the phrase once and get 1.5 percent. That is my own note on the arithmetic, and it is why two calculators can disagree on one page.
What does Google say about keyword density?
Nothing, in number form, since none of the Google pages on spam, helpful content or SEO basics gives a keyword density figure. Google's SEO Starter Guide says "Excessively repeating the same words over and over (even in variations) is tiring for users, and keyword stuffing is against Google's spam policies" and stops there.
That line sits in the Google SEO Starter Guide under "Things we believe you shouldn't focus on" near the end, and my favorite line comes under content length: "If you are varying the words (writing naturally to not be repetitive), you have more chances to show up in Search simply because you are using more keywords" in Google's own words. The same entry says there is "no magical word count target," which our guide to ideal word count for blog posts and meta tags also covers.
Google's helpful content page 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.)" and I think density works the same way.
What counts as keyword stuffing under Google's spam policies?
Google defines keyword stuffing as filling a page with keywords or numbers to try to manipulate rankings, and it names three examples: lists of phone numbers with no real added value, blocks of text that list cities and regions, and words repeated so often that the page sounds unnatural. Sites that break the policy may rank lower or drop out of results.
Google's spam policies for Google web search add one clue I find most useful: they say "Often these keywords appear in a list or group, unnaturally, or out of context" and no part of that is a count.
Google says it detects violations "both through automated systems and, as needed, human review that can result in a manual action" on its policy page, and it also warns, "Sites that violate our policies may rank lower in results or not appear in results at all," so ignoring repetition is plainly wrong, but chasing a set percent is just as wrong, because Google never names one.
Where does the 0.5 to 3 percent rule come from?
It comes from Yoast SEO, a WordPress plugin, not from Google, and Yoast's own guidance says the free plugin gives a green light when your keyphrase density lies between 0.5 and 3 percent. Even Yoast writes that "Using your exact keyphrase a specific number of times has become less important," so it is one plugin's check, not a law of search.
The Yoast article on keyphrase density by Camille Cunningham, dated January 23, 2024, says "We used to call it keyword density" and lists a few rules.
- A match counts only when all words of the phrase sit in one sentence, in any order.
- Yoast SEO Premium and Yoast's Shopify app recognize word forms in certain languages, so their upper bound is 3.5 percent.
- Phrase length is "a weighting factor," so a longer phrase needs fewer uses for a green light.
- The check only runs when the page has at least 100 words.
My take: it is a sensible guardrail for the page that says "roof repair" in every other line, and our guide to fixing the WordPress SEO defaults explains which plugin settings matter and which are noise.
Which sources give a number for repeated keywords?
Only one does, and it is a plugin, while Google's spam policies, Starter Guide, helpful content page and Manual Actions help all describe the problem in words and give no figure. Yoast SEO's free plugin is the only one with a range, and Wikipedia's TF-IDF entry describes a weighting method, not a target.
Every cell comes from the publisher's own page, saved on October 3, 2026.
| Source | What it says about repeating keywords | Does it give a number? | Source page |
|---|---|---|---|
| Google spam policies | Stuffing includes repeating words "so often that it sounds unnatural" | No | Spam policies for Google web search |
| Google SEO Starter Guide | Repeating the same words over and over is "tiring for users" | No | SEO Starter Guide |
| Google helpful content page | Warns against writing to a word count, since Google has no preferred one | No | Creating helpful, reliable, people-first content |
| Google Manual Actions help | Check for "lists or paragraphs of repeated words without any context" | No | Manual actions report |
| Yoast SEO free plugin | Green light between 0.5 and 3 percent, up to 3.5 percent in Premium and Shopify | Yes | What is keyphrase density and why is it important? |
| Wikipedia on TF-IDF | Measures how important a word is to one document in a collection | No | TF-IDF entry on Wikipedia |
What does a stuffed page look like in practice?
It looks like a list nobody asked for, such as a footer packed with towns, a block of phone numbers, a phrase that shows up in every line, or title tags and alt text full of the same words, and Google's Manual Actions help names those last two spots, while its spam policies treat hidden text under a separate rule.
For example, a roofing company in Phoenix, Arizona, might list 40 suburbs it "serves" in the footer of every page, but real local reach comes from elsewhere, as our guide to local SEO and the Google Business Profile explains.
Google's hidden text rule lists "Using white text on a white background," "Hiding text behind an image," "Using CSS to position text off-screen" and "Setting the font size or opacity to 0" as examples. On images, alt text should describe the picture, which our guide to image optimization and alt text covers.
Is TF-IDF a smarter measure than raw density?
In my view, yes, but only a little, because TF-IDF weighs a word by how often it shows up on one page and how rare it is across many pages, so common words count for less. Wikipedia notes that versions of it "were often used by search engines" in the past, but no source here says Google uses it today.
Wikipedia credits Karen Spärck Jones with the idea of inverse document frequency in 1972, and in its example of Shakespeare's 37 plays, "Romeo" shows up in just 1 play, so it tells you a lot about which play you are reading, while the words "good" and "sweet" show up in all 37, so they get an inverse document frequency of 0 and tell you nothing.
My view is that a score telling you to add a word 14 more times is still a counting game, and I think modern relevance is about topics and the things words point to, which our guide to entity SEO and the Knowledge Graph explores.
Do synonyms and word variations help a page rank?
They help readers, and Google says they can widen your reach: its Starter Guide notes that some people search for "charcuterie" while others search for "cheese board," and that its language matching systems can link a page to many queries without the exact terms. Yoast adds that synonyms do not count toward its density score.
Our keyword research playbook shows how to find the words your buyers use, and our guide to search intent and micro-intents shows how to match a page to what the searcher wants.
Where else can one repeated phrase hurt a page?
My reasoning is that repetition costs you in three places beyond spam: a title tag that repeats a phrase reads like a list, and headings that all say the same thing stop guiding the reader, and several pages chasing one phrase can end up competing with each other. None of these needs a density score to spot.
Our post on why Google rewrites your title tag covers what happens to a stuffed title. For headings, see our guide to H1 to H6 heading tags, and for pages that compete for one phrase, see our guide to keyword cannibalization.
How should you treat repetition on pages in other languages?
Write each language for its own readers and judge it by ear. Yoast's own guidance warns that some non-Latin, non-ideograph languages "may not calculate accurately" in its check, so a percentage can mislead. Reading a page aloud, or asking a native speaker to, works in any language and catches the same stuffing a score would.
For example, take a skincare brand in Seoul, South Korea, with Korean and English pages. Hangul is neither Latin nor ideograph based, so read that copy aloud rather than trusting a keyword density figure. Our guide to ranking in Korean search on Naver covers that market.
For example, a bakery in Lyon, France, with French and English pages should write each version for its own readers. Our hreflang and international SEO guide shows how to link those versions.
How do you audit a page for over-repetition?
Read the page aloud first, then search it for your main phrase and see where the hits bunch up. Check the title tag, headings, alt text and footer, since Google's Manual Actions help names title tags and alt text. Look for hidden text too, then swap the extra uses for words a customer would say.
- Check for "lists or paragraphs of repeated words without any context," in Google's words.
- Check title tags and alt text for strings of repeated words.
- Look for text that is the same, or a similar, color as the background, and for text hidden with CSS.
- Use the URL Inspection tool in Search Console to spot text the crawler sees but people do not.
Our on-page SEO checklist covers the rest of the page, and our guide to running a technical SEO audit developers will ship helps when the fix needs a developer.
If the Manual Actions report already shows a hidden text or keyword stuffing action, Google's help page says to remove every instance, then select Request Review. Our manual actions recovery guide walks through the full process.
Which keyword density fix should come first?
Fix the spots a reader sees first: the title tag, the first paragraph, the headings and any footer list of towns or phone numbers. Cut each repeat you would not say out loud to a customer, and use plain variations instead. Then run the count once with one fixed rule, just to catch an accident.
Keyword density is a smoke alarm, not a thermostat, since it tells you when something is burning and nothing about how warm the room should be. Open your top page now, read the first screen aloud, and rewrite any sentence where the same phrase shows up twice.
Frequently asked questions
Is keyword density a ranking factor in Google?
Google does not publish a density number anywhere in the pages covered here, and none of them names density as something to aim for, but what it does say is that stuffing is spam, and that writing naturally with varied words gives you more chances to show up in Search, so the count itself is not the goal. Repetition a reader notices is the problem, and it can cost you rankings under the spam policies. Treat the figure as a check, not a dial.
What is a good keyword density for SEO?
There is no good number from Google, because Google does not give one, and the range people often quote, 0.5 to 3 percent, is the green zone in Yoast's free plugin, and Yoast itself says exact phrase counts have become less important. My advice is to use the phrase where it fits naturally, in the title, the opening and a heading or two, and then stop counting. If a line sounds odd when you read it aloud, it has one use too many.
Can keyword stuffing get a site penalized?
Yes, since Google's spam policies say it finds violations through automated systems and, when needed, human review that can lead to a manual action. Sites that break the rules may rank lower or not appear in results at all, and a manual action for hidden text or keyword stuffing shows in the Manual Actions report in Search Console. Not every drop is a penalty, though, so check that report before you assume the worst and start cutting words from pages that are fine.
Does Google use the meta keywords tag?
No, since Google's SEO Starter Guide says that "Google Search doesn't use the keywords meta tag" in its list of things not to focus on. Stuffing a long list of phrases there will not help you rank on Google, but I would still keep it empty or short, because a bloated list tells anyone who views the source that the page was built for a checklist. Spend that time instead on the title tag and the opening lines that people actually read.
Do keywords in a domain name or URL help?
Not much, by Google's own account, since the SEO Starter Guide says keywords in the domain name or URL path "alone have hardly any effect beyond appearing in breadcrumbs" in search results, so a URL that repeats the main phrase twice gains little, and I think it looks spammy to a reader. Pick a short, clear URL with words that describe the page, and choose a domain name that fits your business. In my view, a memorable name does more work than an exact phrase.
Is keyphrase density the same as keyword density?
Mostly, yes, and Yoast renamed its check because it is now more common to target a search term of more than one word. The math is the same: uses of the phrase compared to the total words on the page, and the catch is in the matching. Yoast SEO Premium and Yoast's Shopify app also count word forms such as "train" and "training" in certain languages, which is why their upper limit is 3.5 percent instead of 3. Either way, synonyms do not count toward the score.
Why does Yoast show a red light for my keyphrase?
Yoast's own guidance lists a few causes, starting with using the phrase too often or not enough. The full phrase may not sit inside one sentence, so it is not counted. A spelling slip in the focus keyphrase field, such as "pencake" for "pancake," will block a match, though capital letters do not matter. Some WordPress page builders also conflict with the plugin and distort the result. Fix those first, then judge the copy by reading it aloud rather than by the light.
Is all hidden text against Google's rules?
No, because Google's spam policies say that accordions or tabs that toggle content, sliders, tooltips and text that helps screen reader users do not break its rules. The problem is text placed on a page only for search engines, such as white text on a white background or words pushed off screen with CSS. My test: if a visitor can open, tap or hear the content as part of normal use, it is fine. If nobody is meant to see it, remove it.
How many times should a keyword appear on a page?
Google gives no count. Yoast's plugin gives one, but even Yoast shows you an exact number of uses rather than a percentage, because it feels absolute numbers are easier to work with. Its target also shifts with phrase length, so a longer phrase needs fewer uses. My rule of thumb is to use the main phrase where a reader expects it, then use plain variations everywhere else. If you have to bend a sentence to fit it in, cut that use.
Are pages for many cities a form of keyword stuffing?
Not by the stuffing rule itself, but they can break a different one: Google's spam policies list "Having multiple domain names or pages targeted at specific regions or cities that funnel users to one page" as doorway abuse. In my view, a city page earns its place when it holds real local detail, such as staff, jobs done or prices in that area. If you could swap the town name and nothing else would change, I would merge it into one strong service page.