Keyword density is the ratio of number of times the keyword appears in a web page to the total number of words on your web page or website. Although there is no ideal percentage or ratio for the exact number of keyword repetition on a web page, a density of 2 to 3%is preferable for positive search engine response to your website.