EAN-13 (European Article Number, 13-digit version) is the most common retail barcode symbology format used outside of 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; identifies the brand owner when combined with prefix digit; some barcode resellers do not offer company numbers as part of their GTINs |
| 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 printed bars of the EAN-13 are a machine-readable representation of those GTIN digits. A scanner reads each bar and gap as a series of small, equal-width black or white units. The particular arrangement of those units is a pattern: each printed digit has its own pattern, so the scanner can translate it back into a number.
The EAN-13 symbology divides the GTIN number across the symbol rather than printing all 13 digits in one uninterrupted run. The first digit is represented indirectly by the choice of patterns used for the next six digits on the left. This choice is called parity. In this context, parity does not mean whether a number is odd or even; it is simply a two-pattern convention that helps the scanner determine which side of the barcode it is reading and recover the first digit. The six digits on the right use their own standard pattern set. Special start, centre, and end bar sequences are called guard patterns and mark the boundaries so the scanner can orient itself and separate the two halves.
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 123456789012 is technically the same item as EAN-13 0123456789012. Retail systems handle this automatically, but data synchronisation between trading partners requires consistency.
Obtaining EAN-13 Numbers
There are two 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.
Barcode resellers: Purchase individual GTIN-13s from legitimate barcode resellers who acquired transferable prefixes before GS1’s 2002 policy changes to GTIN licensing. 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; Some retailers may require GS1 issued barcodes as part of their product acceptance programs. Reseller GTINs are not suitable for such retailers.
Neither route affects scannability. The choice depends on your budget, product range, and whether specific retailers or marketplaces require GS1-certified prefixes.
Validating EAN-13s
Reputable barcode suppliers will provide GTINs that are mathematically valid but there are opportunities for errors to enter the workflow from barcode to finished product artwork. Errors can arise from sources such as manual GTIN data entry, GTIN number pasting, and leading zero truncation. Therefore, it is wise to validate your EAN-13 number before generating barcode artwork. See Check Digits for more information on mathematical GTIN validation. For additional verification of barcode quality — including minimum dimensions, quiet zones, and colour contrast — refer to printing best practices.
Database Registration
Registering your EAN-13 in product databases can help improve product discoverability and help others identify your product with valid product information you supply. While there is no single global comprehensive GTIN database, 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: It is official GS1 guidance to never assign the same EAN-13 to different products, even discontinued ones.
- 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.