| Key facts | |
|---|---|
| UPC-A | 12 digits (GTIN-12) |
| EAN-13 | 13 digits (GTIN-13) |
| Case code | GTIN-14, 14 digits |
| UPC-E | Compact 6-digit version |
Which lengths does a GTIN come in?
| Code | Digits | Where GS1 US says it is used |
|---|---|---|
| GTIN-12 (UPC-A barcode) | 12 | Mainly North America, scanned at point of sale |
| GTIN-13 (EAN-13 barcode) | 13 | Mainly outside North America, at point of sale |
| GTIN-14 | 14 | Cases and other groupings, not point of sale |
| GTIN-8 (EAN-8) | 8 | Small items, mostly outside North America |
| UPC-E | 6 shown | Compact UPC for small packs; GS1 US no longer licenses UPC-E prefixes |
From GS1 US's GTIN and barcode type pages (GTIN) (barcode types). GS1 US says the GTIN-12 is the only GTIN type that can be encoded in a UPC-A barcode.
Can a UPC have 13 digits?
Not as a UPC-A, but the same number can be written in 13 or 14 digits. GS1 XML, for example, requires a GTIN as a 14-digit field, right-justified and filled with leading zeros, whatever its length (GS1). So UPC 990497300014 becomes 0990497300014 in 13 digits and 00990497300014 in 14. A true EAN-13 that does not start with 0 is a different number, not a padded UPC.
Why does a supplier file show 11 digits?
Because the leading zero was dropped. Excel converts numbers with leading zeros to plain numbers by default when it opens a CSV or receives pasted data (Microsoft). Check the length and the check digit before importing; an 11-digit code will not match the 12-digit original in your item file.
More questions on upc, gtin and barcodes: Is a SKU the same as a UPC? · How do you read a UPC code? · How do I get a GTIN for my product? · Are GTIN and barcode the same? · Where is the check digit on a UPC?
Common questions
How many digits is a GTIN?
8, 12, 13 or 14, per GS1 US. The UPC is the 12-digit GTIN-12.
Is a UPC always 12 digits?
A UPC-A always is. The compact UPC-E shows 6 digits, and systems often store a UPC padded to 14 digits with leading zeros.
What is the 12th digit of a UPC?
The check digit, calculated from the first 11 digits.
First supplier file free. Pilot $500 for up to 5 files. Then $950 a month for up to 15 files, $60 per extra file. Every file back within 24 hours, or it is free.
Send your first file