KEYWORD RESEARCH · SEO GLOSSARY

TF-IDF (Term Frequency-Inverse Document Frequency)

A statistical measure from information retrieval that scores how important a word is to a document relative to a corpus — used in some SEO tools to identify terms that appear more frequently in top-ranking content than in average web content, suggesting they carry topical relevance.

Definition

TF-IDF (Term Frequency-Inverse Document Frequency) is an information retrieval algorithm from the 1970s that calculates the importance of a term within a document relative to a collection of documents (corpus). The formula: TF (term frequency) = count of a term in the document / total words in the document. IDF (inverse document frequency) = log(total documents in corpus / documents containing the term). TF-IDF = TF × IDF. The result scores words as more important when they appear frequently in the specific document but rarely across the broader corpus — distinguishing topically significant terms from ubiquitous stopwords. In SEO, TF-IDF analysis compares the target page\'s term frequency distribution against the top-ranking pages for a query: terms that appear significantly more often in top-ranking pages than in average web content are identified as "TF-IDF important terms" — candidates for inclusion in the target page to close topical coverage gaps. SEO tools that use TF-IDF for content analysis include Surfer SEO, Page Optimizer Pro, and MarketMuse (which uses more sophisticated variants). Google has stated TF-IDF is not its primary ranking algorithm — modern Google uses neural language models (BERT, MUM) that understand semantic meaning rather than term frequency patterns. TF-IDF remains useful as a practical proxy for identifying topically important terms.

Why it matters for SEO

TF-IDF analysis provides an actionable method for identifying terms that top-ranking pages include but your page may be missing — a form of semantic gap analysis. Including these terms doesn\'t "game" Google via TF-IDF (Google doesn\'t use TF-IDF as its primary relevance scorer), but it often reflects genuine topical coverage gaps: if the top 10 pages for "seo audit" all mention "Core Web Vitals" and your page doesn\'t, that\'s a real content gap worth addressing regardless of the mechanism. The risk is over-mechanisation: following TF-IDF recommendations blindly produces awkward, unnatural content. Use TF-IDF output as a content checklist for topic coverage, not as a mechanical keyword insertion guide.

How DeepSEOAnalysis checks this

DeepSEOAnalysis does not perform TF-IDF analysis (which requires a reference corpus of competing pages). TF-IDF content analysis is the domain of dedicated content optimisation tools (Surfer SEO, Page Optimizer Pro, Clearscope, MarketMuse). The audit checks structural content quality signals that often correlate with good TF-IDF coverage: heading count and diversity (suggesting topic subsections are covered), word count sufficiency for the page type, and absence of keyword stuffing.

GLOSSARY

See how your site scores on TF-IDF (Term Frequency-Inverse Document Frequency).

The free DeepSEOAnalysis audit checks tf-idf (term frequency-inverse document frequency) and 100+ other signals. Full report, no signup.

Run a free audit →