Learn AI Math

Chunk Size

What is Chunk Size?

In one sentence: Chunk size is how big each piece of a split document is, usually measured in tokens or characters.

Small chunks are precise but may lack context. Large chunks keep more context but can include unrelated text and use more of the prompt. People test different sizes to find what works best.

Σ Quick math / rule of thumb: Most RAG pipelines start around 256–512 tokens per chunk with 10–15% overlap (~30–60 tokens) so sentences aren't sliced mid-thought.

What does Chunk Size look like?

A chunk size of 512 tokens is a common starting point.

Why does Chunk Size matter?

The right chunk size can make retrieval much more accurate.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.