Published Nov 25, 2026· Updated Nov 28, 2026
# What Is a GTIN?
A GTIN (Global Trade Item Number) is the number a company assigns to a product so that every trading partner, marketplace and checkout system in the world means the same item when they exchange it. GS1, the standards body behind retail numbering, defines a trade item as any product or service that is priced, ordered or invoiced at any point in the supply chain, and a GTIN identifies it at any packaging level: consumer unit, inner pack, case or pallet. The number itself is what systems store and match; the black bars printed on the pack are only the carrier, as covered on the what is a barcode page.
Four GTIN lengths exist, 8, 12, 13 and 14 digits, and they are compatible with ISO/IEC 15459 Part 4 for individual products and product packages. Because the same number is used in catalogues, purchase orders, invoices and web pages, it is also the key that lets search engines and price-comparison services match a product listing to the right item.
GTIN, UPC, EAN: number versus symbol
The most common confusion in retail data is treating an identifier as if it were a barcode. GS1 US states the distinction directly: UPC-A and ITF-14 are types of barcode, while the GTIN is the identifier they encode. "UPC" is often used loosely for the GTIN-12 because UPC-A is the only symbology that can carry a 12-digit GTIN.
| GTIN format | Also called | Barcodes that carry it | Typical use |
|---|---|---|---|
| GTIN-8 | EAN-8 | EAN-8 | Small retail items where a longer symbol will not fit, such as chewing gum |
| GTIN-12 | UPC, UCC-12 | UPC-A, UPC-E, ITF-14, GS1-128 | Retail point of sale in the US and Canada; the only GTIN usable in UPC-A |
| GTIN-13 | EAN, JAN | EAN-13, ITF-14, GS1-128 | Retail point of sale outside North America |
| GTIN-14 | EAN/UCC-14, case code | ITF-14, GS1-128, GS1 DataMatrix | Wholesale groupings: cases, pallets, multipacks; never point of sale |
All four formats are usually accepted by retailers and marketplaces worldwide, according to GS1's own support article on GTIN versus barcode, EAN and UPC, but the choice of symbol still depends on where the item is scanned. A case marked with a GTIN-14 in an ITF-14 barcode is deliberately not scannable at checkout. Which symbol suits which job is laid out on the barcode symbologies page.
How a GTIN is built
Every GTIN length is assembled from the same components, and only GTIN-14 adds a fourth one.
| Component | Who assigns it | Notes |
|---|---|---|
| Indicator digit | Brand owner | GTIN-14 only; 1 to 8 mark a packaging level, 9 marks a variable measure item |
| GS1 Company Prefix | The company's local GS1 member organisation | Fixed length once issued; GTIN-8 instead uses a GS1-8 prefix |
| Item reference | The brand owner | Recommended to be issued sequentially, 001, 002, 003, and never reused |
| Check digit | Calculated, mod-10 | The last digit; the algorithm is the same for every GTIN length |
The prefix and the item reference share the middle of the number, so the room a company has for item references depends on how long its prefix is. With a 7-digit GS1 Company Prefix in a GTIN-13, 5 digits remain, which is 100,000 distinct items on that one prefix. The prefix is also the source of the most repeated myth in retail: it names the GS1 member organisation that issued it, not the country where the goods were made, and GS1's company prefix page says so explicitly. The arithmetic of the check digit, including a table of what it does and does not catch, is on the EAN-13 check digit page.
GTIN-14 and packaging levels
A brand owner does not put the same number on a bottle, the case of 24 bottles and the pallet. Each packaging level that can be ordered or invoiced gets its own GTIN, which is what lets a retailer order the case without the warehouse guessing its contents.
| Packaging level | What it is | GTIN used | Typical symbol |
|---|---|---|---|
| Each | The consumer unit sold over the counter | GTIN-12 or GTIN-13 | UPC-A or EAN-13 |
| Inner pack | A grouping sold as one buying unit | GTIN-13 or GTIN-14 | EAN-13 or GS1-128 |
| Case | A homogeneous shipping case | GTIN-14 | ITF-14 |
| Pallet | A shipping unit of identical cases | GTIN-14 | ITF-14 or GS1-128 |
The leading digit of a GTIN-14 is the indicator digit. It runs 1 to 8 for packaging levels, and 9 is reserved for variable measure products; GS1 US notes that a GTIN-14 therefore never starts with 0, and that a 0 in that position is not a valid value. There is no worldwide agreement about which indicator means which level, so no meaning should be read into it: a case of one product might carry 1 while its sister case carries 2. What matters is that each level keeps a unique GTIN, and that all indicators already in use for a product are checked before a new level is added.
A worked example, using the GTIN-12 614141453245 from GS1 US's own GTIN introduction. Drop its check digit, pad the 11 remaining digits to 12 with a leading 0, put indicator 1 in front, and you get the 13-digit body 1061414145324. Weighing those digits 3, 1, 3, 1 from the right gives 88, so the check digit is 2 and the case code is 10614141453242, which is what goes into the ITF-14 on the carton.
Why systems store GTINs as 14 digits
Any GTIN shorter than 14 can be padded with leading zeros into a uniform 14-digit form. GS1's GTIN executive summary gives the padding patterns directly:
| GTIN | 14-digit form |
|---|---|
| GTIN-8 | 000000nnnnnnnn |
| GTIN-12 | 00nnnnnnnnnnnn |
| GTIN-13 | 0nnnnnnnnnnnnn |
| GTIN-14 | nnnnnnnnnnnnnn |
Two rules follow, and both cause real damage when ignored. First, a padded number is still its original type: 00614141453245 is a GTIN-12 in 14-digit format, not a GTIN-14, and GS1 US recommends assigning the GTIN-12 in the first place so the product can still be printed as a UPC-A. Second, since padding only adds zeros, it never changes the check digit: we generated 2,000 random GTIN-12 values, padded each one to 14 digits and recomputed the check digit, and all 2,000 matched, which is why a barcode that requires 14 digits, such as a GS1 DataMatrix, can safely carry the same product number, as the QR code versus Data Matrix comparison explains.
The storage trap follows from the same zeros. A database column typed as a number silently strips leading zeros, so a GTIN-8 such as 000000961234567 collapses into a value that no longer matches the printed code. GS1 guidance is to keep GTINs in a text field, always at 14 digits, and to let the leading zeros survive.
Books, magazines and other GTIN-13 numbers
The GTIN number space absorbed several older identification systems. Books carry a GTIN-13 built from the ISBN: the 10-digit ISBN was turned into a GTIN-13 by prefixing 978 and recalculating the check digit, and publications issued from 1 January 2007 received a 13-digit ISBN beginning 978, moving to 979 once the 978 ranges run out. Serial publications such as magazines use ISSN, and sheet music uses ISMN, both expressed as GTIN-13. Because these are ordinary GTIN-13 values, an EAN-13 on the back of a book scans at a supermarket checkout exactly like a tin of beans. The full mapping of formats to symbols is in GS1 General Specifications.
GTIN in healthcare, serialisation and logistics
In the US pharmaceutical supply chain the product number a regulator tracks, the NDC, is carried inside a GTIN-14 rather than replacing it: an indicator digit, then the two digits 03, then the 10-digit NDC, then a check digit computed from the previous 13 digits. The GTIN-12 is still assigned for the saleable unit so it can be scanned at the counter, which is why the same product can appear as two GTIN lengths in one dataset.
To identify one individual unit rather than one product line, systems add a serial number to the GTIN, giving an SGTIN, with the serial running to as many as 20 alphanumeric characters. Batch and expiry data do the same job for groups of units produced together. Neither should be confused with the SSCC, which is a licence plate for a shipping unit such as a pallet in transit, not an identifier of the goods inside it.
Six GTIN mistakes that break listings
- One GTIN reused across variants. Different flavours, sizes or colours are different trade items and need different numbers; sharing one is the fastest way to get a listing rejected or mismatched.
- A numeric database column. Leading zeros disappear, so a GTIN-8 stops matching the printed code, and the padded form stops matching the catalogue.
- Reading the prefix as a country of origin. It identifies the issuing GS1 member organisation, and a company licensed in one country can manufacture in another.
- Treating a padded GTIN-12 as a GTIN-14. The padding is representation, not a new packaging level, and the pair will fail a validation that expects an indicator digit.
- Forgetting a packaging level. If the case has no GTIN of its own, trading partners cannot order it unambiguously.
- Expecting a public register. GS1 does not publish a list of all GTINs, so verification runs through the brand owner, GS1 GEPIR lookups or the Verified by GS1 service rather than a downloadable master file.