Keyword Density Calculator
Measures how often a target keyword appears in your content as a percentage of total words. Use it when optimizing blog posts or landing pages to hit the SEO-recommended 1–3% density range.
About this calculator
Keyword density expresses how frequently a specific keyword appears relative to the total word count of a piece of content. The formula is: Keyword Density (%) = (keywordCount / totalWords) × 100, rounded to two decimal places. For example, if your article has 1,000 words and your target keyword appears 15 times, the density is 1.5%. Search engines use keyword frequency as one signal to understand a page's topic, but over-optimization — known as keyword stuffing — can trigger ranking penalties. Most SEO practitioners recommend staying between 1% and 3% for primary keywords. The calculator also lets you set a target density so you can instantly see how many times you need to add or remove the keyword to reach your goal.
How to use
Suppose you have a blog post with 800 words and your keyword appears 12 times. Enter 800 into Total Word Count and 12 into Keyword Occurrences. The calculator computes: (12 / 800) × 100 = 1.50%. If your target density is 2%, you need the keyword to appear 16 times (800 × 0.02 = 16), so you should add 4 more instances. Adjust the Content Type field to see whether your content format (article, product page, etc.) changes the recommended range.
Frequently asked questions
What is a good keyword density percentage for SEO?
Most SEO experts recommend a keyword density of 1% to 3% for primary keywords. Going below 1% may signal that the topic is not the page's focus, while exceeding 3% risks looking like keyword stuffing to search engines. The ideal figure also depends on content type — a long-form guide can accommodate more repetitions naturally than a short product description. Always prioritize readability and natural language over hitting an exact number.
How does keyword density affect Google rankings?
Google uses keyword frequency as a relevance signal, but it is just one of hundreds of ranking factors. A page with appropriate keyword density helps Google confirm the page's topic, which supports ranking for that query. However, artificially inflating density can lead to manual or algorithmic penalties under Google's spam policies. Focus on semantic variations and related terms alongside your primary keyword for the best results.
How do I calculate keyword density for a multi-word phrase?
For a multi-word keyphrase, count each complete occurrence of the full phrase as one keyword occurrence. Divide that count by the total number of words in the content and multiply by 100. For instance, if 'content marketing strategy' appears 8 times in a 1,000-word article, the density is (8 / 1000) × 100 = 0.8%. Because longer phrases appear less frequently by nature, a density of 0.5%–1.5% is typically sufficient for long-tail keywords.