Glossary UPC
UPC (Universal Product Code)
What a UPC is, how its 12 digits are built, how UPC-A and UPC-E differ, and why a UPC and a 13-digit EAN can be the same product number.
A UPC is a 12-digit GS1 product number (a GTIN-12) carried in a UPC-A barcode, the format used mainly by retailers in North America.
How the 12 digits are built#
GS1 US describes the UPC-A as the 12-digit format used mainly by retailers in North America. The number has three parts.
| Part | Length | Who assigns it |
|---|---|---|
| Company prefix | First 6 to 10 digits | GS1, exclusively to the brand owner |
| Item reference | Next 1 to 5 digits | The brand owner, one per item |
| Check digit | Last digit | Calculated from the other 11 digits |
The system started in the United States in 1973 with the Uniform Product Code Council, later the Uniform Code Council (UCC). In 2005 the UCC and the EAN organization were succeeded by GS1.
UPC-A and UPC-E#
| Barcode | What it carries |
|---|---|
| UPC-A | A GTIN-12 |
| UPC-E | A GTIN-12 in six encoded digits, using zero suppression |
UPC-E saves space on small packs, but it is still a 12-digit number. Google Merchant Center asks merchants to convert 8-digit UPC-E codes to 12 digits.
UPC and EAN#
GS1 notes that 12-digit GTINs have an implied leading zero. A UPC with a zero in front is therefore the same number as a 13-digit EAN, and with two zeros the same as a GTIN-14. Systems that keep one length for every code avoid listing the same product twice.
Where the number comes from#
The brand owner gets its company prefix from GS1 and assigns the item references for its own products. Google Merchant Center lists UPC (North America, GTIN-12) among the numbers its gtin attribute accepts, asks for the GTIN assigned by the manufacturer, and tells merchants not to guess or make up a value.
Questions
Can I sell in Europe with a UPC?
A UPC is a GTIN-12, part of the same GS1 system as the EAN. Google Merchant Center, for example, accepts both UPC and EAN numbers in its gtin attribute.
Should I convert a UPC-E to 12 digits?
Yes, for Google Merchant Center. Google asks merchants to convert 8-digit UPC-E codes to their 12-digit form before submitting them.
Sources
- What is a UPC Code? · GS1 US checked 19 November 2026
- GS1 General Specifications Standard · GS1 checked 19 November 2026
- GTIN [gtin] · Google Merchant Center Help checked 19 November 2026