Skip to main content
B2B Glossary / Lot number

What Is a Lot Number?

Last updated

In this article Talk to our experts
Definition
Lot number
A lot number is a code that identifies one batch of product made under essentially the same conditions, so its history can be traced. FDA's drug rule defines it as any distinctive combination of letters, numbers or symbols "from which the complete history of the manufacture, processing, packing, holding, and distribution of a batch or lot" can be determined.

Also called: batch number, lot code, control number

How it works

FDA uses the same idea in three rulebooks, each with its own wording:

  • Drugs (21 CFR 210.3): the rule defines a batch and a lot separately, both covered below.
  • Medical devices (21 CFR 830.3): a lot or batch is one or more finished devices of a single type, model, class, size, composition or software version, "manufactured under essentially the same conditions."
  • Food (the Food Traceability Rule): a traceability lot code is "a descriptor, often alphanumeric, used to uniquely identify a traceability lot." FDA says this is similar to what industry calls a "lot" or "lot code."

How a traceability lot code moves with food

1
Pack
Code assigned

The firm assigns a traceability lot code when it initially packs a raw agricultural commodity.

2
Ship
Code unchanged

Firms must not establish a new code for other activities, such as shipping.

3
Receive
Code recorded

The code can reach the receiver on a bill of lading, an advance shipment notice or a QR code.

4
Transform
New code

Transforming the food is one of the points where a firm assigns a new code.

FDA notes that smaller lots might lead to less food being affected in a recall, and the rule does not require the code on the food's label or packaging.

Lot number vs batch number

The drug rule defines "Lot number, control number, or batch number" as a single term, while the units it marks differ slightly:

  • Batch: a specific quantity of a drug or other material intended to have uniform character and quality, within specified limits, and produced according to a single manufacturing order during the same cycle of manufacture.
  • Lot: a batch, or a specific identified portion of a batch, with uniform character and quality within specified limits. For a drug product made by continuous process, a lot is a specific identified amount produced in a unit of time or quantity.

Lot number vs SKU, serial number and expiration date

A SKU is a code a business uses internally to track its inventory. Because a lot is one batch, the same SKU can be made or received in many lots over time, and each lot carries its own history. A serial number goes one level further: in FDA's device rule it identifies a specific device.

An expiration date is a separate data element. In FDA's device rule, a UDI's production identifier can list the lot or batch, serial number, expiration date and manufacturing date separately.

Lot numbers in GS1 barcodes

In GS1 barcodes, a lot number travels as Application Identifier (10), "Batch or lot number": the AI 10 followed by up to 20 characters. GS1 requires AI (10) to appear with a product identifier such as the GTIN in AI (01), and the expiration date has its own identifier, AI (17).

Example

A food distributor stocks one SKU of frozen chicken breast. It holds 2 lots: 30 cases of lot L0912 and 50 cases of lot L0930, so 30 + 50 = 80 cases on hand.

A restaurant group orders 45 cases. The order ships 30 cases of L0912 and 15 cases of L0930. If L0912 is later recalled, the distributor needs the accounts that received L0912, not every account that bought the SKU.

On Shopify

In Shopify, each product and variant must have its own unique SKU, set in its Inventory section. Metafields extend Shopify's data model, such as products, customers and orders, with your own custom data, so a lot code can be stored on an order as custom data.

How Uncap helps

On Uncap's food manufacturing and distribution page, lot and expiry are captured at fulfillment and written back against the order line, so which lot went to which customer on which shipment is recoverable from order history. The page is explicit that this is not a shipped feature: "Catch weight and traceability are scoped as builds."

Sources

10 Common questions

Frequently asked questions

Is a lot number the same as a batch number?

In FDA's drug rule, yes: it names the code "Lot number, control number, or batch number." Under the same rule, a lot can be a whole batch or a specific identified portion of one.

Is lot number the same as SKU?

No. A SKU is a code you use internally to track inventory. A lot number identifies one batch, so one SKU can carry many lot numbers over time.

Is a lot number an expiration date?

No. They are separate data elements: a device's UDI production identifier lists them as separate items, and GS1 gives the expiration date its own identifier, AI (17).

How do you create a lot number?

For food, FDA's traceability rule does not prescribe a specific way to assign the code. FDA's examples include a Julian date plus a product code, or a randomized generated code.

Work with Uncap

Building B2B commerce on Shopify?

Tell us what you sell, who you sell to and what your systems look like today. A senior Shopify B2B expert replies within one business day.

Talk to Our Experts →