iWebSeoTool Chunk Size Calculator: Work out the chunk size a document needs for a target number of chunks — enter the total characters, the target chunks and the overlap, and see the chunk size in characters and tokens.
This chunk size calculator works out how big each chunk of a document should be for a target number of chunks — the total characters, the overlap between chunks and the characters per token. Enter your own figures and the chunking calculator shows the size in characters and tokens, the step between chunks, the number of chunks and the last chunk — so the split is planned before a single chunk is made.
The overlap is the honest part of this calculation — it keeps split sentences readable, but every overlapped character is stored and counted twice, so a generous overlap quietly grows the index. The figures are a model of your own numbers, not a promise of how a search system will split the text. Everything runs in your browser.
Tap a star to rate:
Why Use Our Chunk Size Calculator?
Size From the Count
Set how many chunks you want and the size follows — no trial and error with the numbers.
Overlap Priced In
The repeated characters are counted, so the cost of the overlap is never hidden.
Tokens Next to Characters
The chunk size is shown in tokens too, so a token-based system can use it directly.
Free, With No Limits
Test every document, chunk count and overlap on your list, with no signup and no premium tier.
Common Use Cases for Chunk Size Calculator
RAG Indexing
Size the chunks before a document is indexed for retrieval.
Knowledge Base Setup
Work out the chunk size for a whole knowledge base before it is split.
Chatbot Documents
Plan how a chatbot’s source documents divide into chunks.
Storage Budgets
Count the repeated overlap characters before paying to store them.
Size Experiments
Compare 500, 1,000 and 2,000-character chunks on the same document.
Long Documents
Check what chunk size a long manual needs for a manageable count.
Understanding Chunk Size
What is Chunk Size?
Chunk size is how many characters each piece of a split document holds, and it decides how much context a search result carries. Neighbouring chunks share an overlap so a passage split across a boundary is still found, and the step — the chunk size minus the overlap — is how far the split moves forward each time. The chunk size in tokens is the size in characters divided by the characters per token, about four for plain English.
How Our Chunk Size Calculator Works
- Enter the document and the target: Add the total characters in the document and how many chunks you want it split into.
- Set the overlap and the rate: Enter the overlap in characters and how many characters make one token.
- Read the size: See the chunk size in characters and tokens, the step between chunks, the number of chunks, the last chunk and the total characters processed — then test a bigger or smaller count.
Where Chunk Sizes Go Wrong
- Chunks too small: A 100-character chunk rarely holds a complete idea, so the search returns fragments.
- Chunks too large: A 5,000-character chunk buries the answer in text the model must read anyway.
- No overlap at all: A sentence split across two chunks can be missed by the search entirely.
- Counting tokens as characters: A 1,000-token chunk is about 4,000 characters — mixing the two units makes the split four times too big.
Privacy, Accuracy & Availability
Your figures are calculated in your browser and are never uploaded or stored. The calculator is a model of the numbers you enter — it cannot know how a particular search system splits text, and no retrieval result is guaranteed. It is free, with no account and no usage limits.
Related tools
- Character to Token Calculator — turn characters into tokens before sending text to a model.
- Chunk Count Calculator — work out how many chunks a document splits into.
- AI ROI Calculator — work out the return on any AI investment.
- AI Cost Reduction Calculator — price what AI could take off a process's monthly cost.
Frequently asked questions
The chunk size is the document plus the overlap repeated between chunks, divided by the target number of chunks. 10,000 characters split into 10 chunks with 200 characters of overlap needs chunks of 1,180 characters, stepping forward 980 characters at a time — each chunk is 180 characters bigger than a plain tenth of the document, because the overlap has to come from somewhere.
Because overlapped characters are stored in two chunks at once. With 200 characters of overlap across 10 chunks, 1,800 characters are repeated in total, and every chunk grows to carry its share of it — so a bigger overlap means bigger chunks for the same chunk count.
It depends on the text and the search — common choices are 500 to 1,000 characters for question answering and larger for long-form text. Smaller chunks are more precise; larger ones keep more context. There is no single right size, so test a few on your own documents.
It depends on the document and the search — a short help page may need only a handful, while a long manual may need hundreds. Start from the chunk size you want and let the count follow, or set the count first and let the size follow.
The last chunk holds whatever characters are left after the full-size chunks, and it is still a complete chunk for the search. If it is only a few characters, try one fewer chunk or a slightly larger size so the final piece is worth keeping.
Either, as long as you are consistent — this calculator works in characters and converts to tokens at the rate you set. If your system chunks by tokens, take the token size shown here: at four characters per token, a 1,180-character chunk is about 295 tokens.
No. The calculator runs entirely in your browser; the figures you enter are never uploaded or stored.