Document Chunking Strategies for RAG: Start at 300–500 Tokens

Most retrieval-augmented generation pipelines should start with recursive character splitting using a token-based target and modest overlap. Fixed-size, recursive, sentence-based, structure-aware, semantic and agentic (LLM-driven) chunking are the main strategies on offer, but recursive splitting handles the majority of production workloads well. Move to semantic or LLM-driven methods only when retrieval failures persist on high-value documents or when the corpus is small enough that the extra compute cost is justified.
TL;DR:
- Use 300 to 500 token chunks with 10% to 20% overlap; favor smaller chunks for fact lookups and larger ones for narrative questions.
- Preserve headings in manuals and contracts, merge orphaned fragments in reports with tables, and use sentence chunking or fixed chunks with overlap for unstructured text.
- Semantic chunking often matches rather than beats simpler methods on real world corpora, so test it or summary guided splitting only where retrieval gaps persist.
- Compare changes on fixed holdout queries using hits@k, recall@k, nDCG, and answer correctness; track latency and index growth before approving reindexing.
Table of Contents
- Canonical chunking strategies: what they are and how they work
- Chunk size and overlap: concrete trade-offs and starting points
- Match document types to chunking approaches
- Advanced: semantic, PIC and LLM-driven chunking
- How to evaluate and tune chunking: metrics, experiments and tools
- Production checklist: ingestion, metadata and operational safeguards
- Client experience: real-world notes on RAG chunking
- Short verdict and next steps for engineering teams
- How we help with RAG chunking, tuning and GEO
- FAQ
- Sources
Canonical chunking strategies: what they are and how they work
Each strategy trades implementation complexity against retrieval quality, and recognising which one you are looking at is the first step to debugging a weak RAG pipeline.
- Fixed-size chunking splits text into blocks of a set token or character count, typically with 10 to 20% overlap; Microsoft's RAG chunking guidance recommends counting BERT tokens rather than characters, since embedding models tokenise text, not raw characters.
- Recursive character or text splitting cascades through a list of separators (paragraph breaks, then sentences, then words) until chunks fall inside a target token range, which keeps natural boundaries wherever possible.
- Sentence or paragraph chunking groups complete sentences or paragraphs up to a size limit, which suits low-cost pipelines where preserving grammatical units matters more than hitting an exact token count.
- Structure-aware chunking uses document headings, page breaks or XML and HTML tags as split points, preserving the logical sections a human reader would recognise.
- Semantic chunking embeds sentences and detects breakpoints where cosine similarity between adjacent sentence embeddings drops, effectively clustering sentences by topic.
- Agentic or LLM-driven chunking asks a language model to rewrite content into standalone propositions and group them, which produces the most coherent chunks but at the highest cost per document.
Chunk size and overlap: concrete trade-offs and starting points
Smaller chunks improve retrieval precision because each chunk matches a narrower query intent, but they sacrifice the surrounding context a generator needs to answer fully. Larger chunks preserve context but dilute the embedding, which can lower hits@k for fact-based queries. A practical baseline is recursive splitting with a 300 to 500 token target and modest overlap, according to Redis's chunking strategy guide for RAG pipelines, which also recommends tuning that range against your own query mix before locking it in.
- Fact-lookup queries (dates, figures, definitions) tend to perform better with smaller chunks, often near the bottom of that range.
- Narrative or explanatory queries benefit from larger chunks that keep multi-sentence reasoning intact.
- Overlap of roughly 10 to 20% of the chunk size reduces the chance that a key sentence gets split across two chunks.
- Run a quick test: halve your chunk size, then double it, and compare hits@k and answer correctness on a held-out query set before settling on a final value.
Match document types to chunking approaches
The right strategy depends more on document structure than on any universal best practice. Microsoft's guidance on the RAG chunking phase ties chunking choice directly to document type, which saves considerable trial and error once applied consistently.
- Structured documents (manuals, contracts, API references) respond best to structure-aware chunking that preserves headings and section boundaries.
- Semi-structured documents (reports mixing prose with tables or lists) usually need recursive splitting followed by a merge pass that reattaches orphaned fragments.
- Unstructured documents (chat logs, freeform notes, scanned text) work well with sentence-based chunking or fixed-size chunking with overlap, since there is no layout to exploit.
- Mixed corpora benefit from an adaptive policy that selects a chunking method per document rather than forcing one approach across every file type.
Advanced: semantic, PIC and LLM-driven chunking
Semantic chunking and related methods group sentences by meaning rather than position, but the evidence for their benefit is mixed. Findings presented at NAACL 2025 show that fixed-size or recursive chunking often matches or beats semantic chunking on real-world corpora, which makes semantic chunking a tool for specific cases rather than a default upgrade.
- PIC (pseudo-instruction chunking) uses a document summary as a guide for where to split, improving thematic alignment without calling an LLM for every chunk, as described in research on document segmentation for RAG.
- Agentic chunking rewrites content into standalone propositions before grouping, which produces highly coherent units but adds LLM latency and cost to every ingestion run.
- Late chunking and contextual prepends embed the full document first and attach surrounding context to each chunk afterwards, a technique AWS's guide to advanced chunking strategies notes can improve long-document retrieval at the cost of heavier ingestion.
- These methods tend to earn their cost on small, high-value corpora or on heterogeneous document sets where a single simple rule keeps failing.
Pro Tip: Benchmark semantic or agentic chunking against your recursive baseline on the same query set before replacing it in production.
How to evaluate and tune chunking: metrics, experiments and tools
Chunk quality needs both intrinsic measurement and downstream validation, because a chunk can look clean in isolation yet still hurt retrieval.
- Measure boundary clarity and chunk stickiness, two intrinsic metrics introduced in ACL 2025 research on text chunking learners that explain why some chunkers underperform even when they look reasonable on paper.
- Track downstream metrics including hits@k, recall@k, nDCG and exact match for question-answering tasks, alongside latency and index size growth.
- Design experiments with a fixed set of holdout queries, run A/B tests across index versions, and gate any re-indexing change behind those results.
- Use the Hugging Face chunk visualiser to inspect boundaries directly, and pair it with embedding comparators and a small curated query suite for repeatable testing. For a deeper look at operational retrieval signals, this guide to retrieval evaluation covers practical metrics engineers can apply before a full production rollout.
| Metric type | Example metric | What it tells you |
|---|---|---|
| Intrinsic | Boundary clarity | Whether chunk edges align with topic shifts |
| Intrinsic | Chunk stickiness | Whether related sentences stay grouped |
| Downstream | Hits@k | Whether the right chunk is retrieved |
| Downstream | nDCG | How well-ranked the retrieved chunks are |
| Operational | Latency | Ingestion and query-time cost impact |
Production checklist: ingestion, metadata and operational safeguards
A handful of operational habits prevent most of the retrieval problems teams trace back to chunking after the fact.
- Use the same tokeniser as your embedding model when sizing chunks; Microsoft's chunking guidance recommends BERT tokens specifically to keep this consistent.
- Store parent and child relationships along with source offsets in chunk metadata, so you can trace any retrieved chunk back to its original location.
- Index small chunks for precise retrieval, but return the parent chunk or surrounding context to the generator for a fuller answer.
- Budget for the cost of re-chunking and schema migration whenever you change embedding models or tokenisation rules.
- Monitor duplicate retrievals, index growth and latency on an ongoing basis, since these drift as the corpus grows.
Client experience: real-world notes on RAG chunking
As a Manchester-based AI consultancy building tailored AI agents and custom integrations for UK businesses, we typically start client RAG projects with recursive splitting, benchmark against a small representative query set, then test semantic or PIC methods only on the documents that matter most.
Recursive splitting first, benchmark second, advanced methods only where the data justifies the cost.
LLM-driven chunking stays reserved for small, mission-critical corpora in our engagements, since the per-document cost rarely pays off at scale.
Short verdict and next steps for engineering teams
Start with recursive splitting at a 300 to 500 token target and modest overlap: it covers most RAG workloads without added cost. If retrieval gaps persist, test semantic or PIC chunking on a representative subset and measure the change with hits@k alongside intrinsic chunk metrics. Reserve propositionisation or agentic chunking for small corpora where a wrong answer carries a real cost.
— Oded
How we help with RAG chunking, tuning and GEO
Tuning chunking strategy is one part of getting a RAG system to answer reliably; the harder part is wiring it into a working agent that customers actually use. We build AI agents, automations and integrations end to end, from indexing and chunk tuning through to the chat, voice or email agent that sits on top. A typical engagement runs through discovery, a working pilot with indexing and tuning included, then handover with ongoing support. For teams that need a working demo fast, our Rapid MVPs service gets a pilot RAG agent running in days rather than months, and our AI Integrations & Enablement work covers the pipeline plumbing around it. Get in touch through our services page to scope a pilot.

