Keyword density is the percentage of times a specific keyword withing the content shows up in devided by the overall amount of text on that page. Example: your webpage about dogs has 100 words on it overall, and your top word that you wish to rank well under is "widget" and it appears 5 times on this page. This keyword would have a 5% weighting on the page.