A GTIN-14 is the 14-digit number that identifies a case of product, as opposed to the single unit inside it. You don't buy a new number for it. You build it from the UPC already on the unit: put an indicator digit in front, drop the UPC's last digit, and work out a new check digit. So a jar and a case of twelve jars carry related numbers, and a warehouse scanner can tell them apart. Below is the format, the indicator digit, one case worked step by step, and a sheet that does the sum.
The short version
- A GTIN-14 identifies a case or other grouping of one product.
- It's 14 digits: indicator digit, a 0, the first 11 digits of the UPC, and a check digit.
- The indicator digit runs from 1 to 8. You choose it. It tells one case size from another.
- The check digit is new. It isn't the UPC's check digit.
- It's usually printed on the case as an ITF-14 barcode, or inside a GS1-128 barcode.
- TaroStack prints the GTIN in a lot label's barcode with the lot and date. More below.
The format
| Position | What it is | In the example |
|---|---|---|
| 1 | Indicator digit | 1 |
| 2 | A zero, which pads a 12-digit UPC | 0 |
| 3 to 13 | The UPC's first 11 digits | 01234567890 |
| 14 | Check digit, worked out fresh | 2 |
The UPC on the jar is 012345678905. The GTIN-14 for a case of twelve is 10012345678902.
Put side by side, the family is easy to see:
| What | Number |
|---|---|
| Jar, UPC | 012345678905 |
| Case of 12, GTIN-14 | 10012345678902 |
| Case of 24, GTIN-14 | 20012345678909 |
The numbers in this article are made up. A GTIN-14 is only yours to use if the UPC inside it was issued to you by GS1. Where those come from and what they cost is in GS1 barcodes for small food producers.
The indicator digit
GS1 US's own help page for building a case describes it this way: the GTIN-14 has an indicator digit as its first digit, with a value of 1 to 8. In its words, "the value 9 is reserved for variable measure trade items", meaning goods whose weight or size differs from one to the next.
Because there are eight values, one unit can have up to eight different cases, each with its own GTIN-14. The page says the case uses the same item reference as the product inside.
The digits don't carry a meaning of their own. 1 doesn't mean "twelve". You decide that 1 is your case of 12 and 2 is your case of 24, write it down, and keep to it. What matters is that each packing has its own number, so the distributor's system never confuses 12 jars with 24.
Two edges worth knowing:
- A case with more than one product in it doesn't get a GTIN-14 built this way. There's no single unit to build from. GS1 US treats a mixed case as its own item with its own number.
- A UPC written with two zeros in front, 00012345678905, is still the jar. Some forms ask for every GTIN as 14 digits, and that's how the unit's is written.
Working out the check digit
Take the first 13 digits: 1001234567890.
- Add the digits in the odd positions, the 1st, 3rd, 5th and so on: 1 + 0 + 2 + 4 + 6 + 8 + 0 = 21.
- Multiply by 3: 63.
- Add the digits in the even positions: 0 + 1 + 3 + 5 + 7 + 9 = 25.
- Add the two: 63 + 25 = 88.
- The check digit is what takes that up to the next multiple of ten: 90 − 88 = 2.
So the GTIN-14 is 10012345678902.
For the case of 24, with indicator 2, the first 13 digits are 2001234567890. The odd positions add to 22, times 3 is 66, plus 25 is 91. The check digit is 9: 20012345678909.
A scanner does the same sum on every read. If one digit was keyed wrong, the sum doesn't come out, and the scan is refused.
Where it goes
On the case, in a barcode. Two kinds carry it:
- ITF-14 holds the GTIN-14 and nothing else. It's the wide barcode with a thick border that prints well on corrugated board. GS1 US's page names it as the barcode for a shipping case.
- GS1-128 holds the GTIN-14 and more: the lot, a date, a count. This is what a distributor wants when it asks for lot and date on the case.
What a full case label looks like, with the GS1-128 string spelled out, is in case label template. The label for a whole pallet is a different number again, the SSCC: see pallet label template. And how the UPC differs from your own item code is in SKU vs UPC.
Get the sheet
Download the GTIN-14 sheet. One sheet and a read-me: type the UPC of the unit and the indicator digit, and it builds the first 13 digits, works out the check digit and joins them. The two cases above are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.
Where this stops working
The sheet makes the number. It doesn't remember which number you gave to which case. The trouble starts a year in, with three products, two case sizes each and a club-store pack, when somebody reuses indicator 1 for a different count. And a GTIN-14 says what a case is. It doesn't say which batch is in it. That's the lot, and a distributor asking for case GTINs is usually about to ask for lots as well.
How TaroStack does it
TaroStack doesn't issue barcodes or GTINs. Those come from GS1. It puts the number to work beside the lot.
Lot labels print with a GS1-128 barcode. When the item has a 14-digit GTIN, the label carries the GTIN, the use-by date and the lot in one code. When it doesn't, the label carries the lot code alone.
At receiving, scanning a supplier's GS1-128 case label fills in its lot and use-by date, so nobody copies a date by hand.
Scanning works with the phone's camera or a USB or Bluetooth scanner, for counting, receiving, picking and batch recording. Each delivery records which lots went to which customer, and one recall report follows a lot out to everyone who received it.
| The job | By hand | In TaroStack |
|---|---|---|
| The lot on the case | Written or stamped | In the label's barcode, with the GTIN and date |
| A supplier's case arrives | Copy the lot and date | Scan the case label |
| Which lot went to which customer | A note on the invoice | Recorded at picking |
| A recall | Search the paperwork | One report, by lot |
Lots, labels, scanning and recalls are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.
