# Density Formula

• vision
• Beginner
• Joined: May 20, 2004
• Posts: 57
• Loc: Maryland
• Status: Offline

August 25th, 2004, 3:21 pm

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.
• Anonymous
• Bot
• Joined: 25 Feb 2008
• Posts: ?
• Loc: Ozzuland
• Status: Online

August 25th, 2004, 3:21 pm

• webcertain
• Beginner
• Joined: Oct 28, 2003
• Posts: 46
• Loc: uk
• Status: Offline

August 26th, 2004, 5:03 am

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
• darksat
• Proficient
• Joined: Jul 06, 2004
• Posts: 487
• Loc: London (via the rest of the world)
• Status: Offline

August 26th, 2004, 6:11 am

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.
Darksats IT Forum, for all your IT Security and SEO needs
• vision
• Beginner
• Joined: May 20, 2004
• Posts: 57
• Loc: Maryland
• Status: Offline

August 26th, 2004, 6:21 am

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?
• webcertain
• Beginner
• Joined: Oct 28, 2003
• Posts: 46
• Loc: uk
• Status: Offline

August 26th, 2004, 6:34 am

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..
• webcertain
• Beginner
• Joined: Oct 28, 2003
• Posts: 46
• Loc: uk
• Status: Offline

August 26th, 2004, 6:37 am

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..
• darksat
• Proficient
• Joined: Jul 06, 2004
• Posts: 487
• Loc: London (via the rest of the world)
• Status: Offline

August 26th, 2004, 7:17 am

For a 2 word keyphrase 2 words in 100 is still 1% density.
Darksats IT Forum, for all your IT Security and SEO needs
• rtchar
• Expert
• Joined: Mar 22, 2004
• Posts: 606
• Status: Offline

August 26th, 2004, 12:06 pm

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
• Joined: May 04, 2004
• Posts: 2115
• Loc: australia
• Status: Offline

September 3rd, 2004, 1:23 pm

great explanation rtchar.

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

## Post Information

• Total Posts in this topic: 9 posts
• Users browsing this forum: No registered users and 11 guests
• 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

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.