Guide
EAN vs UPC: what is the difference?
UPC has 12 digits. EAN has 13. UPC is the format issued in the United States and Canada, and EAN is the format issued everywhere else. They belong to one system: put a zero in front of a UPC and you have a valid EAN. Modern scanners read both, anywhere in the world.
Got a 13-digit number? Look it up and see its country prefix and UPC form.
Open the EAN lookupSide by side
| UPC-A | EAN-13 | |
|---|---|---|
| Digits | 12 | 13 |
| Official name | GTIN-12 | GTIN-13 |
| Issued in | United States and Canada | Every other country |
| Starts with | A company prefix | A 3-digit GS1 country prefix |
| Short version | UPC-E (8 digits) | EAN-8 (8 digits) |
Why there are two
The UPC came first. It was designed for American grocers in the early 1970s, and 12 digits were plenty for one market. When European retailers wanted the same thing a few years later, 12 digits were not enough to share between many countries, so they added a thirteenth digit at the front and gave each country its own prefix range.
The clever part is that they kept the UPC valid. The bars of a UPC-A are identical to the bars of an EAN-13 that starts with zero, so every UPC was already an EAN on the day the new system launched.
The reverse took longer. For decades, checkouts in the US could only store 12 digits, so imported goods had to be relabeled. That ended with a deadline the industry called the 2005 Sunrise: from January 1, 2005, North American retailers were expected to accept 13-digit codes.
Converting between them
To turn a UPC into an EAN, add a 0 in front: 049000028904 becomes 0049000028904. To go the other way, drop the leading zero, which only works when there is
one. An EAN that starts with any other digit has no UPC form. Either kind becomes a GTIN-14 if you pad it with zeros at the front until there are 14 digits.
The check digit never changes in any of this. The calculation counts positions from the right, and a zero on the left adds nothing to the sum. The UPC lookup and EAN lookup show every equivalent form of a number.
Which one do you need?
If you are registering new products, you get whichever your national GS1 office issues: UPCs from GS1 US and GS1 Canada, EANs from the rest. Both sell worldwide, so there is no reason to seek out the other kind.
If a form asks for a UPC and you have an EAN, check the first digit. If it is 0, drop it. If it is anything else, look for a field labeled EAN or GTIN. And if a form asks for a GTIN, enter your UPC or EAN as it is (see what is a GTIN).
To see what each part of the number means, read what UPC numbers mean and the list of country prefixes.
Sources
- GS1 General Specifications. The standard for GTIN structure, check digits and application identifiers.
- GS1: Global Trade Item Number (GTIN)
- Wikipedia: International Article Number
Spotted a mistake? Email [email protected].