Home / Glossary / EAN-13
Barcodes

What is an EAN-13 Barcode?

The 13-digit retail barcode used at point-of-sale worldwide outside the US and Canada. One bad digit and the product won't scan at the register.

TL;DR
EAN-13 is a 13-digit retail barcode administered by GS1. The first 2–3 digits are a country prefix, the next chunk identifies the manufacturer, the next chunk identifies the product, and the last single digit is a check digit calculated from the other twelve. If the check digit math doesn't validate, the barcode will be rejected at the register. Print at 80–200% magnification with full quiet zones on both sides. Anything tighter risks scan failures.

What the 13 digits mean

EAN-13 (now formally GTIN-13 in GS1 documentation) packs four pieces of information into 13 digits:

PositionWhat it represents
1–3GS1 prefix. Country or region of registration (not necessarily where the product is made). 000–019 and 030–039 are US/Canada (UPC compatibility); 400–440 is Germany; 500–509 is the UK; 690–699 is China; 978–979 is books (ISBN).
4–9Manufacturer code. Assigned by the local GS1 office to the brand owner. Length varies by country.
10–12Product code, assigned by the brand owner to the specific SKU.
13Check digit, calculated from digits 1–12 using a weighted sum.

Brand owners get their manufacturer code by registering with GS1 in their country (GS1 US, GS1 UK, etc.). Each prefix range is owned by one national body. Buying numbers from third-party resellers is technically allowed but increasingly rejected by major retailers (Amazon, Walmart) who verify against the official GS1 database.

How the check digit works

The check digit is a self-validating safeguard. The math works like this: take the first 12 digits, multiply each by an alternating weight of 1 and 3 starting from the leftmost (so digit 1 × 1, digit 2 × 3, digit 3 × 1, digit 4 × 3, etc.), sum the results, and find the smallest number that, when added to that sum, produces a multiple of 10. That number is the check digit.

For example, the first 12 digits 501234567890:

One transposed digit, one extra zero, one missed digit. The check digit no longer matches and the scanner rejects the read. This is why preflight engines validate the check digit before files go to press: a typo in the artwork file means thousands of unscannable products and an expensive reprint.

Print size and quiet zones

EAN-13 has a defined nominal size: 37.29mm × 25.93mm at 100% magnification, with a nominal X-dimension (narrow bar width) of 0.33mm. The barcode may be scaled between 80% (smallest) and 200% (largest) of this nominal size for retail use.

Below 80% magnification, scanners struggle. Especially on flexo-printed labels where ink spread can close up the narrow bars, or on recycled substrates where the white background isn't pure enough. Major retailers reject products with sub-80% barcodes during goods-in scanning.

The quiet zone is the unprinted margin on each side of the bars. EAN-13 requires 11 modules (about 3.6mm at 100% size) on the left and 7 modules on the right. No artwork, no background tint, no border, no type. Even a faint background color invading the quiet zone can break the scan. Many barcode scan failures trace back to quiet-zone violations, not the barcode itself.

Color, contrast, and ink choice

Scanners read barcodes via reflected light contrast. Black bars on a white background is the gold standard. Dark blue or dark brown bars on white work. Red bars do not work. Most laser scanners use red light (around 660nm) and red ink reflects red light, so red bars look invisible to the scanner.

For colored backgrounds, the bars need to print at high opacity over a white knockout. A white shape underneath the barcode, then the bars on top. Skip the white knockout and the colored substrate eats contrast.

Bars should be a single solid ink, not a CMYK build. A barcode built from process colors will misregister slightly on press, blurring the edges of the narrow bars. Always set the barcode ink to a single channel. Black, or a dark spot color.

EAN-13 vs UPC-A

EAN-13 and UPC-A are siblings. UPC-A is 12 digits, used in the US and Canada. EAN-13 is 13 digits, used everywhere else. Mathematically, UPC-A is just EAN-13 with a leading zero. Every UPC-A code can be read as a valid EAN-13.

If your product sells only in North America, UPC-A is fine. If it sells anywhere else, even on Amazon, even just imported by international distributors, you need EAN-13. Most modern brands print EAN-13 even for North American distribution because it covers both markets.

EAN-13 in your file?

Preflight reads the barcode straight from the artwork, validates the check digit, measures the print size against GS1 minimums, and flags quiet-zone violations.

Check a file →