What Is Keyword Density and Does It Still Matter for SEO?

How keyword density is calculated, why there is no ideal percentage, how to spot keyword stuffing, and better ways to use phrase counts when editing content.

Updated September 29, 2026 5 min read

Use the free Keyword Density CheckerFind 1, 2 and 3-word keyword density and check a target keyword

"What keyword density should I aim for?" is one of the oldest questions in SEO. You will still find advice recommending 1%, 2% or 3%, often presented as if search engines count words and reward a magic number.

They do not. But keyword density is not useless either: counting words and phrases is a quick way to spot text that repeats itself, drifts away from its topic or never mentions the thing it is supposed to be about. This guide explains how density is calculated, what search engines have said about it, and how to use a density check as an editing aid rather than a target.

How keyword density is calculated

Keyword density is the share of all words in a text that belong to a given keyword or phrase:

density (%) = (occurrences × words in the phrase) ÷ total words × 100

For a single word, that is simply its count divided by the total word count. For phrases, each occurrence accounts for as many words as the phrase contains.

Example: a 500-word article uses "standing desk" 8 times.

  • occurrences = 8, words in phrase = 2
  • density = (8 × 2) ÷ 500 × 100 = 3.2%

Some tools count a phrase occurrence as one word instead, which gives 1.6% for the same text. Neither method is "correct"; just compare numbers from the same tool.

N-grams

Tools often list 1-word, 2-word and 3-word phrases, called n-grams. Single words show vocabulary, while 2- and 3-word phrases reveal the actual topics: "standing desk", "dual motor", "height range".

Stop words

Words like "the", "and", "of" and "to" are the most frequent in any English text. Density tools usually ignore phrases that begin or end with them, otherwise "of the" would top every list.

What search engines have said

Google has said many times, over many years, that there is no ideal keyword density. Modern search engines understand synonyms, related terms and the overall meaning of a passage; a page can rank for a phrase it barely repeats.

What Google does document is keyword stuffing, listed in its spam policies: filling a page with keywords or numbers in an attempt to manipulate rankings, often in lists or out of context. Examples include repeating the same phrase so often that the text sounds unnatural, or blocks of city names a page is trying to rank for.

So density matters in one direction only: very high repetition is a warning sign. There is no benefit in pushing a low figure up to a target.

Check density with our tool

The Keyword Density Checker counts words and phrases in your browser.

  1. Open the Keyword Density Checker. A sample text is loaded; press Clear to empty it, or Sample to bring it back.
  2. Paste your article or page copy into Your content.
  3. Enter a Target keyword (optional) if you want to check a specific phrase.
  4. Leave Ignore stop words on to skip phrases starting or ending with words like "the" or "and".
  5. Set Minimum occurrences to hide phrases that appear only once or twice.
  6. Switch between the 1 word, 2 words and 3 words tabs to see the table of each phrase's Count and Density.
  7. For a target keyword, read the checks: how often it appears and its density, a warning if density is above 3%, whether it appears in the first 100 words, and whether it is in the first paragraph.
  8. Press Export CSV to save the current table.

Phrases never cross sentence boundaries, so "desk. Stability" is not counted as a phrase.

How to use the numbers

Look for unintended repetition

If "standing desk" appears 25 times in 600 words, the text probably reads awkwardly. Replace some instances with pronouns, synonyms or more specific terms ("the frame", "electric models").

Check topic coverage

Scan the 2- and 3-word lists. If a guide about standing desks never mentions "height range", "stability" or "desk size", it may be missing subtopics that readers expect.

Confirm the main topic is clear early

Readers and search engines both benefit when the subject is stated near the start. If your target phrase first appears in paragraph six, consider rewriting the introduction.

Compare drafts, not competitors

Matching a competitor's density exactly is pointless. Comparing your own drafts before and after editing is a better use of the numbers.

Other ways to analyse wording

Word processors. Find (Ctrl+F) counts how often a phrase appears. It is fine for one phrase, tedious for many.

Word frequency tools. A Word Frequency Counter lists every word by count, which is useful for general writing, not just SEO.

Readability checks. Repetition is one part of how text reads. The Readability Checker looks at sentence length and complexity.

Search Console. The queries report shows which phrases actually bring impressions to a page. That is real-world evidence of what search engines associate with your content, which a density count cannot show.

Pitfalls

  • Counting navigation and footers. If you paste the whole page, menu labels inflate counts. Paste only the main content.
  • Chasing a percentage. Rewriting good text to hit 2% usually makes it worse.
  • Ignoring headings and titles. Where a phrase appears matters more than how often. Check the title with the Title Tag Checker and the whole page's structure with the Meta Tag Analyzer.
  • Forgetting variations. "Standing desk" and "standing desks" are counted separately. Look at both.

Frequently asked questions

What is the ideal keyword density?

There is none. Google has said it does not use a target density. Write naturally and make sure the topic is clear.

How is keyword density calculated?

Occurrences multiplied by the number of words in the phrase, divided by the total number of words, multiplied by 100.

What density counts as keyword stuffing?

There is no official threshold. Stuffing is about unnatural repetition meant to manipulate rankings. Figures well above about 3% for one phrase are a reason to reread the text critically.

Should my keyword appear in the first paragraph?

It is good practice to state the topic early, because it helps readers confirm they are in the right place. It is not a strict rule.

Do synonyms count toward keyword density?

Not in a density tool, which counts exact words. Search engines, however, understand synonyms and related terms, which is another reason not to force exact repetition.

Try it now: Keyword Density Checker

Loading tool…