EAN vs UPC Barcodes: What’s the Difference?
EAN-13 and UPC-A look almost the same and scanners read both. Here is how they differ, how one becomes the other, and which barcode your products need.
The short answer
UPC-A has 12 digits and is the usual retail barcode in the United States and Canada. EAN-13 has 13 digits and is used almost everywhere else. A UPC-A is really an EAN-13 that starts with 0: put a 0 in front of a 12-digit UPC and you have the EAN-13 for the same product, with the same check digit. Checkout scanners read both, so one product needs only one of them.
Side by side
| UPC-A | EAN-13 | |
|---|---|---|
| Digits | 12 | 13 |
| Also called | GTIN-12 | GTIN-13 |
| Usually issued in | US and Canada | Everywhere else |
| Digits under the bars | First and last printed smaller, outside the bars | First digit outside the bars on the left; 6 + 6 under the bars |
| Check digit | Last digit | Last digit, same method |
| Standard size (100%) | Narrowest bar 0.33 mm; 37.29 mm wide including margins; 80%–200% allowed at checkouts | |
Both are drawn with 95 modules (the narrowest bar width): the same guard bars at the edges and the middle, and the same patterns for the right-hand digits. That’s why a scanner can read them interchangeably.
Converting between them
- UPC-A to EAN-13: add a 0 in front. 036000291452 becomes 0036000291452. The check digit doesn’t change.
- EAN-13 to UPC-A: only possible when the EAN-13 starts with 0 — drop the 0. An EAN-13 starting with any other digit has no UPC-A equivalent.
The EAN-13 generator accepts a UPC-A and converts it; the UPC generator accepts an EAN-13 that starts with 0.
Which one does your product need?
The one GS1 issues to your company. US and Canadian companies get UPC numbers (GTIN-12) from GS1 US and GS1 Canada; companies elsewhere get EAN-13 numbers (GTIN-13) from their national GS1 office. Since 2005, US retailers have been expected to scan EAN-13 too, so an EAN-13 product can be sold in North America — but a retailer can still have its own preferences, so ask the stores you sell to. See how to get barcode numbers from GS1.
The first digits of an EAN-13 are a GS1 prefix that shows which GS1 office issued the number: 500–509 for GS1 UK, for example, and 978–979 for books (ISBN). A prefix is not a country of origin. A product made in China by a UK brand carries a UK prefix.
The smaller relatives: EAN-8 and UPC-E
- EAN-8 is a separate 8-digit number for packs too small for an EAN-13. GS1 issues them individually, only when an EAN-13 really won’t fit.
- UPC-E is a compressed form of certain UPC-A numbers — those with a run of zeros in particular places. The scanner expands it back to the full UPC-A, so it isn’t a separate number. You can’t pick any UPC-E; it has to come from a UPC-A that qualifies.
How to tell them apart on a pack
The two barcodes above encode the same product, and their bars are identical: an EAN-13 starting with 0 uses exactly the bar patterns of a UPC-A. Only the digits printed underneath differ. So to tell which one you’re looking at, count the digits: a UPC-A shows 12, with one small digit outside each end of the bars; an EAN-13 shows 13, with one digit outside on the left only. Some EAN-13s also print a small “>” in the blank margin on the right, to show where the margin must stay clear.
Packaging levels: unit, pack, case and pallet
| Level | Number | Barcode |
|---|---|---|
| Single item sold at the till | GTIN-12 or GTIN-13 | UPC-A or EAN-13 |
| Multipack sold at the till | Its own GTIN-12 or GTIN-13 | UPC-A or EAN-13 |
| Case or carton (not sold at the till) | GTIN-14 | ITF-14 or GS1-128 |
| Pallet or shipment | SSCC (18 digits) | GS1-128 |
A case’s GTIN-14 is often built from the GTIN of the item inside, with an indicator digit (1 to 8) in front and a new check digit. Your GS1 office explains how to assign these for your products.
Beyond the shop shelf
- ITF-14 (GTIN-14) goes on outer cartons that hold several retail units. It prints well on corrugated cardboard and has a thick frame, the bearer bars.
- GS1-128 carries extra data with Application Identifiers, such as batch numbers, expiry dates and shipping container codes (SSCC).
- Code 128 holds any text and is the usual choice for your own SKUs, bin and shelf labels — and for Amazon FNSKUs.
All of these can be made with the barcode generator.
Common mix-ups
- Typing a UPC into an EAN-13 field without the leading 0. Twelve digits in an EAN-13 field could be a UPC or an EAN-13 missing its check digit; a good generator asks. This one reads 12 digits starting with 0 as UPC-A when the check digit is valid, and offers the other reading.
- Assuming the check digit is wrong. When a number fails its check, another digit is usually mistyped. Check it with the check digit calculator and go back to the source.
- Printing too small. Below 80% of standard size, checkout scanners may fail. See barcode sizes.
Frequently asked questions
Is UPC the same as EAN?
Nearly. A 12-digit UPC-A with a 0 in front is the 13-digit EAN-13 for the same product, and scanners read both.
Can I use an EAN-13 barcode in the US?
US retail scanners have been expected to read EAN-13 since 2005, but each retailer sets its own requirements, so check with the stores you sell to.
Do the first digits of an EAN show the country of origin?
No. They show which GS1 office issued the number to the brand owner, not where the product was made.
Do I need both an EAN and a UPC?
No. One product needs one GTIN. A UPC-A can be shown as an EAN-13 by adding a leading 0, and scanners read either.