What is keyword density?
Keyword density is a percentage that shows how often a keyword occurs in a text. The keyword is the relevant search term used in a search query and for which a text is to be optimised. Keyword density therefore reflects the ratio of the keyword to the total number of words in a text.
The formula is:
Keyword density = frequency of the keyword / total number of words × 100
If a text consists of 600 words and the keyword appears 21 times, the keyword density is 3.5%. The following sections explain what this value tells you.
Keyword density calculator
Use the calculator to check how often a keyword occurs in a text. Paste your text and enter the keyword. The keyword density is the number of matches divided by the total number of words.
Paste a text and enter a keyword.
The calculator counts exact matches regardless of upper and lower case. Inflected forms and synonyms are not counted. Your text stays in your browser and is not transmitted.
How important is keyword density for search engine optimisation?
A lot has changed in this respect in recent years. While a high keyword density was considered an important ranking factor in the early days of SEO, it no longer guarantees a high ranking on its own. Opinions on its relevance differ mainly because Google reveals little about its algorithm and the criteria for evaluating websites, in order to protect the search engine from manipulation. The art of search engine optimisation lies in deriving ranking factors from analyses of your own and other websites, of search results and of changes after Google updates.
According to Google, a text containing the words of the search query is the most basic signal of relevance. But if the keyword is used so often that you can no longer see the milk for all the muesli, it does harm. Google treats excessive repetition as keyword stuffing and demotes the page.
Just as the perfect muesli depends on the ratio of muesli to milk, keyword density depends on the right dosage. And just as muesli also depends on its ingredients, a good ranking depends on the interplay of many factors: semantically related terms and synonyms, content relevance, how users interact with the search results and much more. Since Google assesses the text as a whole in terms of its value to readers, keyword density is only a small building block of search engine optimisation.
Is there a perfect keyword density?
There is no perfect keyword density. Google does not give an ideal value, keeps the details of its algorithm as secret as Coca-Cola keeps its recipe and adapts it constantly. What matters is natural language and good coverage of the topic. An excessively high keyword density, on the other hand, quickly comes across as keyword stuffing, which violates Google’s spam policies.
Even though keywords influence rankings, what counts in the end is that the text meets the search intent: it is relevant, informative and adds value. Good writing, a clear structure and a strong narrative keep visitors on the page and ideally turn them into customers.
Using keywords the right way
- Use the keyword naturally: place it where it fits. If the calculator shows a conspicuously high value, read the paragraphs concerned and delete repetitions that get in the way of reading.
- Synonyms and paraphrases: they make the text more pleasant to read and show that it covers the topic thoroughly.
- Write for people: your readers are buyers and prospects. Copy that answers their questions also meets the search intent.
Where the keyword belongs and how to recognise keyword stuffing is explained in our article on keyword stuffing.
A keyword analysis shows which terms a text should cover.
