Code guidesСправочник по кодамLeitfäden zu Codes / EAN-13, UPC

EAN-13, UPC and the GTIN behind themEAN-13, UPC и GTIN за нимиEAN-13, UPC und die GTIN dahinter

The linear barcode on almost every consumer product contains one number, the GTIN. The till uses it to find the product and its price in the store's database. The barcode has no place for a batch or a date: 2D codes add them, and the EAN stays on packs while tills switch over to 2D.В линейном штрихкоде почти на каждом потребительском товаре записан один номер — GTIN. По нему касса находит товар и его цену в базе магазина. Для партии и даты в штрихкоде места нет: их добавляют 2D-коды, а EAN остаётся на упаковке, пока кассы переходят на 2D.Der lineare Strichcode auf fast jedem Konsumgut enthält eine Zahl, die GTIN. Die Kasse findet damit das Produkt und seinen Preis in der Datenbank des Geschäfts. Für Charge oder Datum hat der Strichcode keinen Platz: 2D-Codes ergänzen sie, und der EAN bleibt auf den Packungen, solange die Kassen auf 2D umstellen.

What the 13 digits meanЧто означают 13 цифрWas die 13 Ziffern bedeuten

EAN-13 barcode 9506000134352
9506000134352
950
GS1 prefix: the GS1 member organisation that issued the number. 400–440 is GS1 Germany, 500–509 GS1 UK, 590 GS1 Poland, 840–849 GS1 Spain, 860 GS1 Serbia; 950 is GS1's own range, used in examples. The prefix does not show where the product was made.
950 + 6000
GS1 Company Prefix: the GS1 prefix plus the company's digits, licensed to the brand owner. A company that needs to number many products gets a shorter prefix and more digits for its items.
13435
Item reference: the brand gives one to each product and each pack size.
2
Check digit: calculated from the other twelve, so a till can tell a misread code from a valid one.
950
Префикс GS1: национальная организация GS1, которая выдала номер. 400–440 — GS1 Germany, 500–509 — GS1 UK, 590 — GS1 Polska, 840–849 — GS1 Spain, 860 — GS1 Srbija; 950 — собственный диапазон GS1 для примеров. Где произведён товар, префикс не показывает.
950 + 6000
Префикс компании GS1: префикс GS1 плюс цифры компании; выдаётся владельцу бренда по лицензии. Компании, которой нужно пронумеровать много товаров, дают более короткий префикс и больше цифр для товаров.
13435
Номер товара: бренд присваивает его каждому товару и каждому размеру упаковки.
2
Контрольная цифра: считается из остальных двенадцати, чтобы касса отличила ошибку чтения от правильного кода.

How the check digit is calculatedКак считается контрольная цифраSo wird die Prüfziffer berechnet

Multiply the digits by 3 and 1 in turn, starting with 3 at the right end, and add the results. The check digit is what is missing to the next multiple of ten. The same rule works for GTIN-8, GTIN-12, GTIN-13, GTIN-14 and the 18-digit SSCC.Цифры умножают по очереди на 3 и на 1, начиная с 3 на правом конце, и складывают. Контрольная цифра — то, чего не хватает до ближайшего большего числа, кратного десяти. Это же правило действует для GTIN-8, GTIN-12, GTIN-13, GTIN-14 и 18-значного SSCC.Multiplizieren Sie die Ziffern abwechselnd mit 3 und 1, beginnend mit 3 am rechten Ende, und addieren Sie die Ergebnisse. Die Prüfziffer ist das, was zum nächsten Vielfachen von zehn fehlt. Dieselbe Regel gilt für GTIN-8, GTIN-12, GTIN-13, GTIN-14 und die 18-stellige SSCC.

EAN-13, UPC, EAN-8 and GTIN-14EAN-13, UPC, EAN-8 и GTIN-14EAN-13, UPC, EAN-8 und GTIN-14

NumberНомерNummerBarcodeШтрихкодStrichcodeWhereГдеWoExampleПримерBeispiel
GTIN-13EAN-13Most of the world9506000134352
GTIN-12UPC-AUS and Canada; as a GTIN-13 it gets a leading zero614141000036
GTIN-8EAN-8Very small packs where an EAN-13 does not fit95060002
GTIN-14ITF-14, GS1-128Cases and trays; the first digit marks the packaging level19506000134359
GTIN-13EAN-13Большая часть мира9506000134352
GTIN-12UPC-AСША и Канада; как GTIN-13 получает ноль впереди614141000036
GTIN-8EAN-8Очень маленькие упаковки, где не помещается EAN-1395060002
GTIN-14ITF-14, GS1-128Короба и лотки; первая цифра обозначает уровень упаковки19506000134359
GTIN-13EAN-13Fast überall auf der Welt9506000134352
GTIN-12UPC-AUSA und Kanada; als GTIN-13 erhält sie eine führende Null614141000036
GTIN-8EAN-8Sehr kleine Packungen, auf die kein EAN-13 passt95060002
GTIN-14ITF-14, GS1-128Kartons und Trays; die erste Ziffer kennzeichnet die Verpackungsebene19506000134359

