How to Calculate Keyword Density Manually in 6 Steps

Most SEO tools will spit out a keyword density percentage without explaining what it actually means or how they got there. That's fine until the number surprises you — or until a client asks you to justify it and you're staring at a dashboard with no real answer.

Calculating keyword density by hand takes about two minutes. More importantly, it forces you to read your own content carefully, which is where you catch the real problems: unnatural repetition, missing synonyms, or a focus keyword buried so deep it barely registers.

Here's the exact process, step by step.


What Is Keyword Density, Actually?

Keyword density is the percentage of times a target keyword appears in a piece of content relative to the total word count. The formula is straightforward:

Keyword Density (%) = (Number of keyword occurrences ÷ Total word count) × 100

If you write a 1,000-word article and your focus keyword appears 10 times, the density is 1%. Simple enough. The tricky part is knowing what counts as an "occurrence," what total word count actually includes, and what the result means for your writing — which is exactly what the steps below cover.


Step 1: Decide Exactly What You're Counting

Before you touch a calculator, you need to define your target keyword precisely. This matters more than most guides admit.

Are you tracking an exact phrase ("content marketing strategy") or a root word with variants ("content marketing," "content marketer," "content marketing tips")? These are different things and they produce very different numbers.

For most manual calculations, count exact-match occurrences of your primary keyword phrase — the specific string of words as written. Variants and synonyms contribute to topical relevance in a broader sense, but they're a separate measurement. Mixing them together muddies the result and makes the number meaningless.

Write down your exact keyword now. Something like: "running shoes for flat feet". That's your target string.


Step 2: Get a Clean Word Count for the Body Content

Open your draft in a plain text environment — Google Docs, a text editor, or even Notepad. The goal here is to count only the body content that a reader actually consumes.

Exclude:

  • Page titles and meta descriptions (these live in HTML head, not the body)
  • Navigation menus, sidebars, or footer text
  • Image alt text and captions (debatable, but exclude them for a baseline)
  • Author bios appended after the main article

Include:

  • All body paragraphs
  • H2, H3, and other heading text within the article body
  • Bullet points and numbered lists
  • Pull quotes that are part of the text flow

Run the word count on this cleaned content. If you're in Google Docs, highlight only the body text and check Tools → Word count. Write that number down. Let's say it's 1,200 words.


Step 3: Count Keyword Occurrences Manually (or With Find)

This is where people take shortcuts they shouldn't. Reading through 1,200 words manually is tedious, but it's also where you catch context problems that a raw count never will.

The practical approach: use your text editor's Find function (Ctrl+F or Cmd+F) to search for your exact keyword phrase. Most editors will tell you how many instances were found and highlight each one. Record that number.

Then — and this is the step most people skip — read each highlighted occurrence in context. Ask yourself:

  • Does this sentence read naturally, or did I force the keyword in?
  • Is the keyword in a heading because it genuinely belongs there, or just for SEO?
  • Are two occurrences within three sentences of each other? That clusters density artificially and reads awkwardly.

For our example, let's say Find returns 8 occurrences of "running shoes for flat feet."


Step 4: Apply the Formula

Now plug your numbers into the formula:

(8 ÷ 1,200) × 100 = 0.67%

That's a keyword density of 0.67%. Write it down next to your word count and occurrence count so you have a complete picture: 1,200 words / 8 occurrences / 0.67%.

If you're doing this for a client or keeping records, log all three numbers — not just the percentage. The percentage alone is meaningless without knowing whether your article is 400 words or 4,000.


Step 5: Interpret the Result Against Real-World Benchmarks

Here's where the nuance lives, and where a lot of SEO content goes wrong in both directions.

The general range that tends to work: 0.5% to 1.5% for most content types. Some SEOs argue for up to 2%, but beyond that point, you're almost always creating awkward repetition that hurts readability — which hurts time-on-page — which hurts rankings anyway.

Below 0.5% isn't automatically bad. A 3,000-word comprehensive guide on a topic might naturally mention the exact keyword phrase only 10–12 times while still ranking well, because topical depth and semantic coverage do more work at that length.

What the benchmarks don't tell you:

  • Google doesn't use keyword density as a direct ranking signal in any confirmed, formulaic way. There's no magic percentage. What matters is whether the content satisfies search intent and reads like it was written for a person, not a density checker.
  • High density in a short article is more noticeable than high density in a long one. A 400-word article with 2% density has your keyword appearing 8 times in very little space. That's going to read robotically.
  • Heading occurrences carry semantic weight disproportionate to word count. A keyword in an H2 signals relevance more strongly than two keyword mentions buried in body paragraphs. One well-placed heading occurrence is worth tracking separately.

For our example: 0.67% is in a healthy range. The content isn't over-stuffed, and assuming those 8 occurrences are spread naturally through 1,200 words, this is unlikely to trigger any readability issues.


Step 6: Adjust Based on What You Read, Not Just What You Calculated

The number is a starting point. The actual editing decision comes from reading.

If your density is 1.8% and every occurrence sounds natural in context, you probably don't need to cut any. If your density is 0.9% but three of those occurrences appear within the same 150-word section, you have a clustering problem worth fixing even though the overall percentage looks fine.

Practical adjustments to make when density is too high:

  • Replace some exact-match occurrences with synonyms or related phrases ("shoes for overpronation," "flat-arch footwear")
  • Restructure sentences to remove awkward forced placements
  • Add more content on related subtopics — this naturally dilutes density while improving topical coverage

When density feels too low:

  • Check whether the keyword genuinely belongs in your intro paragraph — this is the most impactful single placement
  • Look for sections where the keyword fits naturally but you've been using pronouns or vague references instead
  • Don't add the keyword just to hit a number; instead, find places where its absence creates genuine ambiguity for a reader

A Note on Keyword Density vs. Topical Relevance

Calculating density manually is worth doing — once — for every major piece of content you write. But it's a single signal in a much larger picture. Google's understanding of content has moved well beyond counting keyword frequency. What it's actually assessing is whether your article covers a topic comprehensively, answers the questions a searcher would have, and uses language the way a genuine expert in the space would use it.

That means your LSI keywords (related terms and concepts), internal link anchors, subheading structure, and readability score all contribute to how the page performs — often more than keyword density does in isolation.

Use the manual calculation as a sanity check, not a target. If the number comes out reasonable and the content reads well, move on. If something feels off — either it sounds robotic or the keyword barely appears — the density calculation will confirm what your instincts already told you.

That combination of instinct and measurement is what separates content that performs from content that merely checks boxes.