EAN-13 vs UPC-A: which retail barcode your product needs
How EAN-13 and UPC-A differ, when each is accepted, how check digits work, and what a GS1 company prefix actually costs you at the till.
Both codes look like the same row of stripes over a number. Both are scanned by the same laser at the checkout. The difference is geography, and getting it wrong means a retailer's system will reject your product before it ever reaches a shelf.
The short answer
- EAN-13 — 13 digits, used everywhere except North America.
- UPC-A — 12 digits, used in the United States and Canada.
- Structurally, UPC-A is EAN-13 with a leading zero, which is why almost every modern scanner reads both.
What the digits mean
| Part | EAN-13 | UPC-A |
|---|---|---|
| GS1 prefix | 3 digits (e.g. 590 Poland, 400–440 Germany, 626 Iran) | same idea, US/Canada prefixes |
| Company code | variable | variable |
| Item reference | variable | variable |
| Check digit | 1 digit, mod-10 | 1 digit, mod-10 |
| Total | 13 | 12 |
The check digit is calculated from all the preceding digits with alternating weights of 1 and 3, and the scanner verifies it on read. A wrong check digit is the single most common reason a barcode "does not exist" in a retailer's system.
QRify computes the check digit for you: enter 12 digits for EAN-13 or 11 for UPC-A and the final digit is added automatically.
Which one do I need?
| Selling in | Use | Notes |
|---|---|---|
| EU, UK, Middle East, Asia, Latin America, Africa | EAN-13 | The default worldwide |
| USA, Canada | UPC-A | Many retailers accept EAN-13, but not all |
| Amazon (global) | GS1 EAN-13 or UPC-A per marketplace | Amazon requires a GS1-issued number |
| Internal stock control | any code you like | Your own scanner, your own rules |
If you sell internationally, a single EAN-13 can serve both markets in most stores, because the leading zero form is the same symbol as UPC-A. Do not invent a UPC by adding a zero to a made-up number, though: the GS1 prefix must belong to your company.
You need a GS1 prefix, not a "barcode generator"
This is the part most guides skip. A barcode is just a font-ish encoding of a number — the number itself must be allocated by GS1, the standards body, through your national member organisation. A generator can draw a valid symbol, but no generator can make a number that retailers will accept as yours.
- A GS1 company prefix costs a registration fee plus an annual subscription that varies by country.
- Resellers sell "barcodes" cheaply, but those numbers belong to the reseller, not to you — and Amazon and most large retailers now reject them.
- Once you own a prefix, you can allocate thousands of item references yourself.
QRify is useful for proofing, mocking up packaging, internal labels and generating the artwork once you have a legitimate number. It will not and should not manufacture your GTIN.
Printing retail barcodes
- Size: EAN-13 has a nominal width of 37.29 mm at 100 % magnification, and can be printed between 80 % and 200 %.
- Quiet zone: 11 modules on the left, 7 on the right. Retail scanners are less forgiving than phones.
- Colour: black bars on white. Red bars are invisible to red laser scanners — a classic packaging mistake.
- Placement: flat area, no curve, at least 5 mm from any edge or fold.
Use the EAN-13 generator or UPC-A generator with SVG export and place the vector in your artwork at the correct physical size.
Cartons and pallets
- ITF-14 for shipping cartons — 14 digits, thick bars that survive corrugated board.
- GS1-128 for pallets and logistics, carrying batch, weight and dates.
Neither is a substitute for the retail code on the item itself.