GTIN fundamentals

GTIN-8 vs GTIN-12 vs GTIN-13 vs GTIN-14

GTIN-8, GTIN-12, GTIN-13 and GTIN-14 are four lengths in the Global Trade Item Number family. They share the same check-digit principle, but their allocation and barcode contexts are not interchangeable.

Published 2026-09-218 min read

GTIN format comparison

FormatTotal digitsCommon barcode contextIllustrative valid value14-digit representation
GTIN-88EAN-8 for small retail items9638507400000096385074
GTIN-1212UPC-A at retail point of sale03600029145200036000291452
GTIN-1313EAN-13 at retail point of sale400638133393104006381333931
GTIN-1414Cases, cartons and other packaging levels0950600013435209506000134352

The examples demonstrate valid lengths and check digits only. They are not claims about product ownership or assignment.

What all four formats share

Each complete GTIN is numeric and ends with a GS1 check digit. The check digit is calculated from every preceding digit using the same modulo-10 method, regardless of whether the complete identifier has 8, 12, 13 or 14 digits.

Each format can identify a trade item. The chosen length and data carrier depend on allocation rules and the business application. A package does not become a “better” identifier simply because the number has more digits.

Leading filler zeroes create a common field width

Systems often need one predictable database or message field. GS1 therefore uses 14-digit representations in contexts such as GS1 XML, AI (01) element strings and current GS1 Digital Link syntax. The shorter GTIN is placed at the right and padded on the left.

Filler04006381333931same identity

The filler zero is not a newly assigned indicator digit. It preserves the identity of the shorter GTIN. GS1 explicitly distinguishes “GTIN encoded in 14-digit format” from an allocated GTIN-14.

Common misunderstandings

“Adding zeroes converts my GTIN into a new GTIN-14.”

No. Padding creates a representation for a fixed-width field. It does not create a different product identity.

“GTIN-14 is always the consumer unit.”

No. GTIN-14 is commonly used for higher packaging levels. Retail point-of-sale scanning commonly uses GTIN-8, GTIN-12 or GTIN-13 in EAN/UPC symbols.

“A valid 14-digit number proves a registered package.”

No. Length and check-digit validity do not prove assignment, ownership or the packaging level represented.

Sources and standards

Technical statements in this guide are grounded in current GS1 primary sources. The explanations are paraphrased for practical use.