RAG Chunk Count Calculator
Number of chunks for a corpus at a chunk size and overlap.
Runs in your browser — nothing is uploaded—
Details
How to use RAG Chunk Count Calculator
- Enter your values — the unit for each field is shown next to it.
- The result updates instantly as you type.
- Copy the results, or change inputs to compare scenarios.
Formula & assumptions
Chunks = ⌈(corpus tokens − overlap) ÷ (chunk size − overlap)⌉