Skip to content

Batch Number in Manufacturing: Traceability, MES and Recall

By Christian Fieg · Last updated: March 2026

What Is a Batch Number in Manufacturing?

A batch number (also called lot number or charge number) is a unique identifier assigned to a group of products that were manufactured together under the same conditions: same raw materials, same machine, same process parameters, same time period. Every product in a batch shares the same batch number. If a problem is found in one product from the batch, all products with the same batch number are potentially affected.

In manufacturing, batch numbers serve one fundamental purpose: traceability. They create the link between a finished product and its production history. With a batch number, a manufacturer can answer: What raw materials were used? On which machine was it produced? What were the process parameters? Who was the operator? What were the quality inspection results? When exactly was it produced?

Batch numbers are legally required in many industries (food, pharmaceuticals, automotive, medical devices) and are a core element of any Manufacturing Execution System (MES).


Batch Number vs. Serial Number

Batch numbers and serial numbers are both traceability identifiers, but they work at different levels:

Dimension Batch number (lot number) Serial number
Granularity One number for a group of products (batch). All products in the batch share the same number. One unique number per individual product. Every single product has its own number.
Traceability level Batch-level: "This product was part of batch 2026-03-15-A." All products in the batch have the same production history. Part-level: "This specific product (SN 00047823) went through station 3 at 14:32:07 with torque value 12.4 Nm."
Typical use Bulk materials, chemicals, food products, pharmaceuticals, granulates, liquids, fasteners, small stamped parts. Assembled products, electronic components, safety-relevant parts, engines, vehicles, medical implants.
Recall scope If a defect is found, the entire batch must be recalled or quarantined. Scope: hundreds to thousands of products. If a defect is found, only the specific serial number range is affected. Scope: can be narrowed to individual units.
Labeling Batch number printed on packaging (carton, bag, pallet label). Not on individual parts. Serial number on each individual product (label, laser marking, Data Matrix code, RFID tag).
MES recording MES records production data per batch: total quantity, scrap, downtime, process parameters (aggregated). MES records production data per individual part: process parameters per station, quality status per part, complete production history.

Many manufacturing processes use both: batch numbers for incoming materials (e.g., steel coil batch, plastic granulate batch, chemical batch) and serial numbers for finished products. The MES links the two: serial number 00047823 was produced using material from batch 2026-03-15-A. This enables both forward traceability (which products used this material batch?) and backward traceability (which material batches went into this product?).


What Information Does a Batch Number Encode?

Batch number element Example What it encodes
Date code 2026-03-15 or 260315 or 2603 Production date (year, month, day or year, week). Enables time-based traceability.
Plant/line code W2 (Werk 2) or L05 (Line 5) Which plant or production line produced this batch. Critical for multi-plant operations.
Shift code A (morning), B (afternoon), C (night) Which shift produced this batch. Enables shift-level quality analysis.
Sequential number 001, 002, 003 Sequential counter within the day/shift. Distinguishes multiple batches produced on the same line in the same shift.
Product code GR (granulate), FI (filter), BR (bracket) Product type identifier. Enables product-specific recall without affecting other products from the same line.

A complete batch number might look like: W2-260315-B-003-GR meaning: Plant 2, March 15 2026, Shift B, third batch of the shift, granulate product. The exact structure varies by company and industry, but the principle is the same: encode enough information to narrow down the production conditions without needing to look up the database.


Regulatory Requirements for Batch Numbers

Industry Regulation/Standard Batch number requirement
Food EU Regulation 178/2002. FDA 21 CFR Part 117. FSSC 22000. Mandatory batch identification for all food products. Forward and backward traceability within 4 hours (EU "one step back, one step forward" principle). Enables targeted recalls without removing entire product lines from market.
Pharmaceuticals EU GMP Annex 11. FDA 21 CFR Part 211. EU Directive 2011/62/EU (FMD). Mandatory batch number on every package. Batch records must document all production steps, materials, process parameters, in-process controls, and release testing. Serialization required for anti-counterfeiting (FMD).
Automotive IATF 16949:2016 §8.5.2.1. VDA 6.3. Traceability required for all products. Batch or serial level depending on OEM requirements. Safety-relevant parts require serial-level traceability. Batch traceability for bulk materials (fasteners, coatings, adhesives).
Medical devices EU MDR 2017/745. FDA 21 CFR Part 820. UDI (Unique Device Identification). Mandatory UDI including batch or serial number. Complete production history per batch. Post-market surveillance linked to batch data.
Consumer goods EU General Product Safety Directive 2001/95/EC. Batch identification recommended for all consumer products. Required for product recall capability.

In regulated industries, the batch number is not optional. It is a legal requirement that carries liability. A manufacturer that cannot trace a defective product to its production batch faces regulatory penalties, unlimited recall scope, and potential criminal liability (especially in food and pharma).


Batch Traceability in the MES

An MES provides the digital infrastructure for batch traceability. Without an MES, batch records are paper-based: operators fill out batch logs, supervisors sign off, and the records go into a filing cabinet. With an MES, batch data is captured automatically and stored digitally.

