ToolNest logoToolNest.

What Is Keyword Density and How to Check It

Keyword density is the percentage of a page's words that are your target keyword: (occurrences ÷ total words) × 100. A 1,000-word page mentioning a term 12 times has 1.2% density, which sits inside the healthy 0.5–2.5% range. ToolNest's free keyword density checker runs the count for you in seconds.

The keyword density formula, worked by hand

The formula has three inputs and one output: density = (keyword occurrences ÷ total words) × 100. Count how many times the exact keyword appears in the body text, divide by the total word count, multiply by 100. Worked example: a 1,200-word product page mentions 'running shoes' 14 times. 14 ÷ 1,200 = 0.0117; × 100 = 1.17%. That is a comfortable, natural-looking number. Three counting rules trip up beginners. One: run the count on visible body text only — exclude navigation, footer, and boilerplate, which dilute the number with words that have nothing to do with the topic. Two: count close variants together; 'running shoe' and 'running shoes' are the same signal to a modern search engine. Three: anchor text in internal links and image alt text count as occurrences, but URL slugs do not. If you want the general arithmetic behind it, see how to calculate a percentage — density is just a percentage wearing an SEO costume.

What your density number actually tells you (and what it doesn't)

Density is a hygiene metric, not a ranking lever. It answers one question: how prominently does this page feature its target term, relative to everything else on the page? That is useful information — a page targeting 'keyword density' that never says the words 'keyword density' has a topical-focus problem. But density says nothing about content quality, topical depth, backlinks, or whether the page satisfies search intent, which are the things that actually rank pages. The classic misuse is treating density as a dial: 'I will tune my page to exactly 2.0%.' Search engines do not work that way, and pages tuned to a number tend to read like they were tuned to a number. Use density the way a smoke detector is used: ignore it when it is quiet, investigate when it alarms. Quiet means your keyword appears naturally a handful of times; alarming means it is missing entirely or repeated to the point of absurdity.

The safe range: why 0.5% to 2.5% is the guardrail

Most SEO practitioners land on roughly the same band: 0.5–2.5% for a primary keyword, with 1–2% the sweet spot most well-optimized pages occupy. Below 0.5%, the term may be too thin for the page to feel clearly about that topic — check that it appears in the title, H1, and opening paragraph. Between 0.5% and 2.5%, you are in the zone where the vast majority of ranking pages sit; stop optimizing and go write something better. From 2.5% to 4%, audit each instance: does every occurrence earn its place, or are you repeating the term out of habit? Above 4%, you are in keyword-stuffing territory — readers notice, and Google's spam policies explicitly call out loading pages with keywords to manipulate rankings. These are guardrails, not targets. A brilliant 3,000-word guide at 0.4% will outrank a mediocre 500-word page tuned to a perfect 2.0% every single time.

How to check keyword density of any page in under a minute

The manual method: copy the article text, paste it into a word counter to get the total, then use find (Ctrl+F) for your keyword to get the count, and run the formula. That works but takes several minutes per page. The fast method: use a dedicated checker. Paste the text, enter the target keyword, and get density, occurrence count, and word count instantly — plus a flag if the page sits outside the typical band. ToolNest's free keyword density checker does exactly this in your browser: nothing is uploaded, and it also surfaces the page's most frequent terms, which is how you catch accidental over-optimization of secondary terms you were not even targeting. Run it on your draft before publishing and on any page whose rankings slipped — a drifted density number is one of the cheapest possible diagnoses.

Keyword stuffing: what Google actually penalizes

Google's spam policies name keyword stuffing directly: filling a page with keywords or numbers in an attempt to manipulate rankings. The classic patterns are unmistakable — blocks of city names at the bottom of a page ('plumber Austin, plumber Dallas, plumber Houston...'), the same phrase repeated in every sentence, or keyword lists hidden in footers. What gets penalized is manipulative intent made visible, not a specific percentage. No Google documentation names a density number you must stay under, because the evaluation is semantic: does this read like it was written for humans or for a crawler? The practical test is reading your page aloud. If a sentence makes you cringe, it will make a quality rater cringe too. Rewrite the cringe sentences with pronouns, synonyms, and restructured phrasing — your density drops as a side effect, but readability is the actual fix.

Placement beats density: title, H1, intro, and natural variations

Where the keyword appears matters far more than how often. The highest-value placements: the title tag, the H1, the first 100 words, at least one H2, the meta description, and the URL slug. A page with the keyword in all six of those positions at 0.8% density will beat a page at 3% that buried the term in paragraph seven. This is the entire logic behind the GEO writing rule used on this blog: answer the core question directly in the opening paragraph, with the keyword present, because that is the text both readers and AI engines quote. Beyond placement, vary the phrasing. If your keyword is 'keyword density checker', natural variations — 'density checker', 'check keyword density', 'keyword frequency tool' — signal the same topic without repetition. Use our meta tag generator to nail the title and description placements, and the slug generator for clean keyword-bearing URLs.

Semantic keywords: the modern upgrade to raw density

Modern search engines stopped counting exact matches years ago. Google's language models understand that 'keyword density', 'keyword frequency', 'term occurrence', and 'how often a keyword appears' are the same concept — so a page can be deeply about keyword density while using the exact phrase only a few times. This is why chasing a density number is obsolete: topical coverage beats term frequency. The modern workflow is: cover the topic thoroughly (definition, formula, examples, edge cases, FAQs), use the exact keyword in the high-value placements, and let synonyms and related terms carry the rest. When you audit with a density checker, look at the full frequency table, not just your target term — if the top terms are filler words ('this', 'that', 'with'), the page may be thin; if they are all on-topic vocabulary, the page is focused regardless of what the single-keyword number says.

Density audit checklist for pages you already published

New pages are easy; the value is in auditing what already ranks — or does not. Pull your top 20 pages by impressions in Search Console and run each through this checklist. 1. Is the primary keyword in the title, H1, and first 100 words? If not, fix placement before touching frequency. 2. Run the keyword density checker — anything above 4% gets rewritten, anything at 0% gets the keyword placed naturally in the intro. 3. Scan the full frequency table for accidental stuffing of secondary terms; pages often over-repeat a synonym ('free', 'best', 'online') without anyone noticing. 4. Check that variations exist — if the exact phrase appears 20 times but no synonym ever does, rewrite half the instances. 5. Re-check the meta description and slug: they should contain the keyword once each, which our meta tag generator and slug generator make trivial. Audit quarterly; content drifts as teams edit, and density drift is the cheapest ranking leak to plug.

Do it in one click

Check your page's density in seconds — free, no signup.

Open the Free Tool →