Ask five people in a manufacturing business what the difference is between a batch and a lot, and you will get five answers delivered with varying confidence. Ask what the difference is between a lot and a serial number, and the answers get better, because that distinction is real and most people can feel it even if they cannot articulate it. The reason the first question is harder is that it does not have the answer people expect. Batch and lot are not two different concepts that you need to choose between. They are two words for the same concept, and the gap between them is linguistic and industry habit rather than technical.
The message up front: at the labelling layer batch and lot share a single GS1 field, so there is no technical distinction to encode. At the ERP layer they are frequently separate records, and legitimately so: a supplier's batch reference, an internal receipt lot you create to control inspection and inventory, and a production batch you manufacture are three different identities with three different owners. Keep them as distinct fields linked by parentage rather than collapsing them into one. The larger decision is still group identity versus serial identity, because that determines your data volume, your label design and what questions you can answer when something goes wrong.
1. The short answer
Three definitions, as tightly as I can put them:
- A batch is a quantity of material produced or processed together under conditions that are treated as uniform. One mixing run, one oven load, one reactor charge, one blending operation.
- A lot is a quantity of material grouped together and treated as a single identifiable unit for inventory and traceability purposes. One delivery from a supplier, one production run, one sublot split off from a larger quantity.
- A serial number identifies exactly one physical item, uniquely, for the life of that item.
Read those again and notice what happened. The first two overlap almost completely. A production run is both a batch and a lot. The definitions differ in emphasis, where batch leans towards the manufacturing event and lot leans towards the inventory grouping, but they describe the same object in your system: a group of units sharing an identity and a history. The third definition is structurally different. It is about one thing, not a group of things, and that is a different kind of record entirely.
2. What the standard encodes, and what an ERP legitimately models
Two layers get conflated here, and separating them resolves most of the argument.
At the labelling layer there is one field. GS1 maintains the Application Identifier system that governs how data is encoded in the barcodes on traded goods worldwide, and it defines a single identifier, AI (10), whose official description is "Batch or lot number" and whose short title is BATCH/LOT. Serial number gets its own identifier, AI (21). You can check both against GS1's own Application Identifier reference . So when you print a label or parse a trading partner's, there is no batch-versus-lot distinction to encode: one field carries whichever identity you are passing on.
At the ERP layer, several distinct identities are normal and useful. It does not follow from a shared barcode field that a system should hold only one identity. In a working implementation it is common and correct to maintain all of these:
- The supplier's batch reference. Their identity for the material, as printed on the drum and quoted on the certificate of analysis. The only value that will match a supplier recall notice or an incoming quality complaint.
- Your internal receipt lot. An identity you create at goods receipt, scoped to what arrived on one delivery against one order, under one inspection decision.
- The production batch. The identity of what you manufactured, which has its own uniformity claim, its own dates and its own parentage.
- Sublots and child lots created by splitting, repacking or partial release, each inheriting a parent.
Those are not duplicates of each other. They have different owners, different scopes and different lifecycles, and the relationships between them are the traceability chain. What should be avoided is holding two fields that mean the same thing, for example an internal "lot number" and an internal "batch number" that are populated with the same value by convention. That is duplication. Holding a supplier reference alongside an internal lot is not.
Why an internal receipt lot is worth creating
A supplier batch can arrive across several deliveries, and one delivery can contain several supplier batches. Neither maps cleanly to the thing you need to control, which is "this quantity, received on this date, inspected and released as a unit, held in these locations". An internal receipt lot gives you that: a stable key for the inspection decision, the quality status, the quantity on hand and the movements, with the supplier's reference stored against it rather than instead of it. It also means a supplier changing their numbering format does not disturb your inventory keys. The cost is one extra identity to carry; the alternative is overloading the supplier's reference with responsibilities it was never scoped for.
Where the two words genuinely diverge is by industry habit, and it is worth knowing the habits because they tell you which term to use with which audience. Pharmaceutical and chemical manufacturing lean heavily on "batch", because the manufacturing event is the controlled thing and the batch record is the regulatory artefact. Food, beverage and general distribution lean towards "lot", because the inventory grouping is what moves and gets recalled. Automotive and electronics tend to use "lot" for components and serial for assemblies. None of these are rules. They are dialects, and the useful discipline is to be explicit about which identity you mean rather than to insist on one vocabulary.
3. What a batch is, physically
A batch exists because of how process manufacturing works. You charge a vessel, you run the process, you discharge the output. Everything that came out of that one run shares the same inputs, the same process parameters, the same operator, the same equipment and the same point in time. If something was wrong with any of those, it is wrong for the whole output, which is exactly why grouping it under one identity is useful.
A concrete example. A bakery runs a dough mix at 06:00 using flour from one supplier delivery, water, yeast and a premix. That mix produces 1,200 loaves, which are baked across four oven loads and packed over the next two hours. The uniformity claim is about the dough, so the sensible batch is the mix: 1,200 loaves, one batch identity. If the premix turns out to have been contaminated, all 1,200 loaves are implicated and none outside them are. That is a well-drawn batch.
Now change one thing. Suppose the four oven loads ran at measurably different temperatures because one oven was faulty, and the defect you later care about is underbaking rather than contamination. The mix-level batch is now too coarse: it implicates 1,200 loaves when 300 are affected. Whether a batch is drawn correctly depends on what can go wrong, which is why batch definition is a quality and engineering decision before it is a system configuration decision. I would push any client to settle that question with the process owners before anyone opens the ERP.
4. What a lot is, and why the word exists separately
The reason "lot" survives as a separate word is that not every identifiable group of stock came out of a manufacturing run. Consider what arrives at a goods receipt dock. A delivery of 40 drums of solvent from a supplier is one identifiable group with a shared origin and shared certificate of analysis, and you need to track it as a unit. It is not a batch you made. It is a lot you received. The supplier may well call it their batch, and on their paperwork it is.
That is the honest origin of the two words: the same physical group is a batch from the perspective of whoever made it and a lot from the perspective of whoever is holding it in inventory. Which is also why trying to maintain both as separate fields produces nonsense. You end up with a lot number that equals the batch number on every row, or worse, a lot number you generated locally that nobody in your supply chain can reference.
There is one genuinely useful sub-distinction, and it is worth keeping: the sublot. When a received lot is split, repacked or partially consumed, some operations create a child identity that inherits the parent's attributes while tracking its own quantity and location. That is a real structural need and it is handled by a parent-child relationship on the lot record, not by inventing a second vocabulary.
5. What a serial number is, and the rule that defines it
A serial number identifies one unit, and the property that makes it work is uniqueness. The point worth being precise about is uniqueness within what, because that depends on the identification scheme in use rather than being an absolute property of the number itself.
In the GS1 system a serial number is not unique on its own: it is unique in combination with the product identifier. AI (21) qualifies a GTIN, so the pair of GTIN plus serial is what identifies one item, and the same serial string can legitimately appear against a different GTIN. Manufacturer-specific and sector-specific schemes draw the boundary differently: some guarantee uniqueness across a whole product family, some only within a model or a production site, and some embed the model in the number itself so the question does not arise.
The practical consequences:
- Know your scheme's scope before setting a database constraint. Under a GTIN-qualified scheme the unique key is (item, serial), not serial alone. A constraint on serial alone will reject legitimate data the first time two products share a number.
- Do not assume a supplier's serials are unique in your namespace. Two suppliers can issue the same serial string for different parts. Where you hold inbound serials, scope them by supplier and item.
- Within its declared scope, treat uniqueness as absolute. Reusing a serial inside the boundary where it is meant to identify one item destroys the record, because a lookup then returns two items and nobody can tell which one is in front of them.
That last point is the one that still holds without qualification: whatever the scope, a serial must not be reissued inside it.
That rule is absolute in a way the batch rules are not, and it drives everything else. A serialised item needs its own record in the system from the moment the serial is assigned until the item is scrapped. It accumulates its own history: where it was made, who it shipped to, when it was installed, what was done to it, what warranty applies, when that warranty expires. A batch cannot carry that history, because a batch is 1,200 loaves and "where did it ship to" has 1,200 answers.
This is also why serialisation is where traceability meets the service and warranty world. A serial is the hook that lets you answer a question about one customer's one unit, which is the question a warranty claim actually asks. For how that plays out in maintenance systems, the serial number tracking guide covers the warehouse and asset side in detail, and warranty management in CMMS and EAM systems covers the entitlement side.
6. The three side by side
The dimensions that actually separate these, rather than the ones that sound like they should:
| Dimension | Batch | Lot | Serial number |
|---|---|---|---|
| What it identifies | A group made together | A group held together | One single unit |
| Cardinality to units | One to many | One to many | One to one |
| GS1 identifier | AI (10) | AI (10), the same barcode field | AI (21) |
| Must be unique | Within the item, by convention | Within the item, by convention | Within the scheme's declared scope, often (item + serial) |
| Typical record volume | One per production run | One per receipt or run | One per unit produced |
| Natural fit | Process output: liquids, powders, food | Received stock, distribution | Discrete high-value assemblies |
| Answers "who got it?" | For the whole group only | For the whole group only | For the exact unit |
| How it fails in practice | Drawn too coarsely, so a defect implicates far more stock than it should | Generated locally, so it cannot be matched to the supplier's own reference | Reused or reprinted, which destroys the uniqueness the whole model rests on |
7. How each one lands in the data model
This is the part that gets skipped in definitional articles and it is where the difference stops being semantic and starts costing money. The three identifiers produce different table structures, and the structure determines what you can ask.
A batch or lot sits as a record keyed by item plus lot code, with quantity tracked against it:
↓ one to many
lot (lot_id, item_id, lot_code, mfg_date, expiry_date, status, origin_ref)
↓ one to many
stock_balance (lot_id, location_id, quantity_on_hand)
↓ one to many
stock_movement (movement_id, lot_id, location_id, qty, direction, doc_ref, posted_at)
Note the shape: quantity lives on the balance, not on the identity. One lot record, many location balances, many movements. A unique constraint belongs on (item_id, lot_code), because the same lot code on two different items is normal and the same lot code twice on one item is a data error.
A serialised item inverts that relationship, and the inversion is the whole story:
↓ one to many
serial_unit (serial_id, item_id, serial_code, lot_id?, status, current_location_id)
↓ one to many
serial_event (event_id, serial_id, event_type, doc_ref, occurred_at)
There is no quantity column anywhere in that structure, because the quantity is always one. Instead of a balance you have a state: this unit is in stock, or allocated, or shipped, or installed, or returned, or scrapped. A unique constraint belongs on (item_id, serial_code), and in many businesses on serial_code alone.
The nullable lot_id on the serial record is the single most useful column in this whole discussion. It is how the two models combine, and combining them is extremely common: a serialised pump assembly that was built from a specific batch of castings, a serialised medical device packed in a lot that shipped to a distributor. The serial answers "which unit", the lot answers "which production group", and the foreign key between them is what lets a defect found in one unit expand to the group it came from. If you build only one of the two models, that expansion is impossible.
The limitation nobody mentions at design time
Serialisation multiplies your record count by your unit volume, and it does so permanently. A plant making 50,000 units a month generates 600,000 serial records a year, each with its own event history, and none of them can be archived while a warranty or service obligation is live. That is a real cost in storage, in query performance, in interface payload size and in the patience of the people who have to scan every unit. Serialise because a question you must answer requires it, not because it feels more rigorous than lot tracking.
8. Choosing between lot and serial: the decision test
The question to ask is not "how much traceability do we want", because the answer to that is always "more" and it leads to over-serialising. The useful question is narrower:
Is there a question you are obliged to answer about one individual unit, where an answer about its group would not be enough?
If yes, you need serials. Warranty on a specific customer's specific machine. A regulator or contract requiring unit-level identification. A field service history for an installed asset. A high-value item where theft or substitution matters. In each case the group answer genuinely fails: "this pump came from the April production run" does not tell you whether this pump is still in warranty.
If no, lot tracking is the right answer and serialising is waste. Recall scope, shelf-life rotation, supplier quality attribution and regulatory food traceability are all group questions. Knowing that a contaminated ingredient went into lot 2026-0412 and that lot 2026-0412 shipped to eleven customers is a complete answer to the recall question. Serialising every yoghurt pot would add cost and answer nothing further.
Three practical patterns I would recommend, in rough order of how often they are the right call:
- Lot only. Process manufacturing, food, chemicals, consumables, fasteners, anything measured in mass or volume. The large majority of manufactured material belongs here.
- Serial on top of lot. Discrete manufacturing of items with service obligations. Serialise the finished assembly, lot-track the components, and keep the foreign key between them. This is the configuration that answers the most questions per unit of effort.
- Serial only. Low-volume, high-value, long-lived equipment where there is no meaningful production grouping and the unit is the only thing anyone asks about.
What I would avoid is the pattern where serialisation is switched on for a whole item master because one customer asked for it once. That decision is easy to make and very hard to reverse, because the historical records you created do not go away and the workflows people built around them do not either.
9. Where this goes wrong in practice
The failure patterns here are consistent enough to list, and most of them are decided during configuration rather than discovered during operation:
- Two internal fields that mean the same thing. An internal "lot number" and an internal "batch number" populated with the same value by convention is duplication. A supplier batch reference alongside an internal receipt lot is not: those are different identities and both are worth holding.
- Overwriting the supplier's lot reference with your own. The moment you replace the supplier's code with an internal sequence, backward traceability to that supplier breaks. Store your own identifier if you need one, but keep theirs in a dedicated field alongside it.
- Drawing the batch around the wrong event. Batching by production shift when the real uniformity boundary is the mix, or by mix when the real boundary is the oven load. The batch should follow the thing that can go wrong.
- Serialising to look rigorous. Unit-level records with no unit-level question behind them. Pure cost.
- Reusing serials after a rework or a reprint. This destroys the uniqueness the entire model depends on, and it usually happens informally on the shop floor rather than deliberately in the system.
- Lot-tracking the item but not the movements. If the lot is captured at receipt and then stock moves without carrying it, you have a lot number and no traceability. The lot has to travel on every transaction, which is a workflow problem as much as a configuration one.
- Turning tracking on for an item that already has stock on hand. The existing balance has no lot identity, so you get a phantom "blank" lot that confuses every report until someone reconciles it. Plan the cutover with a physical count.
The common thread is that none of these are software defects. Every mainstream ERP handles lot and serial tracking competently. These are modelling and discipline failures, which means they are inside your control, and also that no product selection will rescue you from them.
The idea to walk away with
At the labelling layer batch and lot are one field, so there is no distinction to encode on a barcode. At the ERP layer, a supplier batch reference, an internal receipt lot and a production batch are three legitimate identities with different owners and scopes, and the relationships between them are the traceability chain. Hold them separately, linked by parentage, and avoid only genuine duplicates: two internal fields carrying the same value.
The real decision is group identity versus unit identity. Group identity is cheap, scales well, and fully answers recall, rotation and supplier quality questions. Unit identity is expensive and permanent, and it is the only thing that answers questions about one customer's one item. Most material needs the first. Items carrying a service or warranty obligation need both, linked by a foreign key, so that a problem found in one unit can be traced back to the group it came from and forward to every other unit in that group.
Final thoughts
If you are setting this up for the first time, the sequence that works is to settle the vocabulary, then settle the batch boundary with the people who own the process, then decide group or unit identity against the obligation test, and only then configure anything. Teams that configure first spend the following year discovering that their batch is drawn around the wrong event and that they cannot change it without reprocessing history.
Next in this series, how a lot identity actually travels from a raw material receipt through production and into a finished goods record, which is where the structure above either holds or quietly falls apart. See lot traceability from raw materials to finished goods, and for the identifier layer that carries all of this on a physical label, generating batch and lot barcodes using GS1 standards.
Setting up batch, lot or serial tracking?
Independent advisory on inventory and traceability data models, ERP configuration and the integration between production, warehouse and quality systems. 22+ years across enterprise systems implementation. No vendor margins, no reseller arrangements.
Book a conversationRelated reading: Lot and batch tracking, Serial number tracking, Barcode-based inventory management, FEFO vs FIFO vs LIFO stock rotation, Expiry date management.
Muhammad Abbas
CMMS / CAFM Manager & Independent Advisor · 22+ years across enterprise CMMS, EAM, CAFM and ERP implementations in utilities, oil and gas, manufacturing, government and facility operations.
Work with me