New Tool Radar

AI Concepts

How to Test How Chunk Size Changes Retrieval Quality in a RAG Pipeline

Try two chunk sizes on the same questions and keep the one that retrieves the answer more often.

Schematic with three numbered boxes: fix ten questions, run small chunks, run large chunks.

RAG retrieval works on chunks, and the chunk size decides how much context each retrieved piece carries. Very small chunks can split an answer across two pieces, while very large chunks can bury the answer in noise. Testing two sizes on the same ten questions shows which one retrieves better for your documents.

Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.

Prerequisites

  • A document set you can re-chunk
  • Ten questions with known answers
  • A way to run retrieval twice, once per chunk size

Steps

1. Fix the question set

Write ten questions and their answer passages before you change anything, so both runs are judged the same way.

Expected result: Ten questions with named answer passages are fixed and will not change.

2. Run retrieval at the small size

Chunk the documents at about 200 words, embed them, and run the ten questions. Record how many answers were retrieved.

Expected result: A count out of ten exists for the small size, for example 6 of 10.

3. Run retrieval at the large size

Re-chunk the same documents at about 800 words, embed again, and run the same ten questions. Record the count the same way.

Expected result: A count out of ten exists for the large size, for example 8 of 10.

4. Keep the better size and note the trade-off

Keep the size with the higher count, and note what it costs: larger chunks use more context window per retrieval.

Expected result: One chunk size is chosen, with the count for each size written down.

Worked example

A practice handbook was chunked at 200 words and at 800 words, and the same four questions were run both times.

Question Found at 200 words? Found at 800 words?
Holiday carry-over Yes Yes
Sick pay start No Yes
Remote work days Yes Yes
Expenses deadline No No

Expected result: The 800-word chunks found 3 of 4 shown questions and the 200-word chunks found 2 of 4, so the larger size wins on this set (UNTESTED – confirm it yourself.)

Verdict table

Check Expected result Pass?
Fix the question set Ten questions with named answer passages are fixed and will not change. –
Run retrieval at the small size A count out of ten exists for the small size, for example 6 of 10. –
Run retrieval at the large size A count out of ten exists for the large size, for example 8 of 10. –
Keep the better size and note the trade-off One chunk size is chosen, with the count for each size written down. –

Limits

  • The best size depends on the documents; a size that wins on a handbook may lose on legal text with long sentences.
  • Re-embedding a large set costs time and tokens; test on a sample first.

Sources

See all