# Density Formula

• Beginner
• Posts: 57
• Loc: Maryland

3+ Months Ago

Anyone know a keyword density formula?

I would think that if you have 100 words, and one of those words was your keyword your ratio would be 1%.

What about if you have 100 words, and a two word keyphrase? Perhaps the two keywords do not appear together in the page, then how does it work?

If anyone has knowledge of this sorta thing, or an article somewhere I would appreciate any info you may have. I wrote a small web script to calculate keyword density, but when I use some off the shelf products they are generally not very close.
• Beginner
• Posts: 46
• Loc: uk

3+ Months Ago

Hi vision,
Keyword density is the number of occurences of a keyword divided by either the total number of words (unique words or not, up to you..).
To be a 2 words keyphrase it needs to be side by side and repeated..
Cheers,
Johann
• Proficient
• Posts: 487
• Loc: London (via the rest of the world)

3+ Months Ago

Actually it dosnt necessasarily need to be side by side.
Dosnt hurt to have a few occurances though.
I would concentrate on title tag and meta discription though.
• Beginner
• Posts: 57
• Loc: Maryland

3+ Months Ago

darksat wrote:
Actually it dosnt necessasarily need to be side by side.
Dosnt hurt to have a few occurances though.
I would concentrate on title tag and meta discription though.

Ahh, now you are starting to see the issues. If you are calculating on a single word 1 in 100 is 1% density.

A keyword pair is 1% or 2% density? If you have a pair, but they are not directly together then what would you calculate it as?
• Beginner
• Posts: 46
• Loc: uk

3+ Months Ago

darksat wrote:
I would concentrate on title tag and meta discription though.

The most interesting feature is to be able to analyse meta tags and the page copy separately..
• Beginner
• Posts: 46
• Loc: uk

3+ Months Ago

vision wrote:

A keyword pair is 1% or 2% density? If you have a pair, but they are not directly together then what would you calculate it as?

That's why side by side is not such a bad solution.. You can always add a proximity review afterwards..
• Proficient
• Posts: 487
• Loc: London (via the rest of the world)

3+ Months Ago

For a 2 word keyphrase 2 words in 100 is still 1% density.
• Expert
• Posts: 606

3+ Months Ago

Quote:
If you have a pair, but they are not directly together then what would you calculate it as?

Sounds like you are complicating a very simple algorithm ...

Lets look at it with just 5 words --->

1. Single words ... each word appears 20% (more accurately count/n-0)
(THE BROWN FOX JUMPED UP)

2 Double words ... each pair appears 25% (more accurately count/n-1)
(THE BROWN, BROWN FOX, FOX JUMPED, JUMPED UP)

3. Triple words ... each triplet appears 33% (more accurately count/n-2)
(THE BROWN FOX, BROWN FOX JUMPED, FOX JUMPED UP)

You get the idea if you want to go for four (50%) and five (100%)
• Mastermind
• Posts: 2115
• Loc: australia

3+ Months Ago

great explanation rtchar.

if you guys have noticed, the higher the density the less readable the contents..

## Post Information

• Total Posts in this topic: 9 posts
• Users browsing this forum: No registered users and 1 guest
• You cannot post new topics in this forum
• You cannot reply to topics in this forum
• You cannot edit your posts in this forum
• You cannot delete your posts in this forum
• You cannot post attachments in this forum