Sub topic 3
Where the Keyword Data Comes From
This chapter assumes you know basic SEO vocabulary (organic search, SERP, ranking position, search intent) and have used a Semrush or Ahrefs report at least once. It explains how the two tools produce the numbers you will use in a keyword gap analysis. Knowing this tells you which numbers to trust, which to treat as rough, and why two tools disagree about the same keyword.
Why this matters for a gap analysis
A keyword gap report compares two or more lists of keywords. Each list says which keywords a domain ranks for and at what position. Neither Semrush nor Ahrefs can see the search engine's own records, and neither can see your competitor's analytics. Every figure in the report is a model built from data the tool collected itself.
That has three practical effects:
- A keyword missing from a report may be missing from the tool's database, not from the competitor's rankings.
- Volume, traffic, and difficulty are estimates. Two tools can give different values for the same keyword.
- The numbers are best used to compare and rank keywords against each other. They are weaker as absolute forecasts.
The basic pipeline
Both tools work in broadly the same way. The details are proprietary, so the description below is the general shape, not a specification.
- The tool keeps a very large list of keywords. It builds this list from several sources, such as search suggestions, clickstream panels, and keywords it has already seen ranking.
- On a regular schedule, it runs those keywords as searches in a given country and device and records the results pages.
- It stores which domains and URLs appear, and at which position, for each keyword.
- For each keyword, it estimates monthly search volume and calculates a difficulty score.
- When you open a report, it reads the stored rankings for a domain and combines them with those estimates.
The key point is that your gap report is a join. It matches stored ranking records for several domains against one shared keyword database. A keyword can appear in the gap only if the tool tracked it for at least one of the domains.
What each field is built from
Ranking position
Position comes from the tool's own checks of the search results page. It is a snapshot taken at a certain time, from a certain location, on one device type. Your own position may differ because search results vary with the searcher's location, language, history, and SERP features.
Positions are generally the most reliable part of a report, because they are observed rather than modeled. They still go stale. A page may have moved since the last check, so look at the date the tool shows for the last update.
Search volume
Search volume is the estimated number of searches per month for a keyword in a chosen country. The tools build it from a mix of sources. Semrush and Ahrefs both describe using search-engine keyword planning data and clickstream data, then applying their own models. Ahrefs, for example, says it adjusts its volume figures with clickstream data to reduce the grouping and rounding that raw keyword planner ranges produce.
Because the exact blend is not public, treat volume as a band, not a count. Two practical rules follow:
- A keyword showing 1,000 in one tool and 700 in the other has the same practical size. Do not argue over the gap.
- A keyword showing 50 and one showing 5,000 are different in kind, and that difference is safe to act on.
Keyword difficulty
Keyword difficulty is a score from 0 to 100 that estimates how hard it is to rank in the top results. The two tools calculate it differently, and the scales are not interchangeable.
| Aspect | Semrush Keyword Difficulty (KD%) | Ahrefs Keyword Difficulty (KD) |
|---|---|---|
| Scale | 0 to 100 | 0 to 100 |
| Main input | Authority and link signals of pages in the top results, plus other factors | Number of referring domains pointing to the top-ranking pages |
| Page content considered | Not part of the score | Not part of the score |
| Your own site considered | No. The score is the same for every user | No. The score is the same for every user |
The table gives the general design as the vendors describe it. Verify the current methodology on each vendor's help pages, because both change their formulas over time.
Two consequences matter for gap work. First, a difficulty score says nothing about your own domain's strength, so a KD of 40 is easy for a strong site and hard for a new one. Second, do not mix scores from the two tools in one ranking formula. A KD of 30 in Semrush and a KD of 30 in Ahrefs do not mean the same thing.
Estimated traffic
Estimated traffic for a keyword is calculated, not measured. The tool takes the keyword's estimated volume and multiplies it by an assumed click-through rate for the ranking position. A domain's total organic traffic is the sum of that figure across all its tracked keywords.
For a keyword gap, this means competitor traffic numbers rest on two layers of estimates: volume and click-through rate. They ignore SERP features such as featured snippets, ads, and AI answers that change how many people click. The number is useful for ranking competitors against each other. It is not a replacement for real analytics.
Database size and country settings
Both tools store data per country (Semrush calls these databases). You must select the country that matches your market before running a report. Two sites can look very different across countries, and a gap in one country may not exist in another.
Coverage also varies. Large markets such as the United States have deep coverage. Smaller countries and languages have fewer tracked keywords, so more of a competitor's real rankings will be absent from the report. When you see an unusually small gap in a smaller market, check coverage before concluding that the competitor has little to offer.
Freshness and update cycles
Rankings are checked on a rolling schedule, not continuously. Higher-volume keywords tend to be checked more often than long-tail keywords. This produces a few predictable effects:
- A competitor's newest pages may not show up for days or weeks.
- Long-tail keywords can carry older position data than head terms.
- Two reports run a week apart can differ without any real ranking change.
Where tool data goes wrong
Understanding the pipeline lets you predict the common failure modes.
| Failure | Cause in the pipeline | What to do |
|---|---|---|
| A competitor ranks in reality but not in the report | The keyword is not in the tool's database, or the check has not run yet | Search the keyword manually and run the other tool as a cross-check |
| Volume looks too high or too low | Estimate blends sources and rounds values | Compare against Google Search Console impressions for your own pages |
| Position differs from what you see | Checks use one location and device | Check in a private window with the right location setting |
| Traffic looks inflated | Assumed click-through rate ignores SERP features | Rank by volume and position, not by traffic alone |
| KD seems wrong for your site | KD is not specific to your domain | Compare against the actual top results for the keyword |
Choosing between the two tools
For a gap analysis, the choice rarely depends on one tool being "right". It depends on workflow and coverage.
- Run both tools on your top few competitors if your budget allows. Keywords found by one but not the other show the edges of each database.
- Use one tool consistently for scoring. Stay with its volume and KD columns so the scale is the same across every keyword.
- Use your own Google Search Console data as the ground truth for your site's rankings and impressions. It is the only data source in this chapter that comes directly from the search engine.
Later chapters build on this. The metrics chapter shows how to read each column, and the limits chapter returns to the pitfalls in more detail.
Exercise
A competitor's page clearly ranks in the top five for a keyword when you search manually, but the keyword is missing from your Semrush gap report. Give two possible causes in the tool's data pipeline, and one way to check each.
Show answer
First, the keyword may not be in the tool's keyword database for that country, so it was never checked. Check by looking the keyword up directly in the tool's keyword research feature for the same country, or by running the same domain in Ahrefs. Second, the ranking check may not have run since the page started ranking. Check the last update date on the competitor's report, and compare it against when the page was published or moved up. A third possible cause is a location or device mismatch between your manual search and the tool's check.
Exercise
You score a keyword list by combining Semrush volume with Ahrefs keyword difficulty in one formula. Explain why this is a problem and what you should do instead.
Show answer
The two difficulty scores are calculated differently and are not on a shared scale, so a value from one does not mean the same as the same value from the other. Combining them gives scores that look precise but cannot be compared reliably. Use volume and difficulty from the same tool for every keyword in the formula, and use the other tool only as a cross-check.