Many SEO experts consider the optimum keyword density to be 1 to 3 percent. Using a keyword more than that could be considered search spam. The formula to calculate your keyword density on a web page for SEO purposes is (total number of keywords / total number of words ) * 100
If you want some tools, it's only a search away on Google.
