What is Retrieval Accuracy?
Retrieval Accuracy is the percentage of times a retrieval-augmented generation system successfully retrieves the actual relevant document or passage needed to answer a query, out of all queries tested. Even a highly capable language model will produce a poor answer if the retrieval step feeds it the wrong source material.
TL;DR
Retrieval Accuracy measures how often a RAG system pulls the right source document for a query. Even a great model produces bad answers if this step fails.
Formula
Retrieval Accuracy = (Queries Where the Correct Source Was Retrieved / Total Queries Tested) × 100
Why It Matters
Retrieval accuracy is the diagnostic that separates two very different failure modes in a RAG system: the retrieval step fetching the wrong content, or the generation step misinterpreting content that was actually correct. Without measuring it directly, teams often waste time tuning the language model or its prompt when the real problem is upstream in what gets retrieved in the first place. Because RAG systems exist specifically to ground answers in real source material, low retrieval accuracy defeats the entire purpose of the architecture, the model ends up generating from irrelevant context, which produces answers that sound confident but are ungrounded in anything true. It's especially important to test as a knowledge base grows or changes, since new or restructured documents can shift what the retrieval step surfaces for existing queries. Teams building support, search, or internal knowledge tools over RAG treat this as one of the first numbers to check whenever answer quality drops.
Example
A support AI's retrieval system is tested against 200 questions with known correct source articles, and it retrieves the right article for 174 of them. Retrieval accuracy is 174 divided by 200, times 100, which equals 87%. When a RAG system's answers are wrong or low-confidence, checking retrieval accuracy first helps isolate whether the problem is the retrieval step pulling the wrong content or the generation step misinterpreting content that was actually correct, two very different fixes.
Frequently Asked Questions