Ask about SEO in an old forum and someone will tell you to use your keyword exactly 2.5% of the time. Modern search engines are far smarter than that, but the idea of keyword density has not disappeared – and repeating a phrase too often can still hurt you. So what is keyword density, how do you measure it, and how should you use keywords today?
The definition
Keyword density is the percentage of words on a page that are your target keyword or phrase.
Keyword density = (number of times the keyword appears × words in the keyword) ÷ total words × 100
Example: a 1,000-word article uses the two-word phrase "compress PDF" 6 times. (6 × 2) ÷ 1,000 × 100 = 1.2%
Is there an ideal percentage?
No. Google has never published a target density, and its systems understand topics, synonyms and context rather than counting words. A page can rank first while mentioning the exact phrase only a handful of times.
That said, density is a useful warning light:
- Very low: if the main phrase barely appears, the page may not be clearly about that topic.
- Very high (roughly over 3%): the text probably reads unnaturally, and you risk looking like keyword stuffing.
What keyword stuffing looks like
"Looking for a cheap phone repair Lagos? Our cheap phone repair Lagos service is the best cheap phone repair Lagos has to offer."
Readers leave, and search engines treat this kind of on-page SEO manipulation as spam. Google's spam policies explicitly list keyword stuffing.
Where your keyword actually matters
Placement beats repetition. Use your focus keyword naturally in:
- The page title (title tag) – near the start
- The meta description – see how to write a meta description
- The main heading (H1)
- The URL – see what is a URL slug
- The first paragraph
- One or two subheadings, where it fits
After that, write for the reader.
Use synonyms and related terms
Search engines expect a thorough page about "compressing PDFs" to also mention things like file size, email attachments, upload limits and image quality. Using synonyms and related phrases:
- Makes your writing more natural
- Shows depth of coverage
- Helps you rank for many variations, not just one exact phrase
The Keyword Generator suggests related phrases to include, and our guide on how to do keyword research for free shows where to find more.
Check your page
The free Keyword Density Checker counts the most frequent words and phrases in your text and shows their percentages. Use it to:
- Confirm your main topic is clear
- Spot accidental over-use of a phrase
- Find words you repeat too often in general writing
Pair it with the Word Counter to check length and the Meta Tag Generator to finalise your title and description.
Frequently asked questions
Should I count keywords in headings and image alt text? They are part of the page, but there is no need to calculate density precisely. Read the page aloud – if it sounds repetitive, it is.
Does keyword density matter for Bing? Bing also relies on relevance and quality signals, and also treats stuffing as spam.
How many times should my keyword appear in a 1,000-word article? There is no rule. Many well-ranking articles use the exact phrase three to six times plus plenty of variations.
Summary
So, what is keyword density? The percentage of a page's words made up by a target phrase. There is no magic number – use the keyword in your title, heading, URL and opening, then write naturally with synonyms. Check for over-use with the free Keyword Density Checker.