🔲 Barcode Guide

What Is EAN-13? The Complete Guide to the Global Barcode Standard

March 20, 2026 · 9 min read · barkodkarekod.com

Pick up any product from any supermarket shelf in Europe, Asia, South America or Australia, and flip it over. You'll see a striped barcode with 13 digits underneath. That's an EAN-13. It's arguably the most widely used barcode in the world, and yet most people have no idea what those numbers actually mean.

This guide explains everything — what EAN-13 is, how it works, what the digits mean, and when you actually need one.

💡 One sentence: EAN-13 is a 13-digit barcode used globally to uniquely identify retail products. The barcode at the checkout counter is almost certainly an EAN-13.

🔲 Ready to generate one? Enter your 12 or 13-digit number — free, no signup.

Generate EAN-13 →

What Does EAN Stand For?

EAN stands for European Article Number. The name is a bit misleading — it was created in Europe in 1977 as an extension of the American UPC system, but it quickly became a genuinely global standard. Today, you'll find EAN-13 barcodes on products sold in over 100 countries.

The organization that manages EAN-13 is GS1, a global non-profit with member organizations in over 110 countries. When a company wants to use EAN-13 barcodes officially, they register with their local GS1 organization and receive a unique Company Prefix.

What the 13 Digits Actually Mean

An EAN-13 barcode isn't just 13 random numbers. Each digit (or group of digits) carries specific information:

8
6
9
0
1
2
3
4
5
6
7
8
9
GS1 Prefix (country code)
Company Prefix
Product Reference
Check Digit

1. GS1 Prefix (First 2–3 digits)

The first digits identify the GS1 member organization that issued the barcode — not the country where the product was made or where it's sold. Turkey is 869, Germany is 400–440, France is 300–379, the USA is 000–019.

A common misconception: a barcode starting with 869 doesn't mean the product is from Turkey. It means the barcode was registered with GS1 Turkey. A Turkish company's products are perfectly accepted in Germany, the US, or anywhere else.

2. Company Prefix (Variable length)

The next digits identify the specific company. This is assigned by the GS1 organization when a company registers. The length varies — companies with many products get shorter prefixes so they can create more unique product codes.

3. Product Reference (Variable length)

The product reference is assigned by the company itself. Each unique product gets a unique number. A 500ml bottle and a 1-litre bottle of the same product would have different product reference numbers — they're different products.

4. Check Digit (Last digit)

The 13th digit is calculated automatically from the first 12. Here's how it works:

  1. Multiply digits in odd positions (1, 3, 5...) by 1
  2. Multiply digits in even positions (2, 4, 6...) by 3
  3. Sum all results
  4. Subtract from next multiple of 10

Scanners recalculate this digit every time they scan. If the check digit doesn't match, the scanner knows the barcode was misread and tries again. This prevents checkout errors from a single dirty or damaged line in the barcode.

GS1 Country Prefixes — Quick Reference

Country / RegionGS1 Prefix
United States & Canada000–019, 030–039, 060–139
France300–379
Germany400–440
Japan450–459, 490–499
Russia460–469
Taiwan471
United Kingdom500–509
Poland590
Netherlands870–879
Saudi Arabia628
UAE629
Turkey869
South Korea880
China690–699
Australia930–939

EAN-13 vs UPC-A — What's the Relationship?

UPC-A is a 12-digit barcode used primarily in North America. It predates EAN-13 — EAN-13 was actually designed to be backward-compatible with UPC-A.

Here's the key relationship: a UPC-A barcode is a valid EAN-13 with a leading zero. The barcode 012345678905 (UPC-A) is the same as 0012345678905 (EAN-13). Most modern scanners worldwide can read both formats interchangeably.

In practice: if you're selling only in the US, UPC-A is traditional. If you're selling anywhere else in the world, or on Amazon internationally, EAN-13 is the safer choice.

When Do You Need an EAN-13?

This is where it gets practical. There's a big difference between what you legally must have and what retailers require:

You don't need GS1 registration for:

You do need GS1 registration for:

How to Get an EAN-13 Barcode

Two steps — registration and image generation:

Step 1: Register with GS1 (for commercial use)

Find your local GS1 organization at gs1.org, register your company, and pay the annual membership fee. You'll receive a Company Prefix. Fees vary by country — typically €100–300/year for small businesses.

Step 2: Generate the barcode image (free)

Once you have your EAN-13 number, generating the actual barcode image is free. Enter your 12 or 13-digit number at barkodkarekod.com — the check digit is calculated automatically, and you can download as PNG or SVG instantly.

SVG for print: Always download as SVG for any print use. SVG is a vector format that scales to any size without pixelation — your barcode will be crisp at 1cm or 10cm.

Frequently Asked Questions

Generate Your EAN-13 Barcode Free

Enter 12 or 13 digits — check digit calculated automatically. Download PNG or SVG.

Generate EAN-13 →