You didn't understand what I said. Don't even try to get a "perfect" keyword density. Place your keyword in your page title, meta description, meta keywords and only 1-2 times in a 500 word article or 3-4 in a 1000 word article.
Keyword MUST appear 2% to 4% of the time As a general rule, a good keyword density is within 2% to 4%. However, this varies across industries and types of sites. I always go through the Top 10 results to find out their average keyword density. 2% to 4% is usually right, but if I see the Top 10 having density like 5% to 8%, I will follow closely. I won't go below 2%, logically, a relevant content can't have density of less than 2%.
Thanks weightloss, that keyword density of 2-4% is outdated now the most optimum keyword density is 1-2%
I wouldn't worry keyword density too much but SenSEO extension for FireFox works for checking the page and code.