Key takeaways
- Keyword density is the percentage of times a keyword appears compared to total word count. Formula: (keyword count / total words) x 100.
- Google does not use a target keyword density number. There is no magic percentage that guarantees rankings.
- Most well-ranking pages fall in the 0.5 to 2 percent range for their primary keyword. Below 0.5% risks weak topical signal; above 3% risks triggering keyword stuffing filters.
- Modern SEO has shifted from exact keyword repetition to topical relevance: using your keyword naturally alongside related terms, synonyms, and entities.
- Keyword density is most useful as a post-writing sanity check, not a writing target. Write naturally first, then check density to catch obvious over-use or under-use.
Keyword density is one of the oldest SEO concepts, and one of the most misunderstood. It started as a simple idea: repeat your keyword a certain number of times and Google will rank you. In the early days of search, that actually worked. Today, it can get your content filtered or penalized.
But keyword density is not completely irrelevant either. Google still needs to see your target keyword on the page. The question is how many times is enough, how many is too many, and what matters more than the raw count.
This guide explains what keyword density is, how to calculate it, what range works in practice, and how to use it as a useful editing check rather than a writing rule.
- What is keyword density?
- How to calculate keyword density
- The ideal keyword density range
- Does keyword density still matter?
- Keyword stuffing: when density becomes a problem
- What matters more than keyword density
- How to check your keyword density
- The practical keyword density workflow
- Frequently asked questions
What is keyword density?
Keyword density is the percentage of times a specific keyword or phrase appears in a piece of content relative to the total number of words. If a 2,000-word article mentions "SEO audit" 20 times, the keyword density for that phrase is 1 percent.
The concept applies to both single keywords (like "SEO") and multi-word phrases (like "technical SEO audit"). When SEO professionals talk about keyword density, they usually mean the density of their primary target keyword or keyphrase.
Keyword density is sometimes called "keyword frequency" or "keyword ratio." All three terms describe the same measurement.
A brief history
In the late 1990s and early 2000s, search engine algorithms were simpler. They relied heavily on keyword matching. Pages that mentioned a keyword more often were considered more relevant. SEO practitioners reverse-engineered an "ideal" density (usually quoted as 2 to 5 percent) and built entire strategies around hitting that number.
Webmasters started stuffing pages with hidden text, white-on-white keywords, and paragraphs of repeated phrases. Google responded by building algorithms that detect and penalize unnatural keyword usage. By the time Google launched the Panda update in 2011 and RankBrain in 2015, keyword density as a primary ranking strategy was effectively dead.
But the metric itself was not. Understanding keyword density is still useful, just not in the way people used it twenty years ago.
How to calculate keyword density
The formula is straightforward:
Keyword density = (Number of times keyword appears / Total word count) x 100
Single keyword example
An article has 1,500 words. The keyword "backlinks" appears 12 times.
Keyword density = (12 / 1,500) x 100 = 0.8%
Multi-word phrase example
The same 1,500-word article mentions "link building strategy" 8 times.
Keyword density = (8 / 1,500) x 100 = 0.53%
What counts as a keyword appearance?
Count every instance of the exact keyword or phrase in the visible text. This includes headings, body paragraphs, lists, image alt text, and any text the user can see. Do not count the keyword in meta tags, HTML attributes, or hidden elements, as those are separate on-page signals.
For multi-word phrases, most tools count exact matches only. "Link building" would not count as an appearance of "link building strategy" because it is a partial match. Some advanced tools also track close variations, but the standard density formula uses exact matches.
You can calculate density manually using your browser's find function (Ctrl+F), or use a keyword density checker that automates the calculation and shows density for one-word, two-word, and three-word phrases at once.
The ideal keyword density range
There is no universally ideal keyword density. Google has never published a target number, and John Mueller (Google's Search Advocate) has explicitly said there is no ideal percentage.
That said, patterns emerge when you look at pages that rank well:
- Below 0.5%: The keyword appears so rarely that Google may not have a strong enough signal to associate the page with that topic. A 2,000-word article with only two mentions of the target keyword is probably under-optimized.
- 0.5% to 1%: A natural range for most content. The keyword appears often enough to be clear, but not so often that it feels forced.
- 1% to 2%: Still within a natural range for many topics, especially shorter content. A 1,000-word page at 2% mentions the keyword 20 times, which can still read naturally depending on the topic.
- 2% to 3%: Getting into risky territory. At this density, the keyword is appearing roughly once every 30 to 50 words. Most content will start to feel repetitive at this level.
- Above 3%: Likely to read as keyword stuffing. At this density in a 1,500-word article, the keyword appears more than 45 times. That is almost always unnatural.
These ranges are descriptive, not prescriptive. They describe what tends to work, not what Google has mandated. A 5,000-word research piece might rank well at 0.3% density because the length and depth of the content provide plenty of topical signal through related terms. A 500-word product description might work fine at 2.5%.
The question is always: does the content read naturally? If you can remove some keyword repetitions and the content sounds better, it was probably over-optimized.
Does keyword density still matter?
The short answer: keyword density as a target is outdated. Keyword usage as a practice is not.
What changed
Google's algorithms evolved in three major ways that reduced the importance of keyword density:
- Semantic understanding (RankBrain, BERT, MUM): Google now understands synonyms, context, and meaning. A page about "how to fix a leaky faucet" does not need to repeat that exact phrase fifteen times. Google knows that "dripping tap repair," "stop faucet from leaking," and "plumbing fix" all relate to the same topic.
- Entity recognition: Google identifies real-world entities (people, places, things, concepts) and their relationships. When you mention "Google Search Console" on a page about SEO audits, Google connects those entities regardless of how many times either phrase appears.
- Quality signals: Google measures content quality through user behavior, E-E-A-T signals, backlinks, and content depth. A page with perfect keyword density but thin content will not outrank a thorough, well-written page with imperfect density.
What stayed the same
Despite these advances, Google still relies on keywords as a basic relevance signal:
- Your target keyword should appear in the title tag, the H1 heading, and naturally throughout the body text
- A page that never mentions the keyword it is trying to rank for will struggle, no matter how good the content is
- Extreme keyword repetition still triggers quality filters
Keyword density is best understood as a guardrail, not a target. You are not aiming for a specific percentage. You are making sure your keyword usage falls within a natural range and does not tip into over-optimization.
Keyword stuffing: when density becomes a problem
Keyword stuffing is the practice of loading a page with a keyword an unnaturally high number of times in an attempt to manipulate rankings. Google's Webmaster Guidelines explicitly list keyword stuffing as a violation.
What keyword stuffing looks like
Here is an example of keyword stuffing for the term "best running shoes":
"Looking for the best running shoes? Our best running shoes guide covers the best running shoes for every runner. Whether you need the best running shoes for flat feet or the best running shoes for marathons, we review the best running shoes available."
That paragraph mentions "best running shoes" seven times in 45 words, a density of over 15%. No human writes like that. It fails readers and it fails search engines.
Less obvious keyword stuffing
Keyword stuffing is not always that extreme. Subtler forms include:
- Forcing the exact keyword into every heading and subheading
- Repeating the keyword in every paragraph's opening sentence
- Adding keyword-heavy sentences at the beginning or end of the page that add no value
- Using the keyword in image alt text for every image on the page, even when it does not describe the image
- Hiding keyword text in the same color as the background
The consequences
Google's spam detection has gotten very good at identifying keyword stuffing. The consequences range from the page being ranked lower than it should be (algorithmic demotion) to a manual action from Google's spam team, which can remove your page from search results entirely. Even if Google does not penalize you, readers will bounce from content that reads like it was written for robots instead of people.
If you are worried about whether your content crosses the line, run it through a keyword density checker. If your primary keyword sits above 3% and the content reads awkwardly, you have work to do.
What matters more than keyword density
If keyword density is just a guardrail, what should you actually focus on?
1. Topical coverage
Google evaluates whether your page covers a topic thoroughly, not just whether it mentions one keyword enough. A page about "email marketing" should also cover related concepts like open rates, subject lines, segmentation, automation, and deliverability. This is what SEO professionals call topical authority.
Pages that cover a topic in depth tend to rank for dozens or hundreds of related keywords, not just the one they are targeting. That depth cannot be achieved by repeating a single keyword.
2. Search intent match
Google prioritizes pages that match what the searcher actually wants. If someone searches "keyword density," they want to understand the concept, not buy a tool. A 3,000-word guide will outrank a product page for that query regardless of keyword density on either page.
Understanding search intent starts with keyword research. Look at what currently ranks for your target keyword and match the format, depth, and angle.
3. Natural language and readability
Content that reads well keeps people on the page. Content that feels forced or repetitive causes bounces. Google's quality signals pick up on these engagement patterns. A naturally written article at 0.7% density will almost always outperform a keyword-stuffed article at 3%.
Read your content out loud. If any sentence sounds like you forced a keyword into it, rewrite it. Use synonyms and variations instead of repeating the exact same phrase.
4. Strategic keyword placement
Where you place your keyword matters more than how many times it appears. These positions carry more weight than keyword density:
- Title tag: Your primary keyword should appear in the title tag and meta description
- H1 heading: The main heading of the page should include or closely match the target keyword
- First 100 words: Mentioning the keyword early signals to Google (and readers) what the page is about
- Subheadings (H2, H3): Use the keyword or a close variation in one or two subheadings, not every one
- URL: Include the keyword in the page URL when possible
Getting these placements right is more impactful than counting total keyword occurrences across the body text.
5. Related keywords and LSI terms
Latent Semantic Indexing (LSI) terms are words and phrases that are semantically related to your target keyword. For "keyword density," LSI terms include keyword frequency, word count, keyword stuffing, on-page optimization, content optimization, and TF-IDF.
Using these related terms naturally throughout your content gives Google more context about your topic without needing to repeat the exact target keyword. This is how modern on-page SEO works: one primary keyword supported by a cluster of related terms.
How to check your keyword density
Manual method
- Open your page or document
- Use Ctrl+F (or Cmd+F on Mac) to search for your target keyword
- Note the number of occurrences
- Check your total word count (most text editors and Google Docs show this)
- Divide keyword count by total words, then multiply by 100
This works for a quick check, but it only tells you about one keyword at a time and does not show you which other words might be over-represented.
Using a keyword density tool
A keyword density checker tool gives you a more complete picture. Paste your content, enter your target keyword, and the tool calculates:
- Total word count
- Keyword frequency (exact match count)
- Keyword density percentage
- Reading time
- Top word frequency for one-word, two-word, and three-word phrases
The word frequency breakdown is especially useful. It shows you at a glance if any word or phrase is disproportionately repeated, even ones you did not realize you were overusing. Common offenders include filler phrases like "in order to," "it is important to note," and "as a matter of fact."
What to look for
When reviewing your keyword density results:
- Primary keyword 0.5 to 2%: You are in a healthy range. If the content reads naturally, no changes needed.
- Primary keyword above 3%: Reread the content. If it sounds repetitive, replace some instances with synonyms or remove the keyword where it adds no value.
- Primary keyword below 0.5%: Make sure the keyword appears in the first paragraph, at least one subheading, and naturally throughout the body. Your page may not be sending a strong enough signal about its topic.
- Any single word above 5%: Unless it is a common word like "the" or "and," investigate. A content-specific word appearing at 5%+ density suggests repetitive writing.
The practical keyword density workflow
Here is the workflow I use for every piece of content I write or review for clients:
Step 1: Write naturally first
Do not think about keyword density while writing your first draft. Focus on answering the reader's question thoroughly, using the language your audience actually uses. If your content is about the topic, the keyword will appear naturally.
Step 2: Check strategic placements
After the first draft, verify your keyword appears in:
- The title tag (check with the SERP snippet preview tool)
- The H1 heading
- The first 100 words
- At least one H2 or H3 subheading
- The URL slug
- The meta description
Step 3: Run a density check
Paste your content into a keyword density checker. Look at the primary keyword percentage and scan the top word frequency list for anything surprising.
Step 4: Adjust only if needed
If your primary keyword is in the 0.5 to 2% range and the content reads well, you are done. Only make changes if the density is clearly outside a natural range or if the word frequency list reveals accidental repetition.
Step 5: Check against competition
If you want to go further, check the keyword density of the top three to five ranking pages for your target keyword. This gives you a benchmark for what density Google currently considers appropriate for that topic. You are not trying to match their exact number. You are checking that you are in the same general range and not dramatically over or under the norm for that SERP.
Frequently asked questions
What is keyword density?
Keyword density is the percentage of times a target keyword appears in a piece of content compared to the total word count. You calculate it by dividing the number of times the keyword appears by the total number of words, then multiplying by 100. For example, if a keyword appears 15 times in a 1,500-word article, the keyword density is 1 percent. It applies to single words and multi-word phrases alike.
What is the ideal keyword density for SEO?
There is no ideal keyword density that guarantees rankings. Google does not use a target percentage. Most well-ranking content falls in the 0.5 to 2 percent range for the primary keyword. Below 0.5% and Google may not have enough signal to understand the page's focus. Above 3% and the content often starts reading unnaturally. Instead of targeting a number, write naturally and check density afterward to catch obvious problems.
Is keyword density still a ranking factor?
Keyword density by itself is not a direct ranking factor. Google's algorithms now analyze context, meaning, related terms, and user intent rather than counting keyword repetitions. However, keyword usage still matters. Google needs to see your target keyword on the page to understand what it is about. The shift is from exact keyword repetition to topical relevance: using the keyword naturally alongside related terms and synonyms signals more expertise than repeating the same phrase a set number of times.
How do I check keyword density?
You can check keyword density manually using Ctrl+F to count keyword appearances, then dividing by total word count and multiplying by 100. For a faster and more detailed analysis, use a keyword density checker tool that calculates density for single words, two-word phrases, and three-word phrases automatically, along with word count, reading time, and overall word frequency data.
Want to make sure your content is optimized without being over-optimized? I offer on-page SEO services that cover keyword strategy, content optimization, and the full range of on-page signals. Or start with a content strategy that plans your keywords, topics, and content calendar from the ground up. Get in touch to discuss your project.

