Chunk Size & Overlap Calculator
See how chunk size and overlap change chunk count.
Results update automatically as you type.
Result
2,000 chunks
2 chunks/doc · 1,024,000 tokens to embed
- Effective tokens/chunk
- 448 tokens
- Chunks per document
- 2
- Total chunks
- 2,000
- Overlap
- 12.5%
- Total tokens to embed
- 1,024,000 tokens
Chunking decisions drive how many vectors you store and how much context each query retrieves. Set your corpus, chunk size and overlap to see the resulting chunk count and tokens to embed.
How this is calculated
This calculator uses the rag formulas described in our methodology. All figures are estimates for planning; verify current pricing with each provider before relying on them.
Worked example (defaults)
With the default inputs above, here is the result:
Result
2,000 chunks
2 chunks/doc · 1,024,000 tokens to embed
- Effective tokens/chunk
- 448 tokens
- Chunks per document
- 2
- Total chunks
- 2,000
- Overlap
- 12.5%
- Total tokens to embed
- 1,024,000 tokens
Frequently asked questions
What chunk size should I use?+
256-512 tokens works well for most RAG. Larger chunks keep more context per chunk but retrieve less precisely; overlap of 10-20% preserves meaning across boundaries.