Keyword density is the number of times a keyword or phrase appears compared to the total number of words on a page.