
Quick answer
Keyword density is the percentage of words on a page that are a specific keyword, calculated by dividing the number of times the keyword appears by the total word count and multiplying by 100. It was once treated as a ranking lever, but Google has never published an ideal density and modern systems understand topics through meaning rather than repetition. Use the keyword where it fits naturally, avoid stuffing, and focus on covering the topic well.

Keyword density is one of the oldest ideas in SEO. In the early days of search, repeating a phrase more often could genuinely help a page rank. Many tools still report a density score, and some writers still aim for a specific percentage.
This guide explains what keyword density is, how to calculate it, why there is no magic number, and what actually helps a page rank for its target keyword today. It also covers how to avoid keyword stuffing, which Google treats as spam.
In this guide
- What Is Keyword Density?
- How to Calculate Keyword Density
- Is There an Ideal Keyword Density?
- Why Keyword Density Matters Less Than It Used To
- What Is Keyword Stuffing?
- What to Focus On Instead
- When Density Checks Are Still Useful
- Density in Titles, Templates, and Product Pages
- Keyword Placement vs Keyword Density
- Frequently asked questions
What Is Keyword Density?
Keyword density measures how often a keyword appears on a page compared with the total number of words. If a 1,000-word article uses the phrase cast iron care ten times, and the phrase is three words long, those ten uses account for 30 of the 1,000 words.
There are two ways tools calculate it. The simple method counts each appearance as one, giving a density of 1 percent in the example. The word-share method counts every word in the phrase, giving 3 percent. Different tools use different methods, which is one reason density scores rarely match from one tool to another.
How to Calculate Keyword Density
The simple formula is easy to apply by hand.
| Step | What to do | Example |
|---|---|---|
| 1 | Count how many times the keyword appears | 8 times |
| 2 | Count the total words on the page | 1,600 words |
| 3 | Divide step 1 by step 2 | 8 divided by 1,600 = 0.005 |
| 4 | Multiply by 100 for a percentage | 0.5 percent |
For multi-word keywords, decide whether you want the simple count or the word share and use the same method every time. Most free density checkers will do the counting for you if you paste in the text or a URL.
Is There an Ideal Keyword Density?
No. Google has never published a target percentage, and its representatives have repeatedly said that keyword density is not something its systems look for. Google’s Matt Cutts said in a widely shared video that the first one or two mentions of a word help Google understand a page, and that further repetition adds less and less value.
Numbers such as 1 to 2 percent circulate widely, but they are rules of thumb invented by the SEO industry, not guidance from search engines. Pages rank at a wide range of densities, from well under 1 percent to several percent, depending on the topic and how naturally the term appears.
The Rule
Use the keyword where it describes the page accurately, such as the title, opening, and a heading. After that, let the topic decide how often the word appears.
Why Keyword Density Matters Less Than It Used To
Modern search engines understand meaning, not just matching words. Google’s ranking systems include language models such as BERT, which interpret how the words in a query relate to each other, and neural matching, which connects queries to pages that express the same idea in different words.
That means a page does not need to repeat an exact phrase to be understood as relevant. A guide on cast iron care that discusses seasoning, rust removal, oils, and scrubbing is clearly about cast iron care, even if the exact phrase appears only a few times.
It also means topical coverage matters far more than repetition. A page that answers the main question and the related questions readers have will usually beat a page that simply repeats the keyword more often.
What Is Keyword Stuffing?
Keyword stuffing is the practice of loading a page with keywords in an attempt to manipulate rankings. Google’s spam policies list it explicitly and give examples such as lists of phone numbers without added value, blocks of text listing cities and regions a page is trying to rank for, and repeating the same words or phrases so often that it sounds unnatural.
Common Mistake
Hiding extra keywords in white text on a white background, in tiny fonts, or behind images. This is hidden text, another violation in Google’s spam policies, and it can lead to a manual action against the site.
Stuffing also hurts readers. A sentence such as If you want cast iron care tips, our cast iron care guide covers cast iron care for every cast iron pan reads badly, and visitors leave.
What to Focus On Instead
Several habits do far more for rankings than any density target.
- Put the keyword in the title tag, ideally near the start.
- Use it naturally in the first 100 words, so the topic is clear immediately.
- Include it in at least one heading where it fits.
- Use related terms and synonyms that a knowledgeable writer would naturally include.
- Answer the questions people ask about the topic, using People Also Ask and autocomplete as a guide.
- Add specific details, examples, and data that generic content lacks.
Example
Two pages target best hiking boots for wide feet. The first uses the phrase 22 times in 1,200 words. The second uses it four times but tests six boots, gives toe box widths in millimeters, and explains fit for different foot shapes. The second page is far more useful and is the one more likely to rank and earn links.
When Density Checks Are Still Useful
Density checks can catch problems in both directions. A very high count may signal accidental stuffing, particularly in templates, footers, or product descriptions generated automatically. A count of zero, or a keyword only in the title, may mean the page never states its topic clearly in the body.
Density checks are also useful when content is produced at scale, such as by several freelance writers or with AI drafting tools. Unusual repetition is often the first visible sign that a draft was written to a formula rather than for a reader.
Treat density as a quick sanity check rather than a target. If the text reads naturally to a person and the topic is clear, the number does not need adjusting.
Density in Titles, Templates, and Product Pages
Stuffing is not always deliberate. It often creeps in through templates. A shop that adds the category name to every product title, description, image alt attribute, and breadcrumb can end up repeating one phrase dozens of times per page without anyone writing it by hand.
Local business sites face a similar risk. Footers that list every town served, or service pages that differ only by the city name, can look like the doorway pages and keyword lists that Google’s spam policies describe.
The fix in both cases is to review the template rather than the individual page. Remove repetition that adds nothing for the reader, and give each page enough unique content to stand on its own.
Keyword Placement vs Keyword Density
Where a keyword appears matters more than how often. A single use in the title tag carries more weight than several uses buried deep in the body, because the title is one of the most prominent descriptions of a page that search engines read.
The same is true of the opening paragraph and the headings. These are the places readers look first to confirm they have found the right page, and they are the places search engines look for a clear statement of topic.
Placement also affects how a page appears in search. Google bolds words that match the query in some snippets, so a keyword in the meta description or opening sentence can make a result stand out. That is a click-through benefit that no density figure can measure.
Key takeaways
- Keyword density is the share of words on a page made up by a specific keyword.
- Google has never published an ideal density, and common percentages are industry rules of thumb.
- Modern language systems understand meaning, so topical coverage beats repetition.
- Keyword stuffing is a violation of Google’s spam policies and hurts readability.
- Use the keyword in the title, opening, and a heading, then write naturally.
Frequently Asked Questions
What is a good keyword density?
There is no ideal figure. Use the keyword where it fits naturally and focus on covering the topic well.
How do I calculate keyword density?
Divide the number of times the keyword appears by the total word count, then multiply by 100.
Does Google use keyword density?
Google has said it does not look for a specific density. It focuses on relevance and how well a page covers a topic.
What counts as keyword stuffing?
Repeating keywords so often that text sounds unnatural, or adding lists of keywords and hidden text to manipulate rankings.
Should I still use keywords in my content?
Yes. Keywords show what your page is about. Place them in the title, opening, and headings, then write naturally.
Related guides
Continue learning
Sources
Researched from Google documentation, published studies and hands-on experience, then reviewed for accuracy before publishing. Learn how we work in our editorial policy.

