Keyword density
What is keyword density?
Keyword density is the number of times a keyword appears on a page divided by the total number of words, shown as a percentage. A 1,000-word page that uses "cast iron pan" 10 times has a keyword density of 1%. It was a popular SEO metric in the early 2000s, when search engines leaned heavily on word counts.
Today it is not a useful target. Google has said there is no ideal keyword density and that it does not count keyword repetitions to rank pages. Modern search understands synonyms, related terms and meaning, so a page can rank for a phrase it barely repeats. Advice to hit "2-3%" comes from old SEO folklore, not from any search engine.
Why keyword density matters for SEO
Keyword density matters mainly as a warning sign. Repeating a keyword unnaturally to push the number up is keyword stuffing, which Google’s spam policies forbid and which can lead to lower rankings or a manual action. It also makes pages worse to read.
What does matter is that the page clearly covers its topic: the primary keyword in the title, H1 and opening, and the related subtopics a searcher expects. Write for the reader and the density takes care of itself.
How to use keywords naturally
- Use your primary keyword in the title tag, H1, URL and first paragraph.
- Cover the topic’s subtopics and questions, using whatever wording reads naturally.
- Use synonyms and pronouns instead of repeating the exact phrase.
- Read the page aloud. If a phrase sounds forced, rewrite it.
- Ignore density targets in SEO plugins; treat any very high figure only as a prompt to check for stuffing.
Keyword density example
Density = (times the keyword appears ÷ total words) × 100. A 1,200-word guide that says "sourdough starter" 9 times has a density of 0.75%. That number tells you nothing about how well the page will rank; whether it answers the question does.
Keyword density FAQ
What is the ideal keyword density?
There is none. Google does not use a density target. Use the keyword where it fits naturally and focus on covering the topic well.
Can high keyword density hurt rankings?
Unnatural repetition can. Stuffing keywords into text, lists or hidden areas is against Google’s spam policies and can lead to demotion or a manual action. See keyword stuffing.
Does keyword density matter in 2026?
Not as a target. It is only worth looking at to catch accidental over-repetition.
Related SEO terms
Keyword stuffingBlack hat
Keyword stuffing is filling a page with keywords, numbers or place names in an unnatural way to manipulate rankings, against Google’s spam policies.
A primary keyword is the main search term a page is built to rank for. It guides the page’s title, H1, URL and content.
Content optimizationWhite hat
Content optimization is improving a page’s content so it better matches search intent, covers the topic fully and earns more clicks and rankings.
Secondary keywords are related terms a page targets alongside its primary keyword: variations, synonyms and subtopics with the same intent.
Google’s spam policies list the practices that can get a site demoted or removed from Google Search, from cloaking and link spam to scaled content abuse.