Short answer: the only real difference is one digit. A UPC-A carries a 12-digit GTIN and an EAN-13 carries a 13-digit GTIN. Put a 0 in front of any UPC-A and you have the equivalent EAN-13. Both scan at checkouts everywhere, so use the one that matches the number GS1 gave you.
The bars of these two codes are identical. Only the printed digits are arranged differently.
UPC vs EAN compared
| UPC-A | EAN-13 | |
|---|---|---|
| Digits | 12 | 13 |
| GS1 number carried | GTIN-12 | GTIN-13 |
| Mainly used in | US and Canada | Everywhere else |
| Introduced | 1973 (first scanned 1974) | 1977 |
| Scans worldwide | Yes | Yes (in North America since 2005) |
| Width in modules | 95 plus quiet zones | 95 plus quiet zones |
| Nominal size (100%) | 37.29 × 25.91 mm | 37.29 × 25.93 mm |
| Check digit | Mod 10, weights 3 and 1 | Mod 10, weights 1 and 3 |
| Short version | UPC-E (8 digits) | EAN-8 (8 digits, its own number) |
| Add-on codes | 2 or 5 digits | 2 or 5 digits |
Both check digit methods give the same result: each weights digits 3 and 1 alternately, starting with 3 for the digit next to the check digit. The weights only look different because EAN-13 has one more digit at the front.
Why are there two systems?
The Universal Product Code was adopted by the US grocery industry in 1973, and the first product scanned with one, a pack of chewing gum, went through a checkout in Ohio in June 1974. European retailers wanted the same idea but needed room for more countries and companies, so in 1977 they extended the code by one digit to create the European Article Number. The extra digit is not printed as an extra bar pattern: it is encoded in the pattern of odd and even parity used for the left half of the code. That is why the two codes are the same width and why a UPC-A is just an EAN-13 starting with 0.
The organisations behind the two systems merged into what is now GS1, and the numbers are now formally called GTINs. “UPC” and “EAN” survive as the names of the barcode formats.
How do I read the digits?
UPC-A: the first digit is the number system (0, 1, 6, 7, 8 for regular products; 2 for variable-weight items in store; 3 for drugs and health products; 4 for in-store use; 5 for coupons). Then come the company prefix and item reference, which together make up 10 digits, and the check digit last.
EAN-13: the first 2–3 digits are a GS1 prefix. Prefixes such as 400–440 (Germany) or 500–509 (UK) show which national GS1 organisation issued the company prefix, not where the product was made. 978 and 979 are reserved for books (ISBN), and 977 for periodicals (ISSN). The rest is the company prefix, the item reference and the check digit. Look up any prefix with the barcode country codes tool.
For a full walk-through of the bars and digits, see how to read a barcode.
Should I use UPC or EAN for my product?
- Got your number from GS1 US? It is normally a 12-digit GTIN, printed as UPC-A.
- Got it from another GS1 organisation (GS1 UK, GS1 Germany, GS1 Australia…)? It is a 13-digit GTIN, printed as EAN-13.
- Selling in both North America and elsewhere? One code is enough. Don’t print both on the same pack; two different barcodes for one product confuse scanners and stock systems.
- Need a smaller code? UPC-E is a compressed form of certain UPC-A numbers; EAN-8 is a separate 8-digit number that must be requested from GS1. Use them only when the full code genuinely won’t fit.
Converting between UPC and EAN
| From | To | How |
|---|---|---|
| UPC-A 012345000058 | EAN-13 0012345000058 | Add a leading 0. The check digit stays the same. |
| EAN-13 0012345000058 | UPC-A 012345000058 | Remove the leading 0. Only possible when the EAN starts with 0. |
| UPC-E 01234558 | UPC-A 012345000058 | Expand using the UPC-E rules (the last digit before the check tells you where the zeros go). |
| Any of these | GTIN-14 00012345000058 | Pad with leading zeros to 14 digits for databases. |
The UPC to EAN converter handles all of these, including UPC-E expansion, in bulk.
Frequently asked questions
What is the difference between UPC and EAN?
UPC-A has 12 digits and EAN-13 has 13. Otherwise they are the same system: both encode a GS1 GTIN, use the same bar patterns and check digit method, and a UPC-A is simply an EAN-13 whose first digit is 0. UPC is traditional in the US and Canada; EAN is used in the rest of the world.
Can I use an EAN barcode in the USA?
Yes. Since 2005, North American retailers have been expected to scan EAN-13 as well as UPC-A, and modern point-of-sale systems do. Some individual retailers still state a preference in their supplier guides, so check if you sell to a specific chain.
Can I use a UPC barcode in Europe?
Yes. Scanners outside North America read UPC-A, because it is a subset of EAN-13 (the scanner treats it as a 13-digit number starting with 0).
How do I convert a UPC to an EAN?
Add a 0 to the front. The 12-digit UPC 012345000058 becomes the EAN-13 0012345000058, with the same check digit. You can do this instantly with the UPC to EAN converter. Going the other way only works for EANs that start with 0.
Is a GTIN the same as a UPC or EAN?
Almost. The GTIN is the number; UPC and EAN are the barcode formats that carry it. A 12-digit GTIN-12 is printed as a UPC-A, a 13-digit GTIN-13 as an EAN-13. See What is a GTIN?
Which should I choose for my product?
Use whatever GS1 issues you. GS1 US issues numbers that are normally printed as UPC-A; most other GS1 organisations issue EAN-13 numbers. Either one will scan at checkouts worldwide.