How to Calculate Keyword Density
What is Keyword Density?
Keyword density is the percentage of words in a text matching a target keyword. The optimal SEO range is 1–3%. Below this, the keyword may be too sparse; above it risks keyword-stuffing penalties.
Formula
Step-by-Step Guide
- 1Density = (Keyword count / Total word count) × 100
- 2Count exact matches and close synonyms separately
- 3Modern SEO: write for humans first; density is a rough guide
- 4TF-IDF is a more sophisticated modern measure
Worked Examples
Frequently Asked Questions
What is Keyword Density?
Keyword density is the percentage of words in a text matching a target keyword. The optimal SEO range is 1–3%
How accurate is the Keyword Density calculator?
The calculator uses the standard published formula for keyword density. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.
What units does the Keyword Density calculator use?
This calculator works with inches, percentages. You can enter values in the units shown — the calculator handles all conversions internally.
What formula does the Keyword Density calculator use?
The core formula is: Density = (Keyword count / Total word count) × 100. Each step in the calculation is shown so you can verify the result manually.
Ready to calculate? Try the free Keyword Density Calculator
Try it yourself →