Batch data captured by MES How it is captured Why it matters
Production order and batch assignment ERP sends the production order with batch number to MES. MES maps machine cycles to the order. At Meleghy and Carcoustics: bidirectional SAP R3 interface via ABAP IDoc. Every produced part is linked to a production order and batch number without manual entry.
Production quantities MES counts good parts, scrap, and rework per batch automatically from PLC signals or counter inputs. Accurate batch quantities for ERP backflush. No manual counting errors.
Downtime per batch MES detects machine stops with timestamp and duration. Each stop is linked to the active batch/order. Identifies which batches were affected by machine problems. Enables batch-level availability analysis.
Process parameters per batch MES captures temperature, pressure, torque, speed, and other process parameters via OPC UA or PLC register reading. Links production conditions to batch number. If a quality problem appears later, the exact production conditions can be retrieved.
Quality results per batch MES records inspection results (pass/fail), defect classifications, SPC data, and rework actions per batch. Complete quality history per batch. Batch release or quarantine decisions based on objective data.
Material consumption per batch MES records which raw material batches (incoming) were consumed in which production batch (outgoing). Scanner captures material batch numbers at the machine. Forward traceability: "Material batch X was used in production batches Y and Z." Backward traceability: "Production batch Y contains material from batches X and W."

At Klocke, SYMESTIC provides batch-level traceability in a GMP-regulated pharmaceutical packaging environment. Production counts and downtimes are mapped to production orders from Navision ERP via a file interface. At Meleghy, machine cycles are mapped to SAP production orders, providing batch-level OEE and downtime data across 6 plants.


Batch Numbers and Recall Management

The most critical function of batch numbers is recall containment. When a quality problem is discovered after products have left the factory, the batch number determines how many products must be recalled.

Scenario Without batch traceability With batch traceability (MES)
Defective raw material discovered Cannot determine which finished products contain the defective material. Must recall all products produced in the suspected time period. Recall scope: potentially millions of units. MES forward traceability shows exactly which production batches used the defective material batch. Recall limited to those specific batches. Recall scope: hundreds to thousands of units.
Customer complaint about defective product Cannot link the defective product to specific production conditions. Root cause analysis is based on guesswork. No way to determine if other products are affected. Batch number on the product identifies the production order, machine, shift, process parameters, and quality results. Root cause is traceable. MES shows how many other products from the same batch are in the field.
Process deviation detected during production Unclear which products were produced during the deviation. Manual investigation required. Products may have already been shipped. MES shows exactly which batch was active during the deviation. Those products can be quarantined before shipment. Other batches are not affected.

The financial impact of recall containment is significant. A recall that affects 500 products (one batch) costs a fraction of a recall that affects 500,000 products (all production from the last month). Batch traceability does not prevent defects, but it limits the damage when defects occur.


Batch Numbers and OEE

When production data is linked to batch numbers, OEE can be analyzed per batch, not just per machine or per shift.

OEE factor Batch-level insight What it reveals
Availability Downtime per batch. Which batches had the most machine stops? Which product changes caused the longest changeover times? Some products are harder to produce than others. Batch-level availability data shows which products cause disproportionate downtime (e.g., difficult materials, complex tool setups).
Performance Actual cycle time per batch vs. target cycle time. Which batches ran slower than planned? Performance differences between batches produced on the same machine reveal product-specific or material-specific speed losses. A new material batch from a different supplier may run 5% slower.
Quality Scrap and rework per batch. Which batches had the highest defect rates? Which raw material batches correlated with quality problems? Batch-level quality data is the foundation for supplier quality management. If material batch X consistently produces higher scrap than material batch Y, the supplier or material specification needs to change.

Frequently Asked Questions About Batch Numbers

What is the difference between a batch number and a production order number?

A production order number is an internal planning identifier from the ERP system. It defines what should be produced (product, quantity, deadline). A batch number is a traceability identifier that stays with the product throughout its lifecycle, including after it leaves the factory. In many cases, there is a 1:1 relationship (one order = one batch), but it can also be 1:n (one order produces multiple batches) or n:1 (multiple orders are combined into one batch). The MES maps the relationship between production orders and batch numbers.

Can batch traceability be automated?

Yes. An MES automates batch traceability by linking machine data to production orders. When the ERP sends a production order to the MES, the MES knows which batch is being produced on which machine. Every machine cycle, every stop, every quality result is automatically assigned to the active batch. At Meleghy and Carcoustics, SYMESTIC maps machine cycles to SAP production orders via bidirectional ABAP IDoc interfaces. At Klocke, Navision ERP sends order data to SYMESTIC via file interface.

Is batch tracking sufficient for automotive, or is serial tracking required?

It depends on the component. Safety-relevant parts (brake components, airbag parts, steering components) typically require serial-level traceability per IATF 16949. Bulk materials (fasteners, clips, seals, coatings, adhesives) use batch-level traceability. Many automotive suppliers need both: serial tracking for assembled products and batch tracking for the materials that go into them. SYMESTIC supports both serial-level and batch-level traceability.

What happens if a batch number is lost or missing?

If a product cannot be traced to a batch, the manufacturer must assume worst case: all products from the suspected production period are potentially affected. This means a much larger recall scope, higher costs, and greater regulatory risk. In pharma (GMP), missing batch records can lead to rejection of the entire production run. This is why automated batch tracking through MES is critical: it eliminates the risk of lost paper records, illegible handwriting, or forgotten batch log entries.

How does batch tracking relate to material management in MES?

Material management and batch tracking are two sides of the same traceability chain. Material management tracks incoming raw material batches (receiving, storage, allocation to machines). Batch tracking records which raw material batches were consumed in which production batches. Together, they create end-to-end traceability from incoming goods to finished products. When a raw material supplier reports a quality issue, the MES can immediately identify all production batches and finished products affected.

About the author:
Christian Fieg
Head of Sales at SYMESTIC. Six Sigma Black Belt. Over 25 years in the manufacturing industry. Global MES and traceability responsibility for 900+ machines at Johnson Controls.
LinkedIn
Start working with SYMESTIC today to boost your productivity, efficiency, and quality!
Contact us
Symestic Ninja
Deutsch
English