Guide

EAN vs UPC: what is the difference?

By · Updated · 4 min read

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 lookup

Side by side

UPC-AEAN-13
Digits1213
Official nameGTIN-12GTIN-13
Issued inUnited States and CanadaEvery other country
Starts withA company prefixA 3-digit GS1 country prefix
Short versionUPC-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

Spotted a mistake? Email [email protected].

FAQ

Quick answers

Is EAN the same as UPC?

They are two lengths of the same system. A UPC has 12 digits and an EAN has 13. Any UPC becomes a valid EAN by adding a zero in front, and both are GTINs.

Do US stores accept EAN barcodes?

Yes. Since January 1, 2005, retailers in the US and Canada have been expected to scan 13-digit EAN barcodes at the checkout. Imported products do not need relabeling with a UPC.

Does Amazon want a UPC or an EAN?

Either. Amazon asks for a product ID and accepts UPC, EAN or GTIN-14. What matters is that the number is registered to your brand in the GS1 database.