RAG sizing calculator
Plan document chunks, embedding volume, and raw vector storage before building a retrieval pipeline.
Make it your own
Edit the example. Results are free, with no sign-up required.
How this tool works
Chunks per document = 1 + ceil(max(0, tokens − chunk size) ÷ (chunk size − overlap)). Assumes uniform document length and fixed-size chunks.
Embedded tokens include repeated overlap. Each document is chunked separately; real document lengths and tokenizers change the estimate.
Raw vector storage = chunks × dimensions × bytes. GiB uses 1,073,741,824 bytes. This excludes index overhead, metadata, source text, replicas and backups.
Your results
- Total chunks
- 8,000
- Chunks per document
- 8
- Tokens to embed
- 37,00,000
- Raw vector storage (GiB)
- 0.05
Planning estimate based on your inputs. See the assumptions before using it.
What’s inside
Plan document chunks, embedding volume, and raw vector storage before building a retrieval pipeline. Use the interactive tool on our website and keep this companion worksheet for planning.
Method and assumptions 3 checks
Chunks per document = 1 + ceil(max(0, tokens − chunk size) ÷ (chunk size − overlap)). Assumes uniform document length and fixed-size chunks.
Use your results 3 checks
Replace the example with measured inputs from your workflow.
Based on Chunking for RAG: how to split documents so retrieval works.