Keyword density includes individual words, as well as longer phrases, that are included within a single page of content. A page may include just one keyword or phrase, or it can include multiple keywords and phrases.
In the early days of the internet, keywords were the best way to get noticed and ranked by search engines, but that isn’t the case today. Less is more when it comes to keyword density.
Although there is no specific recommended number of times a keyword or phrase should occur in a piece of content, it is a good rule of thumb to include a keyword or phrase no more than two-percent of the time in a piece of content.
Calculating keyword density includes taking the number of words on the page and dividing that number by the number of keywords or phrases that appear on that page. For example, a page with 100 words and 2 instances of the keyword in question would have a 2-percent keyword density.
There are more complex ways you can use to calculate keyword density. One such formula is Density = (Nkr / ( Tkn -( Nkr x ( Nwp-1 ) ) ) ) x 100 where:
- Density = The total keyword density
- Nkr = How many times a keyword is repeated
- Nwp = Number of words in the keyword
- Tkn = Total number words in the analyzed text