WHOLESALE & BUYING · 6 Min. Lesezeit
Understanding Food Product EAN and GTIN Codes
What EAN and GTIN codes are, how GTIN-13 and GTIN-14 differ, how the check digit works, and why wholesale food buyers should capture barcodes for every packaging level.
Azenori Foods Editorial Team · Aktualisiert am 18. November 2026

Dieser Ratgeber dient der allgemeinen Information und stellt keine Rechts- oder Zollberatung dar. Die Anforderungen hängen von Produkt, Route und Bestimmungsort ab; bitte klären Sie diese mit der zuständigen Behörde oder einem zugelassenen Zollagenten.
Every packaged food product you buy for resale carries a number that retailers, warehouses and customs brokers rely on: its barcode. Wholesale buyers often call it "the EAN". The correct term is the GTIN, or Global Trade Item Number, a standard managed by GS1. Getting these codes right, for every packaging level and every market version, prevents listing errors, receiving mix-ups and costly relabeling. This guide explains how they work.
EAN vs GTIN: what the terms mean
- GTIN is the identification number. It is a GS1 identification key that uniquely identifies a trade item.
- EAN-13 is the name of the barcode symbol most commonly used at retail outside North America. It encodes a 13-digit GTIN, the GTIN-13.
- UPC-A is the barcode symbol used mainly in North America. It encodes a 12-digit GTIN, the GTIN-12.
In practice, "EAN code" usually means a GTIN-13.
The four GTIN formats
| Format | Digits | Typical use (per GS1 US) |
|---|---|---|
| GTIN-8 | 8 | Small retail items, mainly outside North America |
| GTIN-12 | 12 | Retail point of sale, mainly North America (UPC-A barcode) |
| GTIN-13 | 13 | Retail point of sale, mainly outside North America (EAN-13 barcode) |
| GTIN-14 | 14 | Trade item groupings such as cases; not intended for retail point of sale |
How a GTIN-13 is built
A GTIN-13 has three parts:
- GS1 Company Prefix. This is licensed to a company by a GS1 Member Organisation. Its first digits (the GS1 Prefix) identify the GS1 organization that allocated it.
- Item reference. The company assigns this to each product variant.
- Check digit. The final digit, calculated from the others.
The prefix does not show country of origin
GS1 states that the GS1 Prefix does not show that a product was made in a particular country or by a particular manufacturer. A company can license its prefix through one GS1 organization and make products anywhere. For country of origin, rely on the label and the commercial documents, not the barcode.
How the check digit works
The check digit helps catch keying errors and mistakes made when a number is created. GS1 UK uses this worked example, with the 12 digits 501234567000 followed by an unknown check digit:
- Starting from the right, add every other digit (positions weighted by 3): 0 + 0 + 6 + 4 + 2 + 0 = 12
- Multiply by 3: 12 × 3 = 36
- Add the remaining digits (weighted by 1): 0 + 7 + 5 + 3 + 1 + 5 = 21
- Add the two results: 36 + 21 = 57
- The check digit is the amount needed to reach the next multiple of 10: 60 − 57 = 3
The full GTIN is 5012345670003. The same method works for the other fixed-length GS1 keys. A valid check digit only shows that the number is well-formed. It does not prove the code has been allocated to that product.
Packaging levels: unit, inner box, case
Each distinct trade item needs its own GTIN. That includes different sizes, flavors and packaging levels. GS1 US explains that higher packaging levels such as cases are identified with separate GTINs and are not scanned at retail checkout.
GTIN-14 is commonly used for these groupings. GS1 Sweden describes its first digit, the indicator, as follows: values 1 to 8 identify different packaging levels of the same product, and 9 is reserved for variable-measure items.
A real-world example
MAMA's export page for Mama Brand Oriental Style Instant Noodles Shrimp Creamy Tom Yum Flavour lists different codes for each packaging level and market version:
| Version and level | Code shown on the manufacturer page |
|---|---|
| EU packaging, unit (EAN) | 8 850987 141058 |
| EU packaging, inner box (EAN) | 8 850987 128752 |
| US packaging, unit (UPC) | 0 52066 00205 4 |
| US packaging, inner box (UPC) | 0 52066 00171 2 |
Two points for buyers:
- The EU and US versions of the same flavor carry different codes, because they are different trade items with different labels.
- The inner box has its own code, separate from the consumer unit.
If your purchase order, your customer's listing and the delivered goods don't share the same code, you may have the wrong version.
Why GTINs matter in wholesale
- Retail listings. Supermarket customers usually require a valid GTIN for each consumer unit before listing.
- Receiving. Scanning on arrival confirms that the version and pack size match the order.
- Ordering accuracy. A GTIN removes ambiguity between similar product names.
- Traceability. The GTIN identifies the product. Lot or batch numbers and dates identify the production run, and you need both for recalls.
Common data problems to catch early
- The unit barcode is given for one market version, but another version is shipped
- The case code is missing, or the case is labeled with the consumer-unit code
- Digits are transposed when the code is typed into your system. A check-digit test will catch many of these.
- Leading zeros are dropped in spreadsheets, for example from GTIN-12 values or from GTINs stored in a 14-digit field
What to ask suppliers
- GTIN for the consumer unit, for the exact market version
- GTIN for each inner box and outer case, if assigned
- Units per inner box and inner boxes per case
- Case dimensions and gross weight
- Where lot number and best-before date appear on unit and case
- Confirmation that the codes on the goods match the pro forma invoice
Creating your own codes
Product GTINs are normally allocated by the brand owner, so don't assign your own codes to another company's branded product. If you create private-label products or your own mixed packs, license a GS1 Company Prefix from your local GS1 Member Organisation and follow its allocation rules. Labeling obligations in your market also apply. For the EU, see our guide to EU food labeling requirements for imported noodles.
Next steps
Include barcodes with your SKU list when you request a quote. They help us match the exact versions you need. You can also browse products and the Thai President Foods brand page, or see how documents are handled under trade documentation.
Häufig gestellte Fragen
Does the barcode prefix show where a product was made?
No. GS1 states that the GS1 Prefix shows which GS1 Member Organisation allocated the number, not the country of manufacture. Check the label for country-of-origin information.
Is EAN the same as GTIN?
In everyday trade, yes. EAN-13 is the barcode symbol and GTIN-13 is the 13-digit number it encodes. GTIN is the GS1 term for the identification number itself.
Can I create my own barcodes for products I import?
Product GTINs are normally allocated by the brand owner. If you need codes for your own private-label products or mixed packs, license a GS1 Company Prefix from your local GS1 Member Organisation.
Quellen
Großhandelsangebot anfordern
Send one request for any mix of products, order units and destinations.
Angebot anfordern

