What is AI fixed-size chunking?

Fixed-size chunking is the simplest chunking method: it splits a document into consecutive chunks of a set number of characters, words or tokens regardless of meaning or structure, optionally leaving an overlap between chunks.

Unlike recursive chunking, which tries separators such as paragraphs and sentences in turn, or semantic chunking, which sets borders by shifts in meaning, fixed-size chunking sets borders by length alone and can split a sentence in half.

Topic
Embeddings, document processing and RAG
Also known as
Fixed-length chunking

How AI fixed-size chunking works

  1. Chunk size and unit are chosen: characters, words or the embedding model's tokens.
  2. Overlap between chunks is set, so information on a border appears in both chunks.
  3. The text is split from start to end into consecutive chunks of that size.
  4. Each chunk is embedded and indexed with its source document and position.

In more detail

Characters versus tokens in agglutinative languages such as Turkish

Character-based chunking is easy to implement but can exceed an embedding model's context limit unexpectedly in morphologically rich languages like Turkish, where words decompose into more subword tokens. Token-based chunking uses the embedding model's own tokeniser so every chunk fits the model's exact window without silent truncation.

The cost of overlap for storage and top-k diversity

Adding an overlap preserves cross-boundary sentences, yet it increases total chunk count, embedding compute and vector storage proportionally. Too much overlap also floods top-k retrieval results with near-duplicate passages from the same paragraph, reducing context diversity.

The small-to-big retrieval pattern

Fixed-size chunks can be enhanced at retrieval time via small-to-big (parent-child) indexing: small fixed chunks are embedded for sharp similarity matching, while a wider surrounding window or full parent section is passed to the LLM for generation.

Commonly confused terms

TermHow it differs
Structure-aware chunkingDocument/layout-aware chunking parses structural elements (Markdown headings, PDF tables, code ASTs) so tables and clauses stay intact, whereas fixed-size chunking treats the entire document as a flat stream.

Why AI fixed-size chunking matters for on-premises AI

Fixed-size chunking is fast, predictable and needs no linguistic rules; chunk count and index size can be computed up front. The paper introducing dense passage retrieval split Wikipedia articles into disjoint 100-word blocks as its basic retrieval unit. A study questioning the cost of semantic chunking reports that across document retrieval, evidence retrieval and retrieval-based answer generation, semantic chunking's extra compute is not justified by consistent performance gains. Its limit is splitting mid-sentence or mid-table; overlap reduces this loss but enlarges the index.

ON-PREMISES EXAMPLE

A university indexes years of plain-text student affairs correspondence with fixed-size overlapping chunks to launch its first RAG version quickly, moving to recursive chunking later for structured regulation documents.

Common questions

When is fixed-size chunking enough?

For plain, weakly structured text, a quick first version or when chunk count must be predictable.

How is chunk size chosen?

By the embedding model's input limit and retrieval precision on validation questions. Overlap preserves information split at borders.

Sources

In the glossary: Glossary, E to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.