AI Calculator
RAG chunk size calculator
Pick chunk size, overlap, and retrieval count based on document type and context window.
Best for: Knowledge bases, enterprise documents, support docs, and technical search
There is no universal best chunk size for RAG. Use these as starting values, then tune with a real question set.
Suggested starting parameters
Chunk size: 600 tokens; overlap: 90 tokens; topK: 8.
If answers miss information, raise topK first. If answers mix unrelated details, reduce chunk size or add reranking.