A batch number, also called a lot number, is the code a manufacturer gives to a group of products made under the same conditions. Every unit from the same production run shares it. If a problem turns up in one run, the batch number tells you exactly which units are affected, so you can act on that run and leave the rest of the model alone.
Batch number vs lot number
In everyday use the two terms are synonyms. GS1, the organization behind barcode standards, treats them as a single data element called "batch or lot number". Which word a company uses is mostly a matter of habit.
Some regulations do draw a distinction:
| Source | Batch | Lot |
|---|---|---|
| US drug manufacturing, 21 CFR 210.3 | A quantity with uniform character and quality, made under a single manufacturing order during the same cycle of manufacture | A batch, or a specific identified portion of a batch, with uniform character and quality |
| EU food, Directive 2011/91/EU, Article 1(2) | Not defined separately | A batch of sales units of a foodstuff produced, manufactured or packaged under practically the same conditions |
| GS1 General Specifications | One element: batch or lot number, AI (10) | Same element |
So a lot can be a whole batch or part of one. For consumer products outside these sectors, pick one term and use it consistently across your labels, ERP and passport data.
How batch numbers are encoded
The GS1 General Specifications define Application Identifier (10) for the batch or lot number. Key rules:
- Format: up to 20 alphanumeric characters.
- Content: whatever the manufacturer finds relevant for traceability, for example a production lot, a shift number, a machine number, a time or an internal production code.
- Always with a GTIN: the batch number is an attribute, not an identifier on its own. It must be processed together with the GTIN of the product. GS1 notes it "is not part of the unique identification of a trade item".
- No duplicates per GTIN: when the same product is made in several plants, the brand owner and manufacturer must make sure batch numbers do not repeat for that GTIN.
In a GS1-128 barcode or GS1 DataMatrix it appears as (01)09506000134352(10)ABC123. In a QR code built on GS1 Digital Link it becomes part of a web address: https://example.com/01/09506000134352/10/ABC123.
Batch numbers in recalls and traceability
Batch numbers are what make a targeted product recall possible. If a supplier's component was faulty for two weeks, you recall the batches that used it, not every unit ever sold. They also link a finished product to its production records, inspection results and supplier materials, which is the basis of traceability.
Under the General Product Safety Regulation, which applies from 13 December 2024, Article 9(5) requires manufacturers to make sure their products "bear a type, batch or serial number or other element enabling the identification of the product", visible and legible for consumers, or on the packaging or an accompanying document where the product is too small.
Batch level in the Digital Product Passport
ESPR does not fix one level of detail for all products. Article 9(2)(d) leaves it to each product group's delegated act to decide "whether the digital product passport is to be established at model, batch or item level". Recital 33 explains the terms: a batch "usually refers to a subset of a specific model composed of all products produced in a specific manufacturing plant at a specific moment in time".
At batch level, the unique product identifier is typically the GTIN plus the batch number, and the data carrier changes per batch rather than per unit. That suits products whose environmental data, such as material sourcing or carbon footprint, varies between production runs. Batteries are different: the battery passport is set per individual battery, which needs a serial number.
How to prepare
- Define what one batch is in your production: a day, a shift, a line, a material lot. Write it down so plants and suppliers apply it the same way.
- Keep batch numbers unique per GTIN across all factories.
- Stick to the GS1 rules: 20 characters at most, and avoid characters outside the GS1 set if you plan to encode them.
- Record the batch with its context: production date, facility and key input materials, so a recall or passport query can be answered quickly.
- Print it where people can read it on the product, or on the packaging when the product is too small, as the GPSR requires.
How Veribl helps
Veribl lets you add batches to any product with their production date and facility. Each batch gets its own GS1 Digital Link QR code (/01/{GTIN}/10/{batch}) that opens the model's passport plus that batch's details.
See Veribl Digital Product PassportsOfficial sources
- GS1 General Specifications, section 3.4.1 Batch or lot number: AI (10)
- GS1 Application Identifiers reference
- Regulation (EU) 2023/988 (GPSR), EUR-Lex
- Regulation (EU) 2024/1781 (ESPR), EUR-Lex
- Directive 2011/91/EU on indications identifying the lot of foodstuffs, EUR-Lex
- US 21 CFR 210.3, definitions for drug manufacturing (eCFR)
Frequently asked questions
What is the difference between a batch number and a lot number?
For most products there is no practical difference, and GS1 treats them as one data element: "batch or lot number", Application Identifier (10). Some regulated sectors draw a line. In US drug manufacturing rules (21 CFR 210.3), a batch is a quantity made under one manufacturing order in one cycle, while a lot is a batch or an identified portion of a batch.
What is a batch number on a product?
It is the code the manufacturer gives to one production run, so every unit from that run can be traced back to when, where and how it was made. On prepacked food in the EU, it is usually preceded by the letter "L", as Directive 2011/91/EU requires unless it is clearly distinguishable from other label information.
Is a batch number the same as a serial number?
No. A batch number is shared by every unit made in the same run. A serial number belongs to one single unit. GS1 uses AI (10) for batch or lot numbers and AI (21) for serial numbers.
Is a batch number required by law in the EU?
For consumer products, the General Product Safety Regulation (Article 9(5)) requires a type, batch or serial number or another element that identifies the product, so a batch number is one of the accepted options. Food generally must carry a lot indication under Directive 2011/91/EU, with some exceptions.
Does a Digital Product Passport need a batch number?
Only if the delegated act for your product group sets the passport at batch level. ESPR Article 9(2)(d) lets each act choose model, batch or item level. At batch level, the identifier is typically the GTIN plus the batch number.
Last reviewed