Keyword density

Search engines need to understand what a page is about – and words play a central role in this. For a long time, keyword density was therefore considered an important metric: the percentage share of a search term in all the words of a text. Density thus increases the more often a term occurs relative to the length of the text. Google has never named an “optimal” value; rules of thumb such as “3%” come from the SEO industry and are outdated today. This article shows what Google evaluates instead. How keyword density is calculated is explained in the encyclopedia article “Calculating keyword density”.
The motto used to be: the more, the better. Texts were stuffed with keywords to push density up, and some websites even hid additional terms in white text on a white background. This keyword stuffing violates Google's spam policies. Since updates such as Panda, it no longer works but puts rankings at risk.
What Google evaluates today instead of keyword density
More important than how often a term appears is whether a page covers a topic comprehensively and helpfully. Google now understands language very well: systems such as BERT capture context, synonyms and the meaning of entire sentences, and Google thinks in entities – things and concepts rather than individual words. A text about running shoes therefore doesn't have to repeat the words “running shoes” in every paragraph. Much more important is that it covers the relevant aspects: cushioning, fit, running style, surface, typical buyer questions. The basis for this is careful keyword research that captures the semantic field of a topic – related terms, subtopics and questions.
Nevertheless, there are still sensible rules for handling search terms. The main keyword belongs in the page title and the H1 heading, and if possible also in the URL and meta description, so that users can see what it's about in the search results. Subheadings can pick up related terms. In the body text, main and secondary terms should occur naturally without impairing readability. If a text seems over-optimised, users leave – and Google recognises unnatural repetition anyway.
By the way: careful keyword research is also indispensable for search engine advertising with Google Ads.
TF-IDF: the attempt to make topical relevance measurable
In the 2010s, TF-IDF analysis (known in German-speaking countries as WDF*IDF) emerged as a further development of keyword density. It compares how often certain terms appear in a text with their frequency in the top-ranking pages for a search term. This shows which topically relevant terms might be missing from a text. Modern content tools such as Surfer, Clearscope or the content assistants in Sistrix and Semrush work on similar principles. They are useful as inspiration for topic coverage – but not an end in themselves: Google doesn't count terms but assesses whether content really answers the user's question.
Does keyword density still matter for SEO?
Not as a fixed target. A main term that doesn't appear at all in a text about its topic is a warning sign – and so is a term that is repeated unnaturally often. In between, however, there is no “right” percentage. With updates such as Panda, the helpful content system and ongoing core updates, Google focuses on content being helpful, unique and written for people. Trimming texts to a certain density afterwards tends to lead to over-optimisation and can cost rankings. This is particularly noticeable with long-tail terms: if you read the same four-word phrase again and again, every reader notices that the text was written for the search engine. This disrupts the flow of reading and damages trust.