Skip to content
SEO Madmanby Adam Hafez

Does anchor text type actually correlate with Google rankings?

Ahrefs' 384,614-page study isolated exact, phrase, partial and random-match anchor text and found every correlation with rank was weak.

Published · 2 min read

Written byAdam Hafez
Share
Markdown
A rusted anchor and chain hanging against an overcast sky

Key takeaways

  • Ahrefs analyzed 384,614 web pages ranking for 19,840 keywords and controlled for URL Rating to isolate anchor text as a variable.
  • Exact-match anchor text had the strongest correlation with rankings in the dataset, and it was still only 0.1436 on average, a weak Spearman value.
  • Phrase-match and partial-match anchors scored close to each other, around 0.106 and 0.108, both weaker than exact match.
  • Random anchor text, unrelated to the target keyword, correlated at only 0.0161, nearly flat.
  • A second test of 16,000 pages found the words surrounding a link's anchor text correlated with rank even more weakly, and one measure was slightly negative.

Anchor text diversity advice is everywhere: keep exact match under some threshold, mix in branded and generic anchors, avoid looking “unnatural.” Almost none of it points to a number. Ahrefs’ anchor text study is the closest thing the industry has to one, because it measured the actual correlation between anchor text type and rank, at scale, and published the coefficients.

What Ahrefs actually measured

Ahrefs pulled the top 20 Google results for 19,840 keywords with 2,000 to 5,000 monthly searches, each 2 to 4 English words with no special characters, for a total of 384,614 web pages. To isolate anchor text from the other obvious confound, backlink authority, it kept only keywords where the top 10 ranking pages had similar URL Rating scores, so pages in the sample were roughly matched on link authority before anchor text was measured.

For every page, Ahrefs calculated what share of its backlinks used exact-match, phrase-match, partial-match or random anchor text, then ran a Spearman correlation between each share and the page’s ranking position. Spearman correlation, like the Pearson coefficient used in other ranking-factor studies, runs from -1 to 1, and values below roughly 0.3 are conventionally read as weak, not values a site owner could use to predict rank from anchor text alone.

The numbers, and why none of them are strong

Exact-match anchor text came out highest, at 0.1436 average and 0.1869 median, still below the conventional threshold for even a moderate correlation. Phrase-match and partial-match landed close together, 0.1057 and 0.1076 on average, statistically indistinguishable from each other in this dataset. Random anchor text, links using text unrelated to the page’s target keyword, correlated at 0.0161, functionally no relationship at all.

Ahrefs ran a second, separate test on the words surrounding a link rather than the anchor text itself, using a reduced sample of 16,000 pages, 800 at each ranking position from 1 to 20. Exact-match keywords in the surrounding text correlated at only 0.0640, and pages with one or more matching words nearby scored a slightly negative -0.0701, meaning having relevant words near a link showed no positive association with rank in that sample, and if anything a faint inverse one.

Why we care

The consistent pattern across both tests is that anchor text type is a real but small signal, not the mechanism most link-building advice implies it to be. Exact match beats random match, which is a defensible, expected result. But the gap between them is the difference between a correlation of roughly 0.14 and roughly 0.02, both weak, not the difference between a strong signal and a nonexistent one. Anyone treating anchor text ratios as a lever that reliably moves rankings is reading more certainty into these numbers than Ahrefs’ own study supports; the honest takeaway is that anchor text relevance helps marginally, and no combination of match types substitutes for the URL Rating and topical relevance Ahrefs controlled for to isolate it in the first place.

The evidence

Sample
384,614 pages, 19,840 keywords

Hypothesis: The type of anchor text pointing at a page, exact match, phrase match, partial match or random, correlates with that page's Google ranking position, and a page with a more keyword-relevant anchor text distribution should rank higher than a comparable page without one.

Method: Reviewed Ahrefs' published ranking-factor study, which pulled the top 20 Google results for 19,840 keywords with 2,000 to 5,000 monthly searches, 384,614 web pages in total, using its own Site Explorer index. To isolate anchor text as a variable, Ahrefs restricted the keyword sample to cases where the top 10 ranking pages had similar URL Rating scores, then measured the Spearman correlation between ranking position and the share of a page's backlinks using exact-match, phrase-match, partial-match and random anchor text. A second, separate test measured correlation between rank and keyword presence in the text surrounding a link, using a reduced sample of 16,000 pages, 800 at each of the 20 ranking positions.

Findings

  • Exact-match anchor text: Spearman correlation of 0.1436 average and 0.1869 median, the strongest of the four types tested but still weak by conventional correlation-strength readings.
  • Phrase-match anchor text: 0.1057 average and 0.1393 median, close to partial match and clearly below exact match.
  • Partial-match anchor text: 0.1076 average and 0.1393 median, statistically indistinguishable from phrase match in this dataset.
  • Random anchor text unrelated to the page's target keyword: 0.0161 average and 0.0130 median, close to zero correlation.
  • In the second, 16,000-page surrounding-text test, exact-match words near a link correlated at only 0.0640, and pages with one or more keyword words nearby actually scored a slightly negative -0.0701 correlation with rank.

Limitations: Ahrefs states its own dataset cannot identify each ranking page's true single target keyword with certainty, since a page can rank for many terms and the study could only test the one keyword used to pull it into the sample. Restricting the sample to 2,000 to 5,000 monthly search keywords also excludes how anchor text behaves for head terms or long-tail queries outside that band. Like every correlation study, it cannot show that a given anchor text type causes a ranking position; the correlation could equally reflect that already-relevant, already-linked pages naturally accumulate more exact-match anchors over time.

About the author

Adam Hafez
Adam Hafez

Founder, UpgradIQ FZC LLC

Adam Hafez works on technical SEO and search measurement: how pages get crawled, indexed, ranked and now quoted by answer engines. He founded UpgradIQ, which reads Google Search Console and GA4 to tie ranking movement back to the changes that caused it. He publishes what the data supports and states the limits of it.

  • Technical SEO
  • Search Console and GA4 measurement
  • Answer engine optimization
  • Structured data

The briefing

Only what actually changed in search, delivered in full by RSS, Atom or JSON feed.

Follow