RAG Chunk Size Calculator
Estimate fixed-window chunk counts and indexed tokens with overlap.
Assumes fixed token windows and a potentially shorter final chunk; no semantic splitting.
How to use RAG Chunk Size Calculator
Load the example, edit the input using the same format, and select Run. Review the output before copying or downloading.
Example input
{
"tokens": 10000,
"chunkSize": 500,
"overlap": 50
}Example output
{
"chunks": 23,
"stride": 450,
"totalIndexedTokens": 11100
}Frequently asked questions
What does this tool do?
Estimate fixed-window chunk counts and indexed tokens with overlap.
What are the limitations?
Assumes fixed token windows and a potentially shorter final chunk; no semantic splitting.
Does it call an AI API?
No. Tool processing runs in your browser. The site separately loads advertising and analytics scripts.