Table of contents
A keyword gap analysis compares the keywords your competitors rank for in Google with your own site's keywords, and lists the searches where competitors show up and you do not.
I do keyword research, SERP (search engine results page) and competitor analysis, and full-site SEO (search engine optimization) audits. This guide covers the definition, picking competitors, running one in Semrush, Ahrefs or for free, filtering gaps and building a page plan.
What is a keyword gap analysis?
A keyword gap analysis is an SEO method that compares your site's keyword rankings with 3 to 5 competing sites and sorts every keyword by which sites rank for it. The output is a list of searches that competitors win and you miss, and each one is a candidate for a new page or a page update.
The Semrush Keyword Gap tool sorts the keywords of up to 5 sites into these groups:
- Missing: Missing keywords are searches where every competitor you entered ranks and your site has no ranking at all.[1]
- Untapped: Untapped keywords are searches where 1 of your competitors ranks and your site does not.
- Weak: Weak keywords are searches where your site ranks, but lower than every competitor.
- Strong: Strong keywords are searches where your site ranks above every competitor.
- Unique: Unique keywords are searches where only your site ranks.
Semrush counts an organic keyword when a domain ranks anywhere in Google's top 100 results, so a gap report also lists rankings far below page one.
Keyword gap vs content gap: what is the difference?
A keyword gap is one search a competitor ranks for and you do not, while a content gap is a missing topic or page that can cover many searches. A keyword gap report lists keywords, while a content gap analysis lists content topics.[2]
Despina Gavoyannis, a senior SEO specialist at Ahrefs, describes a page-level gap as a topic where you and a competitor both have a page, and the competitor's page ranks for more keywords.[3]
How do you pick competitors for a keyword gap?
For a competitor keyword gap analysis, pick 3 to 5 search competitors: the sites that rank on page one for your most important keywords, even when they sell something different. A business rival that rarely ranks for your keywords adds noise, because a gap tool compares search rankings only.
To build a competitor list for a gap report:
- Search your 3 most important keywords in Google and write down every domain on page one.
- Keep the domains that appear for at least 2 of the 3 keywords.
- Open the Semrush "Organic Rankings" Competitors report to add domains with similar keyword rankings.
- Remove Wikipedia, Reddit, marketplaces and news sites, unless you plan to publish the same page type.
- Keep 3 to 5 domains, and enter a subfolder such as /blog/ when only a competitor's blog competes with you.
The Semrush Organic Rankings Competitors report lists the domains whose keyword rankings are similar to yours.[1] Despina Gavoyannis of Ahrefs starts a Content Gap run with your domain plus 1 to 3 competing domains.
My guide to competitive analysis covers business competitors, pricing and positioning, a wider job than a keyword gap.
How do you run a keyword gap analysis in Semrush or Ahrefs?
Semrush Keyword Gap and Ahrefs Content Gap are keyword gap analysis tools that compare your rankings with competitor rankings in one report. Semrush Keyword Gap takes your domain and up to 4 competitors, and Ahrefs Content Gap takes your domain and up to 10 competitors.[2]
I track performance in Google Search Console, Ahrefs and Semrush, the 3 tools behind the 3 routes in this guide.
How do you use Semrush Keyword Gap?
For a keyword gap analysis, Semrush Keyword Gap takes 5 steps:
- Open "Keyword Gap" in the Semrush SEO toolkit.
- Enter your domain in the first field, labeled "You", and up to 4 competitor domains below it.
- Choose organic keywords as the keyword type, pick your country database and click "Compare".
- Open the "Missing" tab in the keyword table, then the "Untapped" tab.
- Add the "Intent" and "KD%" filters, and export the list.
Missing needs every competitor you entered to rank, so each competitor you add can only shrink the Missing tab. With 4 competitors, read the Untapped tab too and keep the rows where at least 2 competitors rank.
On any Keyword Gap tab, the Semrush "Positions" filter for your domain with a custom range from 11 to 20 lists the searches where your site sits on page 2.[1]
Comparing subdomains, subfolders or single URLs in Semrush Keyword Gap needs a Guru or Business SEO Toolkit plan.
How do you use Ahrefs Content Gap?
Ahrefs runs keyword gaps in its Content Gap tool, under "Competitive Analysis" in the top menu, and compares your site with up to 10 competitors.[4]
For a keyword gap analysis, Ahrefs Content Gap takes 5 steps:
- Click "Competitive Analysis" in the top menu and select the "Keywords" option.
- Enter your domain or URL as the target, and your competitors below it.
- Click "Show keyword opportunities".
- Set how many competitors must rank for each keyword, such as at least 2.
- Turn on "main positions only" to drop rankings in image packs, sitelinks and carousels.
Ann Smarty, writing in Practical Ecommerce, calls the setting for the number of overlapping competitors her favorite Ahrefs feature.[5]
My Ahrefs vs Semrush comparison covers which of the 2 SEO suites fits your budget and data needs.
Can you do a keyword gap analysis for free?
Yes, Google Search Console and your competitors' XML sitemaps (files that list a site's pages for search engines) give you a free topic gap, which becomes a keyword gap once the Google results page shows the competitor's page ranking. Search Console shows the searches your site appears for, and a competitor's sitemap lists the pages that competitor has published.
The Search Console Performance report shows which queries bring traffic to your site, with the past 3 months as the default view.[6]
To run a free gap check with Search Console and sitemaps:
- Open the Search Console "Performance" report, select the "Queries" tab and export the table.
- Open each competitor's robots.txt file and copy the address after "Sitemap:".
- Copy every page URL from each sitemap and turn the last part of each URL into a topic.
- Remove topics that match one of your URLs or a query in your Search Console export, plus service, category and podcast pages.
- Search each remaining topic in Google and confirm that the competitor's page ranks.
I ran this free sitemap check on 3 content marketing sites that cover my topics: Grow and Convert, Animalz and Demand Curve. My script read 1,093 URLs from their sitemaps and found 12 topics that at least 2 of the 3 sites covered and no URL on my blog matched.
My script compared URL slugs only: it counted a topic as covered when one of my 219 blog post slugs shared at least 0.34 of the combined words (a Jaccard overlap), and it did not use Search Console queries.
In my sitemap check, 3 of the 12 gap topics were a services page, a category page and a podcast episode. A sitemap gap needs a page-type cleanup before the list becomes a plan.
In 2 spot checks on a web search, Animalz appeared for "bottom of the funnel content" and "thought leadership content", and Grow and Convert appeared for neither. A sitemap shows what a competitor published, so the results-page check is the step that confirms a ranking gap.
For a free version of the Semrush page-2 filter, sort your Search Console queries by average position (the average rank of your site's top result) and keep positions 11 to 20.
How do you filter keyword gaps by intent and difficulty?
Filter keyword gaps with one rule: keep a gap only when at least 2 competitors rank for it in the top 10, the intent matches a page type you publish, and the difficulty fits your site. Drop every other gap, whatever its search volume.
My keyword research guide shows how to read search intent and keyword difficulty on the results page.
Apply the keyword gap filter rule one line at a time:
- 2 of 3 rule: Keep a keyword when at least 2 competitors rank for it in the top 10, which is 2 of 3 in a 3-competitor run and 2 or more of 5 in a 5-competitor run. Gavoyannis sets the Ahrefs competitor filter to display at least 2 sites ranking in the top 10.[3]
- Intent match: Keep a keyword only when the ranking pages are a type you can publish, such as a guide, a comparison page or a template.
- Difficulty band: Sort the keywords into low, medium and high difficulty bands, and start with the band your site already ranks in. Gavoyannis suggests a maximum KD (keyword difficulty) of 30 in Ahrefs to find low-difficulty gaps.
- Brand filter: Remove keywords that contain a competitor's brand name, unless you plan an alternatives or comparison page.
- Page-type filter: Remove gaps that come from service, category, careers and podcast pages.
The Elegant Themes team, which runs its gap analysis in Semrush, called difficulty scores of 93% and 98% on 2 missing keywords the first red flag.[7]
I build competitor comparison and alternative pages on a living view of competitor pricing, packaging and capability. An "X vs Y" or "X alternative" gap fits that comparison page type, so the brand filter keeps it.
How do you turn keyword gaps into a page plan?
Turn keyword gaps into a page plan by giving every gap one action and one target URL: update an existing page, add a section to it, write a new page, or skip the gap. Group close keywords first, so one page covers a set of related searches.
My keyword clustering guide shows how to group gap keywords that share ranking URLs into one page.
Give each gap one of 4 actions:
- Update: Pick "update" when your page already ranks for the keyword below position 10, such as the page-2 keywords from the Semrush Positions filter.
- Add a section: Pick "add a section" when the gap keyword is a sub-question of a page you already have, such as a missing definition.
- New page: Pick "new page" when no page on your site covers the topic and the intent needs its own page.
- Skip: Pick "skip" when the gap fails any line of the filter rule, such as fewer than 2 competitors ranking or a services page.
Copy this example gap-to-page plan into a spreadsheet as a CSV (comma-separated values) file. The header row is the template, the next 2 rows are real gap topics from my sitemap check that the filter rule skips, and the last row shows the fields you fill in from your gap tool.
keyword,competitor_url,competitors_ranking,intent,difficulty_band,action,target_page,priority
bottom of the funnel content,https://www.animalz.co/blog/bottom-of-the-funnel-content,1 of 3,not needed,not needed,skip: fewer than 2 rank,none,none
link building,https://www.growandconvert.com/services/link-building/,not checked,not needed,not needed,skip: services page,none,none
[keyword],[competitor ranking URL],[2 of 3],[informational/commercial],[low/medium/high],[update/add a section/new page],https://princedewani.online/blog/[slug]/,[1-3]In my spot check, one web search on a US index, only Animalz appeared for "bottom of the funnel content", so the first row fails the 2 of 3 rule before intent and difficulty matter. The second row is a Grow and Convert services page, which the page-type filter removes.
I led a content initiative built on programmatic, SEO, AEO (answer engine optimization) and GEO (generative engine optimization) content for high-intent developer queries. A gap list can feed that kind of content plan, with each high-intent gap as one row and one target page.
Where should you start with keyword gap analysis?
Start a keyword gap analysis by searching your 3 most important keywords and writing down the domains on page one. Run those domains through Semrush Keyword Gap, Ahrefs Content Gap or the free sitemap check, then keep only the gaps that at least 2 competitors rank for in the top 10.
If your gap list is long and you need help turning it into update and new-page work, book a call with me to sort the gaps into a page plan.
Resources and References Used for Research
- [1] Keyword Gap - Semrush Knowledge Base (2026)
- [2] Keyword Gap Analysis: What It Is & How to Do It - Semrush (Jun 2024)
- [3] How to Do a Content Gap Analysis [With Template] - Ahrefs (Feb 2025)
- [4] How to use Content Gap to find keyword ideas from Competitor Websites - Ahrefs Help Center (Sep 2026)
- [5] Keyword Gaps Are SEO Opportunities - Practical Ecommerce (Mar 2022)
- [6] Performance report (Search results): Overview and basic setup - Google Search Console Help (2026)
- [7] Outrank Your Competitors Using Keyword Gap Analysis - Elegant Themes (2026)
Keyword Gap Analysis FAQs
Is keyword gap analysis the same as competitive keyword analysis?
Yes, keyword gap analysis and competitive keyword analysis name the same task: comparing the keywords that competing sites rank for with the keywords your own site ranks for. The term keyword gap analysis puts the focus on the difference between the 2 lists, so its output is the set of searches that competitors win and your site misses.
Is there a keyword gap analysis free tool?
Yes, Google Search Console is a free tool for your side of a keyword gap, because its Performance report lists the queries your site appears for. Competitors publish their pages in public XML sitemaps, so comparing sitemap topics with your URLs and Search Console queries gives a free topic gap. A topic becomes a keyword gap once the Google results page shows the competitor ranking for it.
What is the difference between Missing and Untapped keywords in Semrush?
Missing keywords in Semrush Keyword Gap are searches where every competitor you entered ranks and your site has no ranking. Untapped keywords are searches where 1 of your competitors ranks and your site does not. Missing keywords are the stronger signal for a new page, because several competitors rank for them, while Untapped keywords show one competitor's territory.
Can you run a keyword gap analysis for one page or a subfolder?
Yes, Semrush and Ahrefs can both compare parts of a site. Semrush Keyword Gap compares subdomains, subfolders and single URLs on a Guru or Business SEO Toolkit plan, and Ahrefs Content Gap compares a single page when you choose Exact URL as the scope. A subfolder run such as /blog/ keeps product and support pages out of the gap list.
Does a keyword gap analysis work for paid search keywords?
Yes, Semrush Keyword Gap compares organic, paid and PLA (product listing ads, the Google Shopping ads) keywords. A paid gap lists the searches where competitors show Google Ads and your site does not. Semrush also lets you compare your paid keywords with a competitor's organic keywords, which shows the searches your ads cover and your rankings do not.
Should you target every keyword gap you find?
No, a raw keyword gap list mixes competitor brand names, unrelated topics and page types your site cannot build, so filter it before you plan pages. Keep a gap only when at least 2 competitors rank for it in the top 10, the intent matches a page type you publish, and the difficulty fits your site.


