What is an EAN-13?
EAN-13 is the barcode on almost every retail product sold outside the US and Canada. It has 13 digits:
- GS1 prefix (2–3 digits): the GS1 member organization that issued the number, not the country where the product was made.
- Company prefix: identifies the brand owner.
- Item reference: assigned by the company to each product.
- Check digit: the last digit, used to catch scanning errors.
How the check digit works
Take the first 12 digits from left to right, multiply them alternately by 1 and 3, and add them up. The check digit is what you need to reach the next multiple of 10. For 501234567890 the sum is 90, which is already a multiple of 10, so the check digit is 0 and the full code is 5012345678900.
You don't need to do this yourself: type 12 digits and the generator adds the check digit. If you type 13 and the last one is wrong, it tells you the code isn't valid.
Can I make up an EAN-13?
For internal use (your own inventory, testing) any number works, although Code 128 is usually more practical. To sell in stores or on marketplaces you need numbers licensed from GS1. Amazon and major retailers check that the code is registered to your company. Be wary of sites reselling single barcodes: those numbers are often registered to someone else.
Print size
The nominal EAN-13 size is about 37.3 × 25.9 mm (1.47 × 1.02 in) at 100%. GS1 allows scaling between 80% and 200%. Don't cut the height, and keep the blank quiet zone on both sides, especially the left. Scanners fail without it.
To print many, use Bulk · PDF labels with the EAN-13 format, or import them from Excel.
Frequently asked questions
What's the difference between EAN-13 and UPC?
UPC-A has 12 digits and is used in the US and Canada. A UPC-A is equivalent to an EAN-13 starting with 0, and scanners worldwide read both.
What is EAN-8?
A short 8-digit version for very small products. It's also issued by GS1, only when an EAN-13 really doesn't fit.
Is EAN the same as GTIN?
GTIN is the number and EAN-13 is the barcode that encodes it. A GTIN-13 is printed as EAN-13, and a GTIN-14 is usually printed as ITF-14.