What is an EAN code? Check digit and example – Sortyra
# What is an EAN code? Check digit and example – Sortyra > An EAN is the 13-digit number under a product's barcode. How it is built, how to calculate the check digit, how to write it in a feed and common mistakes. Source: <https://sortyra.com/glossary/what-is-an-ean-code> --- [Sortyra](https://sortyra.com/) [Glossary](https://sortyra.com/glossary) [E – H](https://sortyra.com/glossary/e-h) # EAN Sortyra team · March 31, 2026 · 3 min read [Glossary](https://sortyra.com/glossary) [A – D](https://sortyra.com/glossary/a-d) [E – H](https://sortyra.com/glossary/e-h) [I – L](https://sortyra.com/glossary/i-l) [M – P](https://sortyra.com/glossary/m-p) [Q – T](https://sortyra.com/glossary/q-t) [U – X](https://sortyra.com/glossary/u-x) - [ECB rate](https://sortyra.com/glossary/ecb-exchange-rate) - [ERP / warehouse software](https://sortyra.com/glossary/what-is-erp-warehouse-software) - [Exchange rate](https://sortyra.com/glossary/exchange-rate-price-conversion-feed) - [Feed (product feed)](https://sortyra.com/glossary/what-is-a-feed-meaning) - [Feed freshness](https://sortyra.com/glossary/feed-freshness-stale-feed) - [Feed item (item)](https://sortyra.com/glossary/feed-item-shopitem) - [Feed localisation](https://sortyra.com/glossary/feed-localization-for-other-countries) - [Feed manager](https://sortyra.com/glossary/feed-manager-tool-and-role) - [Feed rule](https://sortyra.com/glossary/feed-rule-conditions-actions) - [Feed translation](https://sortyra.com/glossary/product-feed-translation) - [Feed update schedule](https://sortyra.com/glossary/feed-update-schedule) - [Feed URL](https://sortyra.com/glossary/feed-url-address) - [Gender (gender)](https://sortyra.com/glossary/gender-attribute-google-feed) - [Google Merchant Center](https://sortyra.com/glossary/what-is-google-merchant-center) - [Google product category (google_product_category)](https://sortyra.com/glossary/google-product-category-taxonomy) - [Google Shopping](https://sortyra.com/glossary/what-is-google-shopping) - [GTIN](https://sortyra.com/glossary/what-is-a-gtin) - [HEUREKA_CPC](https://sortyra.com/glossary/heureka-cpc-bid-per-click) An EAN is a 13-digit, rarely 8-digit, number under the barcode on a product's packaging. The manufacturer assigns it, and the same product has the same EAN in every shop. In a feed it goes in the EAN element for Heureka and Zboží.cz or in g:gtin for Google, which use it to group offers for one product. **In this article** 1. What is an EAN 2. What it looks like in a feed 3. What it is used for 4. What to watch out for 5. How Sortyra helps 6. Related terms 7. Frequently asked questions ## What is an EAN EAN originally stood for _European Article Number_. Today it is part of the worldwide [GTIN](https://sortyra.com/glossary/what-is-a-gtin) system: an EAN-13 is the same as a GTIN-13. You'll find the number under the barcode that beeps at the checkout. An EAN-13 has four parts: 1. **GS1 prefix** – for example 858 (Slovakia) or 859 (Czech Republic). It says which national organisation issued the number, not where the goods were made. 2. **Company number** – assigned to the manufacturer. 3. **Product number** – which the manufacturer chooses itself. 4. **Check digit** – the last digit, which catches typos. ### How the check digit is calculated For the number `858123456789`, multiply the digits from the left alternately by 1 and 3 and add them up: 8 + 15 + 8 + 3 + 2 + 9 + 4 + 15 + 6 + 21 + 8 + 27 = 126. The next multiple of ten (130) is 4 away, so the full EAN is `8581234567894`. ## What it looks like in a feed `<!-- Heureka, Zboží --> <EAN>8581234567894</EAN> <!-- Google Merchant --> <g:gtin>8581234567894</g:gtin>` The same EAN is written in `EAN` for Czech and Slovak comparison sites and in `g:gtin` for Google. ## What it is used for - **Heureka** uses the EAN to assign offers to product pages. Heureka.sk explicitly accepts EAN-13; for books, films and music the EAN is required. - **Zboží.cz** accepts GTINs with 8, 12, 13 or 14 digits in the `EAN` field. - **Google** expects it in the `g:gtin` field. - **Marketplaces** such as Kaufland create products based on the EAN. - **Several suppliers** – if two suppliers offer the same goods, the EAN reveals that it is one product. ## What to watch out for - **A shared EAN** – a supplier gives one EAN to a whole range, for example to all sizes. The comparison site then merges the different sizes. - **Different packaging** – a pack of 6 has a different EAN from a single item. - **Lost zeros** – Excel shortens an EAN that starts with a zero, and the number stops being valid. - **A made-up EAN** – the comparison site matches the product with someone else's goods or rejects it. ## How Sortyra helps Sortyra combines the same products from several suppliers into one product record by EAN. It recognises an EAN that a supplier has given to several different products as shared and doesn't merge by it; the recipe **Don’t send shared EANs to comparison sites** leaves it out of comparison site feeds. A missing EAN is suggested by the **Product matching** feature, always with a source and for your approval. ## Related terms - [GTIN](https://sortyra.com/glossary/what-is-a-gtin) - [MPN](https://sortyra.com/glossary/what-is-an-mpn) - [SKU / product code](https://sortyra.com/glossary/what-is-an-sku) - [Brand](https://sortyra.com/glossary/brand-in-product-feed) - More detail: [EAN, GTIN, MPN and product codes](https://sortyra.com/knowledge-base/ean-gtin-mpn-product-code) and [Product matching on comparison sites](https://sortyra.com/knowledge-base/product-matching-comparison-sites) ## Frequently asked questions ### Does every product need an EAN? No. Handmade goods or your own products don't need one. But if the manufacturer has assigned an EAN, channels want to see it. ### Can I make up an EAN? No. A made-up number may belong to another product, and the comparison site will assign your offer to someone else's goods. Your own numbers are allocated by GS1. ### Where do I find a product's EAN? On the packaging under the barcode, in the supplier's feed or price list, or on the manufacturer's website. [← Previous article **Dynamic ads**](https://sortyra.com/glossary/dynamic-ads-from-product-catalogue) [Next article → **ECB rate**](https://sortyra.com/glossary/ecb-exchange-rate) ## Try it on your own feed [Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)