Aggressive Variation Density compares how often your keyword variations appear in the raw page markup with how many words the page actually contains, and returns that comparison as a single unscaled ratio. Because the two sides are drawn from different representations of the page, read it as a comparative compatibility signal — not conventional keyword density, and never a number to inflate on purpose.
| Factor ID | RG-KWD-001 |
|---|---|
| Family | Keyword Usage & Density |
| Measurement | Variation-to-word ratio |
| Measured zone | Raw body HTML without scripts, normalized by cleaned page text |
What it measures
This factor compares keyword-variation occurrences in the raw body markup with the page’s cleaned word count. In other words, it sets how densely the run’s variation set shows up in the page source against the volume of real words the page carries, so a page can register a higher or lower ratio depending on both how the variations are used and how much content surrounds them.
How RankGear measures it
RankGear counts case-insensitive whole-word matches for the run’s variation set in the script-free body HTML, then divides by the count of 3-to-64-character word tokens in the cleaned content. The result is an unscaled ratio, not a value multiplied by 100. Longer overlapping variations are matched and consumed before shorter ones, so a phrase is not double-counted by its own sub-strings.
How the ratio is built
| Component | Contributes to |
|---|---|
| Case-insensitive whole-word matches of the variation set in the script-free body HTML (markup and attributes included) | Numerator |
| Count of 3-to-64-character word tokens in the cleaned page text | Denominator |
density = variation_matches( body_html_without_scripts )
÷ word_tokens( cleaned_text, 3–64 chars )How to optimize it
Build natural topical coverage across visible copy, headings, links, and meaningful attributes while keeping the overall language readable and useful. Because the numerator and denominator are measured from different representations of the page, treat this as a comparative compatibility metric to observe rather than a target to hit — chasing a specific ratio by padding markup works against the readable content the denominator rewards.
Important considerations
- Markup and attributes — not only visible prose — can contribute to the numerator.
- The denominator uses cleaned text and a specific 3-to-64-character token pattern, so it counts real words rather than raw source.
- Longer overlapping variations are consumed before shorter ones, preventing a phrase from being counted through its own sub-strings.
- Because the two sides use different representations of the page, treat this as a comparative compatibility metric rather than conventional keyword density.
- This ratio tracks how a page relates to a measured result set; it is a prioritization signal, not a cause of ranking and not a guarantee of position.
Related factors
Part of the Factors reference · how RankGear measures · glossary.