FAQ
What is the best chunk size for RAG retrieval?
A 300 to 500 token range with modest overlap works well as a starting point for most pipelines, according to Redis's chunking guidance. Fact-lookup queries tend to favour the smaller end of that range, while narrative queries benefit from larger chunks.
Should I use semantic chunking instead of fixed-size chunking?
Not by default. NAACL 2025 findings show that fixed-size or recursive chunking often matches or beats semantic chunking on real-world corpora, so semantic chunking is worth testing on specific high-value documents rather than adopting wholesale.
How does document type affect chunking strategy?
Structured documents such as manuals or contracts work best with structure-aware chunking that preserves headings, while unstructured text such as chat logs usually needs sentence-based or fixed-size chunking with overlap, as outlined in Microsoft's RAG chunking guidance.
What metrics should I use to evaluate chunk quality?
Boundary clarity and chunk stickiness are intrinsic metrics that explain why some chunkers underperform, introduced in ACL 2025 research. Pair these with downstream metrics including hits@k, recall@k, and nDCG to confirm the chunking change actually improves retrieval.
Is agentic or LLM-driven chunking worth the cost?
It depends on corpus size and stakes: agentic chunking produces highly coherent chunks but adds LLM latency and cost to every document ingested. It tends to pay off only on small, mission-critical corpora where retrieval errors are costly, rather than as a default across a large document set.