miatz™
Verify a credentialLog inSit ChuunSit Chuun
  • Learners
  • Mentors
  • Business
CoursesApplied AIProgramResidencyPlaygroundsWar RoomsXookAtlasReadiness Check
miatz

The AI-era engineering institute. The machines got fast — we train the drivers. Real work, a daily loop that compounds, and a record that proves you can think.

Toggle theme
Explore
  • Courses
  • Applied AI
  • Program
  • Residency
  • Playgrounds
  • War Rooms
  • Xook
  • Atlas
  • Readiness Check
  • Tokenizer Lab
  • Chunking Lab
  • Prompt Anatomy
  • Calibration Lab
  • All playgrounds →
Learn
  • Courses
  • The Method
  • The Residency
  • Chuun · Entrance Examination
  • Manifesto
  • The Itz'at credential
  • Verified engineers
  • Playground Catalog
  • AI Use-Case Atlas
  • AI Readiness Check
  • Guides
  • Glossary
  • Compare approaches
  • Blog
  • What's New
For teams
  • For Students
  • For Mentors
  • For Business
  • Classroom migration
  • Miatz Index
  • API reference
  • Sit Chuun
  • Log in
Company
  • About
  • Experts
  • Why it's free
  • Pricing
  • FAQ
  • Contact
  • Privacy Policy
  • Terms of Service
  • Your data & privacy requests
  • Grievance redressal
  • Security & disclosure
  • Subprocessors
  • Data Processing Agreement
Take miatz with you

The Android app is live. iOS is on the way.

Available on AndroidGet it on Google Play
Not yet on iPhoneiOS — use the web app

Miatz Private Limited

Registered office:
C-101, Lotus Tower, Arge Urban Bloom, 30/A, 4th Main, 2nd Stage, Yeswanthpur, Bengaluru, Karnataka 560022, India
CIN:
U62013KA2026PTC226418
GSTIN:
29AAVCM3922D1Z6
Phone:
+91 82802 73456
Email:
hello@miatz.com
Website:
miatz.com
Grievance Officer:
Aishwarya · aishwarya@miatz.com · replies within 30 days
© 2026 miatz · Miatz Private Limited · Built in Bangalore·PrivacyTerms

miatz™, Itz'at™, Tuukul™, T'aan™, Kanan™, Xook™ and Chuun™ are trademarks of Miatz Private Limited (registrations in progress) · what the names mean

miatz
Glossary

Recall@k

Recall@k is the fraction of all relevant documents for a query that appear somewhere in the top k retrieved results.

Recall@k measures the fraction of all documents relevant to a query that appear anywhere within the top k retrieved results — the number of relevant items found, divided by the total number of relevant items that exist.

It answers a specific question: of everything that should have been retrieved, how much did the system actually surface within its result window? It says nothing about the order of those results within the top k, and nothing about how many irrelevant results came along with them — that's precision@k's job. The two metrics are deliberately complementary.

How it works

The formula is:

recall@k = (relevant documents in top k) / (total relevant documents that exist)

Computing it requires knowing the total relevant count ahead of time — which is why recall@k depends entirely on a golden dataset with labeled relevant documents per query. Without that ground truth, there's no denominator, and "recall" is not a computable number, just a guess.

Recall@k is monotonic in k by construction: recall@20 can only be greater than or equal to recall@5 for the same query, because widening the window can only add relevant documents, never remove them. That makes recall@k a natural metric for tuning how many candidates a first-pass retriever should hand to a reranker — you want k large enough that recall@k is near its ceiling before reranking narrows the list back down.

Why it matters

Recall@k is the metric that catches the retrieval failure a RAG system cannot recover from: a document that never enters the top k is a document the language model will never see, no matter how good the prompt, the reranker, or the model downstream. A RAG system with excellent prompting and a weak retriever fails silently and looks, from the outside, like a hallucination problem — when the real problem was that the evidence was never in the context to begin with. Teams debugging groundedness issues should check recall@k before touching the prompt.

A worked example

A query has 4 documents in the corpus genuinely relevant to it, labeled by hand in a golden dataset. A retrieval system's top-5 results contain 3 of those 4 relevant documents, mixed in with 2 irrelevant ones.

recall@5 = 3 / 4 = 0.75

Widen the window to top-10 and, say, the 4th relevant document appears at rank 8: recall@10 becomes 4/4 = 1.0. That single shift — 0.75 at k=5, rising to 1.0 at k=10 — tells a concrete engineering fact: this retriever needs a slightly larger first-pass k, or a better ranking, to make sure a downstream reranker or generator sees all four before it has to choose.

How miatz teaches it

Learners build a small golden dataset with hand-labeled relevant documents per query, then compute recall@k at several values of k for their own retrieval pipeline — plotting the curve rather than reading one number — so the "how big should k be" question turns into evidence instead of a guess.

Related terms

Precision@k Mean Reciprocal Rank (MRR) Golden Dataset Retrieval-Augmented Generation (RAG)

Learn this in a course

AIE-202 · RAG Foundations AIE-203 · RAG Quality & Retrieval Evals

See it compared

Small Chunks vs Large Chunks

Learn it by doing it.

Miatz turns definitions into judgment — the free founding cohort trains you on exactly these concepts, hands-on.

Join free More definitions