---
title: "UPC vs EAN: What’s the Difference and Which Do You Need?"
description: "UPC vs EAN explained: UPC-A has 12 digits, EAN-13 has 13, and both scan worldwide. Free guide with examples, a comparison table and how to convert between them."
url: https://barcodejar.com/guides/upc-vs-ean
source: BarcodeJar (free barcode tools)
---

# UPC vs EAN

UPC-A barcodes have 12 digits and are used mainly in the US and Canada; EAN-13 barcodes have 13 digits and are used in the rest of the world. They are the same GS1 system, a UPC is an EAN with a leading zero, and modern scanners read both.

**Short answer:** the only real difference is one digit. A [UPC-A](https://barcodejar.com/upc-barcode-generator) carries a 12-digit GTIN and an [EAN-13](https://barcodejar.com/ean-13-barcode-generator) 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.

[UPC-A: 012345000058](https://barcodejar.com/upc-barcode-generator)

[The same number as EAN-13: 0012345000058](https://barcodejar.com/ean-13-barcode-generator)

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](https://barcodejar.com/upc-e-barcode-generator) (8 digits) | [EAN-8](https://barcodejar.com/ean-8-barcode-generator) (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](https://barcodejar.com/gs1-country-codes) tool.

For a full walk-through of the bars and digits, see [how to read a barcode](https://barcodejar.com/guides/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](https://barcodejar.com/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](https://barcodejar.com/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?](https://barcodejar.com/guides/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.

## Related free tools

[![UPC-A Generator example](/thumbs/upca.svg)**UPC-A Generator**Create UPC-A barcodes free. PNG, SVG, PDF.](https://barcodejar.com/upc-barcode-generator)[![EAN-13 Generator example](/thumbs/ean13.svg)**EAN-13 Generator**Create EAN-13 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/ean-13-barcode-generator)[**UPC to EAN Converter**Convert UPC-A ⇄ EAN-13 and UPC-E ⇄ UPC-A.](https://barcodejar.com/upc-to-ean-converter)[**UPC Lookup**Find the product behind a 12-digit UPC code.](https://barcodejar.com/upc-lookup)[**EAN Lookup**Search a 13-digit EAN to identify the product.](https://barcodejar.com/ean-lookup)[**What Is a GTIN?**GTIN-8, 12, 13 and 14 in plain English.](https://barcodejar.com/guides/what-is-a-gtin)[**How to Get a Barcode for Your Product**GS1, resellers, Amazon and retail rules explained.](https://barcodejar.com/guides/how-to-get-a-barcode-for-your-product)[![UPC-E Generator example](/thumbs/upce.svg)**UPC-E Generator**Create UPC-E barcodes free. PNG, SVG, PDF.](https://barcodejar.com/upc-e-barcode-generator)
