Every page has a total number of words. Use a Word processing program to find out your total word count. . If you are optimizing that page for a single keyword, you need to figure out how many times that particular word is repeated within that 250 word total.Manually scan the page and count every repetition of your keyword. Your Word program should also have an Edit and replace function. Paste in the code and then type in the keywords in both the edit box and the replace box. The program will replace each occurrence of the word with itself...and produce a total count for the number of repeats. To calculate the keyword density - take that figure and divide it by the total number of words on your page. Keyword density is always referred to as a percentage of the total word count for the page. So now you need to multiply .04 by 100 to get the percentage figure.For effective optimizing that will boost your pages into the Top 20 spots on the major search engines you are aiming for a keyword density of between 2 - 5%. for full details see
http://submissivehosting.com