EAN-13 (European Article Number, 13-digit version) is the most common retail barcode format outside the United States and Canada. It encodes a GTIN-13 — a 13-digit Global Trade Item Number that uniquely identifies a consumer product at the point of sale.
Structure and Encoding
An EAN-13 barcode contains exactly 13 digits:
| Position | Purpose | Notes |
|---|---|---|
| Digits 1–3 | GS1 prefix (country/region) | Assigned by GS1 member organisations; indicates where the number was issued, not manufacturing origin |
| Digits 4–7 (variable) | Company number | Length varies by GS1 member; combined with prefix identifies the brand owner |
| Remaining digits (variable) | Item reference | Assigned by the brand owner to identify the specific product |
| Digit 13 | Check digit | Mathematically calculated from the preceding 12 digits |
The barcode symbol itself uses the EAN/UPC symbology specification: the first digit is encoded by the pattern of odd/even parity in the left half, followed by a centre guard pattern, then six digits in the right half, and finally end guard bars.
Where EAN-13 Is Used
EAN-13 is the default retail barcode standard in:
- Europe, the Middle East, and Africa
- Asia-Pacific (including Australia, China, Japan, India)
- Latin America
- Most other regions globally
In the United States and Canada, UPC-A (GTIN-12) remains dominant for historical reasons, though virtually all modern point-of-sale scanners read both formats interchangeably. If you plan to sell in North America as well as internationally, you may need guidance on printing considerations for dual compatibility.
EAN-13 vs UPC-A: Practical Differences
| Feature | EAN-13 | UPC-A |
|---|---|---|
| Digits | 13 | 12 |
| GTIN format | GTIN-13 | GTIN-12 |
| Primary markets | Global (excl. USA/Canada) | USA, Canada |
| Scanner compatibility | Read virtually everywhere | Read virtually everywhere |
| Leading zero relationship | UPC-A can become EAN-13 by prepending “0” | EAN-13 starting with “0” is equivalent to UPC-A |
This leading-zero equivalence means a UPC-A code 012345678905 is technically the same item as EAN-13 0012345678905. Retail systems handle this automatically, but data synchronisation between trading partners requires consistency.
Obtaining EAN-13 Numbers
There are two primary routes to obtaining valid GTIN-13s:
GS1 membership: Register with your national GS1 member organisation. You receive a company prefix and allocate your own item references. Annual fees apply and vary by country and company size. GS1 maintains the official GTIN standard and US-specific guidance.
Barcode resellers: Purchase individual GTIN-13s from legitimate resellers who acquired prefixes before GS1’s 2002 policy changes. These numbers are valid and scan correctly at retail. The International Barcodes Network operates over 120 member reseller sites worldwide, providing local support and documentation. Reseller GTINs suit small businesses and startups with limited product lines; GS1 membership becomes more economical at scale.
Neither route affects scannability. The choice depends on your budget, product range, and whether specific retailers or marketplaces require GS1-certified prefixes.
Validation Before Printing
Always validate your EAN-13 number before generating barcode artwork. A single incorrect digit or wrong check digit renders the barcode unscannable, causing rejected shipments, manual checkout delays, and potential listing removals on marketplaces.
The check digit uses a weighted modulo-10 calculation: odd-positioned digits (from the right) are multiplied by 3, even-positioned by 1, summed, and the check digit makes the total divisible by 10. Manual calculation is error-prone.
Use a reliable GTIN validator and check digit calculator to verify your numbers. This tool accepts GTIN-8, GTIN-12, GTIN-13, and GTIN-14 formats, recalculating the check digit and flagging any discrepancy.
For additional verification of barcode quality — including minimum dimensions, quiet zones, and colour contrast — refer to check digit fundamentals and printing best practices.
Database Registration
Registering your EAN-13 in product databases improves discoverability and reduces data errors across the supply chain. The Barcodes Database accepts submissions of product information linked to GTINs, helping retailers and apps identify your items correctly.
Common Mistakes to Avoid
- Reusing numbers: Never assign the same EAN-13 to different products, even discontinued ones. Conflicts persist in retailer systems for years.
- Truncating or padding: Do not remove the leading zero from a 13-digit code to “make it” 12 digits, or add arbitrary zeros to a 12-digit code. Use the correct GTIN format for your target market.
- Ignoring quiet zones: EAN-13 requires blank space (quiet zones) to the left and right of the bars. Printing too close to packaging edges or other graphics causes scan failures.
- Poor colour choices: Barcodes need high contrast between bars and background. Dark bars on light backgrounds work; reversed-out (light bars on dark) or colour combinations with low reflectance difference do not.
Summary
EAN-13 / GTIN-13 is the global standard for retail product identification. Its 13-digit structure with embedded check digit ensures reliable scanning at checkout worldwide. Validate your numbers before printing, maintain unique assignments per product, and choose your acquisition route — GS1 or reseller — based on scale and commercial requirements.