Keyword Density Calculator
How often a keyword appears in your text

🔒 Offline-ready · Method · · Disclaimer · Keyword Density Calculator
Keyword Density Calculator is built to answer one question: how often a keyword appears in your text? The working sits next to it. Just enter Text and Keyword; Keyword Density updates the result as you type. The answer from Keyword Density arrives with its working attached. Keyword Density suits budgeting and planning checks. Keyword Density is privacy-first: Tech & Digital inputs stay offline. Keyword Density sits in the Tech & Digital section next to related tools and keyword density calculator seo percentage. Keyword Density is great for comparing scenarios. Change one value and watch. Keyword Density is free, instant and local.
Keyword density formula
Keyword density is the number of times a keyword appears, divided by the total number of words, multiplied by 100. Punctuation is not counted as a word, and the tool reports the occurrence count and word count it used.
On a real page of 120 words, three mentions would be 2.5%.
Keyword density formula, and why it is a weak target
Density = occurrences ÷ total words × 100
A 1,000-word page that uses “loan calculator” 10 times: 10 ÷ 1,000 × 100 = 1.0%.
| Occurrences in 1,000 words | Density |
|---|---|
| 5 | 0.5% |
| 10 | 1.0% |
| 20 | 2.0% |
| 30 | 3.0% |
The 1–3% band is an SEO convention, not a published ranking rule; Google has said there is no ideal keyword density. Use the number to catch accidental repetition, not as a quota to fill: a phrase repeated to hit a percentage reads worse and does not rank better. The useful check is whether the page answers the query in the first paragraph, not how often the phrase appears.
Related: reading grade and tech calculators.
The formula
Density = occurrences ÷ total words × 100
Words are counted with a word-character match, and occurrences are a case-insensitive text match. That second part matters: the keyword loan also matches inside loans and loanword, so a density figure can be inflated by words that are not the keyword at all.
Worked examples
"loan calculator loan payment loan rate" → 3 of 6 words → 50.0%
A 120-word paragraph mentioning the keyword 3 times → 2.5%
A 300-word section mentioning it 6 times → 2.0%
A 1,000-word guide mentioning it 10 times → 1.0%
The same three mentions read very differently at 6, 120 and 1,000 words. That is the main lesson: density is a ratio, and on short text the ratio is almost meaningless.
Why 1-3% is quoted, and why it is not a target
The 1-3% figure comes from old correlation studies that found pages ranking well often sat in that band. It was never a causal finding, and search engines have not used a density threshold for well over a decade. Writing to hit a percentage produces exactly the prose that reads badly to a person and adds nothing for a crawler.
What does matter is coverage: does the page use the words someone would search for, including the natural variations — "loan", "loans", "borrowing", "monthly payment"? A page that repeats one exact phrase and never mentions the synonyms is worse off than one at 0.5% density that covers the topic properly.
Using the number honestly
Treat above roughly 4% on a long page as a signal to read the paragraph again, not as a rule violation. Below 0.5% on a page that is supposed to target the phrase, check whether the topic is actually covered.
Count the phrase, its plural and its close variants together by running the tool once per form, and ignore the total. The absolute density is far less useful than the comparison between your page and the pages currently ranking for the query.
Frequently Asked Questions
What is a good keyword density?
There is no target. The 1-3% figure comes from old correlation studies, not from how ranking works. Natural coverage of the topic matters far more.
Why does my short text show 50%?
Because density is a ratio. Three mentions in a six-word sample is half the words. On a 120-word paragraph the same three mentions are 2.5%.
Does the tool count partial matches?
Yes. It matches the keyword as text, so "loan" also counts inside "loans". Run each form separately if you want exact phrase counts.
Can high density hurt rankings?
Not through a density threshold, but repetitive phrasing makes a page read badly and often signals thin content, which does affect how it performs.
Should I include synonyms?
Yes. Words like "borrowing" and "monthly payment" cover the query better than repeating one phrase, and they do not inflate the density figure.
IP Subnet Calculator and other Tech & Digital tools
IP Subnet Calculator · Reading Time (Web) · TV Screen Size Calculator · Ad Revenue Calculator · Screen PPI Calculator · Uncompressed Image Size Calculator · Tech & Digital Guides