Sub topic 7
Understanding missing, weak, shared, and strong keywords
A gap report is a list of keywords sorted by who ranks for them. This chapter covers the categories that Semrush and Ahrefs put those keywords into, how each category is defined, and what you should do with each one.
This chapter assumes you know what a ranking position is and have run a basic report in Semrush Keyword Gap or Ahrefs Content Gap. It also assumes you can read a CSV file. The Python section is optional and uses pandas.
Why categories matter
A report with 40,000 rows is not a to-do list. The categories turn it into one by separating different kinds of work:
- Missing keywords usually need a new page.
- Weak keywords usually need an existing page to be improved.
- Shared keywords show where you already compete.
- Strong keywords show what to protect.
The categories come from one comparison per keyword. Take your position, take each competitor's position, and see where you land.
The five categories
Semrush shows these as tabs in Keyword Gap. Ahrefs Content Gap is built mainly around the missing case. It lists keywords that competitors rank for and your target does not. For the other cases, you compare the position columns yourself or use its intersect options. The definitions below follow Semrush's wording. Tool interfaces change, so check the tooltip next to each tab before relying on a definition.
| Category | Who ranks | Typical meaning | Usual action |
|---|---|---|---|
| Missing | Competitors rank, you do not | Topic you have not covered, or cover without ranking | Create a page, or find the existing page that fails to rank |
| Weak | Everyone ranks, you rank lowest | You have a page, but it loses | Improve and update it |
| Shared | Everyone ranks | Contested ground | Compare positions, then decide |
| Strong | Everyone ranks, you rank highest | Your current wins | Monitor and defend |
| Unique | Only you rank | Topics competitors ignore | Check whether they are worth expanding |
Semrush also has an Untapped tab. It lists keywords where at least one competitor ranks and you do not. "Missing" is the stricter version of the same idea, because every competitor ranks there. If your report has three or more competitors, the Untapped list is much longer than the Missing list.
Missing keywords
A missing keyword means the tool found no ranking for your domain in the top results it tracks for that keyword. Two quite different situations produce that result:
- You have no content on the topic. This is a real gap, and a new page may be the right answer.
- You have content, but it ranks below the tracked depth. Semrush and Ahrefs report positions only down to a limit (the top 100 in most cases). Ranking at position 140 looks the same as not ranking.
Before you commission a new article, search your own site for the topic. You can use site:example.com "topic" in Google, or filter your own organic keywords export. Creating a second page for a topic you already cover can cause keyword cannibalization. That is when two of your pages compete for the same query and neither ranks well.
The number of competitors that rank matters as much as the category. A keyword where four of four competitors rank is a topic the market expects you to cover. A keyword where only one competitor ranks may be a quirk of that competitor's business. This is why the script in the next section requires at least two competitors for "missing".
Weak keywords
A weak keyword is one where you already have a ranking page. The work is on the page you have, so it is usually cheaper than writing something new. Gather these first:
- Your position and the ranking URL.
- The competitor URLs above you.
- The gap in positions. Being at position 11 against 9 is a small fix. Position 45 against 3 means the page may be the wrong type of content altogether.
Semrush defines "weak" as ranking below all competitors. A looser definition is "below at least one competitor". Both are reasonable, but they give different list sizes. State which one you used, or someone comparing reports later will get different numbers and not know why.
Shared and strong keywords
Shared keywords are the middle ground. All domains rank, and your position falls between theirs. The Semrush tab lists every keyword all domains rank for, which includes the weak and strong ones. Treat the tab as "everyone is here" and split it by position yourself.
Strong keywords are easy to ignore, but they have two uses:
- They show which kinds of pages work on your site. If your strongest keywords are all tutorials, that pattern should shape the content plan.
- They are the ones you can lose. A competitor update can push a strong keyword down, so keep them in a rank tracker.
Unique keywords
Unique keywords are the opposite of missing. You rank and the competitors do not. They hint at topics where you are the authority, and you can expand those into clusters. They can also be noise, such as brand terms or queries about your own product that nobody else would target.
Reproducing the categories in a script
Writing the logic yourself makes the definitions explicit, and it lets you pick the threshold. This example uses a small hand-made table so that it runs as shown. A position of NaN means the domain does not rank.
import numpy as np
import pandas as pd
gap = pd.DataFrame(
{
"me": [np.nan, 15, 2, 5, np.nan, 7],
"a": [4, 3, 6, 3, 5, np.nan],
"b": [7, 9, 8, 9, np.nan, np.nan],
},
index=["k1", "k2", "k3", "k4", "k5", "k6"],
)
gap.index.name = "Keyword"
COMPETITORS = ["a", "b"]
def classify(row):
comps = row[COMPETITORS].astype(float)
n = comps.notna().sum()
if pd.isna(row["me"]):
if n == len(COMPETITORS):
return "missing"
return "untapped" if n >= 1 else "none"
if n == 0:
return "unique"
if row["me"] < comps.min():
return "strong"
if row["me"] > comps.max():
return "weak"
return "shared"
gap["category"] = gap.apply(classify, axis=1)
print(gap)
print(gap["category"].value_counts())The output labels the rows missing, weak, strong, shared, untapped, and unique, in that order from k1 to k6. Lower position numbers are better, so "strong" means your number is smaller than every competitor's. Mixing this up is the most common bug when people write this logic. Another one is leaving NaN in a comparison. NaN < 5 is false, so a missing position silently drops out of a rule instead of raising an error.
Common errors
- Comparing different databases. A report built from US data for you and UK data for a competitor puts keywords in the wrong categories. Use one country and one device type for all domains.
- Mixing domain scope. Comparing a root domain with a subdomain or a single folder changes who "ranks". Set the scope to match on all sides.
- Reading position as a score. Position 3 and position 30 are both "ranking", but they bring very different traffic. Always look at the position values, not just the category.
- Ignoring SERP features. A position can sit below an ad, a featured snippet, or an AI summary. The category shows rank, not visibility.
- Treating categories as priorities. A missing keyword with 10 searches a month is still a low-value task. Categories describe the situation. Chapter 10 covers how to rank it.
Summary of next steps
After sorting by category, you have separate lists with different jobs: new pages, page updates, positions to defend, and topics you own. The next chapter shows how to filter these lists down to keywords worth looking at, by removing branded terms, tiny volumes, and irrelevant topics.
Exercise
A keyword shows position 38 for your site, 4 for Competitor A, and 11 for Competitor B. Which category is it in under the strict (below all competitors) definition, and which first action would you take?
Show answer
It is weak. You rank below both competitors (38 is worse than 4 and 11). Start by opening your ranking page and the two competitor pages, comparing their content type and depth, and updating your existing page rather than creating a new one. A new page would risk cannibalizing the one that already ranks.
Exercise
In the script, a keyword has me = NaN, a = 6, b = NaN. What does classify return, and what would it return if COMPETITORS had only the entry "a"?
Show answer
With two competitors it returns "untapped", because one of two competitors ranks and you do not. With only "a" in COMPETITORS, all competitors rank and you do not, so it returns "missing".