iWebSeoTool Knowledge Base Size Calculator: Work out how big a knowledge base is before it is indexed — enter the documents, the average size, the chunk size and the overlap, and see the characters, tokens and chunks.
This knowledge base size calculator works out how big a knowledge base is before it is indexed — the documents, the average size, the chunk size and the overlap. Enter your own figures and this knowledge base token estimator shows the total characters, the total tokens, the total chunks and the extra characters the overlap adds — so the index is sized before a single document is split.
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 Knowledge Base Size Calculator?
Size Before You Index
Know how big the base is before a single document is split, not after the bill arrives.
Overlap Priced In
The repeated characters are counted, so the true cost of the overlap is never hidden.
Tokens Next to Characters
The base is shown in characters and tokens, so a token-priced system can use it directly.
Free, With No Limits
Size every knowledge base, document set and archive on your list, with no signup and no premium tier.
Common Use Cases for Knowledge Base Size Calculator
RAG Indexing
Size a knowledge base before it is indexed for retrieval.
Help Centre Migration
Work out what a whole help centre becomes as chunks.
Document Archives
Check how big a scanned archive is once it is split.
Storage Budgets
Count the stored characters before paying to store them.
Chunk Experiments
Compare 500, 1,000 and 2,000-character chunks on the same base.
Cost Estimates
Price the embedding bill from the stored token count.
Understanding Knowledge Base Size
What is Knowledge Base Size?
Knowledge base size is how much text a collection of documents holds once it is split into chunks for search — the total characters across all documents, the total tokens they become, and the stored characters once the overlap between neighbouring chunks is counted. The total chunks are the documents divided into pieces of the chunk size, stepping forward by the chunk size minus the overlap.
How Our Knowledge Base Size Calculator Works
- Enter the documents: Add how many documents the base holds and the average characters in each.
- Set the chunking: Enter the chunk size, the overlap between chunks and the characters per token.
- Read the size: See the total characters and tokens, the total chunks, and the stored characters and tokens once the overlap is counted — then test a bigger or smaller chunk size.
Where Knowledge Base Sizing Goes Wrong
- Forgetting the overlap: A generous overlap can add a quarter or more to the stored size, and the bill with it.
- Using the average alone: A few very long documents can dominate the chunk count while the average looks modest.
- Chunks too small: A 100-character chunk rarely holds a complete idea, so the search returns fragments.
- Counting tokens as characters: A 1,000-token chunk is about 4,000 characters — mixing the two units makes the base four times too big or too small.
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 or cost is guaranteed. It is free, with no account and no usage limits.
Related tools
- Chunk Size Calculator — work out the chunk size a document needs for a target chunk count.
- Chunk Count Calculator — work out how many chunks a document splits into.
- Character to Token Calculator — turn characters into tokens before sending text to a model.
- Context Window Calculator — work out how much text fits inside a model's context window.
Frequently asked questions
From the documents and their average size: 500 documents of 8,000 characters hold 4,000,000 characters, or about 1,000,000 tokens at four characters per token. Split into 1,000-character chunks with 200 characters of overlap, they make 5,000 chunks, and the overlap adds 900,000 stored characters — 4,900,000 in total, or 1,225,000 stored tokens.
Because every overlapped character is stored twice — once at the end of one chunk and once at the start of the next. With 200 characters of overlap across 5,000 chunks, 900,000 characters are repeated, which is nearly a quarter of the whole base stored twice over.
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 figures shown here: at four characters per token, a 1,000,000-token base is about 4,000,000 characters.
It depends on the documents and the questions — a help centre of short pages may need only a few thousand chunks, while a library of long manuals may need hundreds of thousands. What matters is the chunk size: too small and the answers are fragments, too large and the search buries the answer.
Use the average, but check the extremes too — a few very long documents can dominate the chunk count, and a base of one-page notes behaves differently from a base of long reports. Run the biggest documents separately if the average hides them.
Partly — embedding and storage providers charge by the tokens or characters stored, so the stored total is the figure that matters for the bill. The retrieval cost is separate, and depends on how many chunks each question pulls back.
No. The calculator runs entirely in your browser; the figures you enter are never uploaded or stored.