Keyword density is the percentage of times a keyword or phrase appears on a web page compared to the total amount of words on the page. In the frame of search engine optimization, keyword density can be used to determine whether a webpage is relevant to a specified keyword or keyword phrase.