Inside a 2D code every GTIN is written with 14 digits, with zeros in front: the EAN 9506000134352 becomes (01)09506000134352. Codes on cases: Внутри 2D-кода любой GTIN записывают 14 цифрами, с нулями впереди: EAN 9506000134352 становится (01)09506000134352. Коды на коробах: In einem 2D-Code wird jede GTIN 14-stellig geschrieben, mit Nullen davor: Der EAN 9506000134352 wird zu (01)09506000134352. Codes auf Kartons: SSCC, GS1-128, ITF-14.

In-store codes for weighed goodsВесовые коды магазинаCodes im Handel für gewogene Ware

Numbers starting with 02 or 20–29 are restricted circulation numbers. They are valid only inside one country or one retailer, and the national GS1 office or the retailer decides what the digits mean. On weighed goods they usually hold the item and its weight or price. Here is a label from a self-service scale in a Serbian supermarket.Номера, которые начинаются с 02 или 20–29, — номера ограниченного обращения. Они действуют только внутри одной страны или одной сети, и что означают цифры, решает национальная организация GS1 или сама сеть. На весовом товаре в них обычно записаны товар и его масса или цена. Вот этикетка с весов самообслуживания в сербском супермаркете.Nummern, die mit 02 oder 20–29 beginnen, sind Nummern für den begrenzten Umlauf. Sie gelten nur in einem Land oder bei einem Händler, und die nationale GS1-Organisation oder der Händler legt fest, was die Ziffern bedeuten. Auf gewogener Ware enthalten sie meist Artikel und Gewicht oder Preis. Hier ein Etikett einer Selbstbedienungswaage in einem serbischen Supermarkt.

EAN-13 from a scale label: 2800361010001
2800361010001
28
Prefix from the 20–29 range: an in-store number.
00361
Item number in this store: second-class bananas.
01000
Weight in grams: 1.000 kg.
1
Check digit, by the same rule as above.
28
Префикс из диапазона 20–29: внутренний номер магазина.
00361
Номер товара в этом магазине: бананы второго класса.
01000
Масса в граммах: 1,000 кг.
1
Контрольная цифра по тому же правилу, что выше.

The till reads the item and the weight; the price per kilo comes from the store's database. The packing date is printed on the label as text, and the till does not read it, so a label printed yesterday scans the same as one printed today. Other layouts hold the price in place of the weight or add a check digit for the price; the layout differs by country and by retailer. In the US and Canada, UPC numbers starting with 2 serve the same purpose.Касса читает товар и массу, а цену за килограмм берёт из базы магазина. Дата упаковки напечатана на этикетке текстом, и касса её не читает, поэтому этикетка, напечатанная вчера, сканируется так же, как сегодняшняя. В других схемах вместо массы записана цена или добавлена контрольная цифра цены; схема зависит от страны и сети. В США и Канаде ту же роль выполняют номера UPC, которые начинаются с 2.Die Kasse liest Artikel und Gewicht; der Kilopreis kommt aus der Datenbank des Geschäfts. Das Verpackungsdatum steht als Text auf dem Etikett, und die Kasse liest es nicht, daher scannt ein gestern gedrucktes Etikett genauso wie ein heute gedrucktes. Andere Aufteilungen enthalten statt des Gewichts den Preis oder eine Prüfziffer für den Preis; die Aufteilung unterscheidet sich je nach Land und Händler. In den USA und Kanada dienen UPC-Nummern, die mit 2 beginnen, demselben Zweck.

GS1 DataMatrix with GTIN, weight and time of weighing

The same label with a 2D codeТа же этикетка с 2D-кодомDasselbe Etikett mit einem 2D-Code

(01)09506000134352(3103)001000(8008)2610171735

The item gets a GTIN in place of the in-store number, the weight goes into AI 3103 (1.000 kg), and AI 8008 holds the date and time of weighing: 17 October 2026, 17:35. With a date in the code, the till can refuse an old label. Woolworths in Australia started its 2D codes with fresh meat and poultry, Mercadona with its fresh range.Товар получает GTIN вместо внутреннего номера, масса записывается в AI 3103 (1,000 кг), а в AI 8008 — дата и время взвешивания: 17 октября 2026, 17:35. Когда дата есть в коде, касса может отклонить старую этикетку. Woolworths в Австралии начала 2D-коды со свежего мяса и птицы, Mercadona — со свежего ассортимента.Der Artikel erhält eine GTIN statt der internen Nummer, das Gewicht steht im AI 3103 (1,000 kg), und der AI 8008 enthält Datum und Uhrzeit der Wägung: 17. Oktober 2026, 17:35. Mit einem Datum im Code kann die Kasse ein altes Etikett ablehnen. Woolworths in Australien begann seine 2D-Codes mit Frischfleisch und Geflügel, Mercadona mit seinem Frischesortiment.

GS1 DataMatrix →GS1 DataMatrix →GS1 DataMatrix → GS1 Digital Link →GS1 Digital Link →GS1 Digital Link →

Sources:Источники:Quellen: GS1 General Specifications · GS1 Company Prefix · GS1 check digit calculator