Keyword density is the percentage of times a keyword or phrase appears on a web page compared to the total number of words on the page.
Keyword density should 2-4% and it is calculated using the formula, total no of keywords/total no of words in a page