Keyword density refers to the number of times a specific keyword appears on a webpage compared to the total word count. By measuring the keyword density, you can plan your own SEO strategy.

HubSpot has published ‘The Beginner’s Guide to Keyword Density‘ to help you understand keyword density.

Caroline Forsey says, “How do you calculate keyword density? The formula is straightforward: Divide the number of times a keyword is used on your page by the total number of words on the page.

Here’s an easy example: Your page has 1,000 words and your keyword is used 10 times. This gives:

10 / 1000 = .001

Multiply this by 100 to get a percentage, which in this case is 1%.

There’s also another formula sometimes used to assess keyword usage: TF-IDF, which stands for “term frequency-inverse document frequency”. The idea here is to assess the frequency of a keyword on specific pages (TF) against the number of times this word appears across multiple pages on your site (IDF). The result helps determine how relevant your keyword is for specific pages”.

The Beginner’s Guide to Keyword Density

Sharing is caring