How to make an EAN-13 barcode
- 1
Get your EAN number
Retail EAN numbers come from the GS1 office in your country. It’s 12 digits plus a check digit.
- 2
Enter it
Type 12 digits and we add the 13th. Have all 13? We check it and offer a fix if it’s wrong.
- 3
Pick a size
Standard (100%) is 37.29 × 25.93 mm. Retail allows 80% to 200%.
- 4
Download
PDF or EPS for packaging artwork, PNG for labels. CMYK for professional printing.
How an EAN-13 number works
The 13 digits hold four things:
- GS1 prefix (first 2 or 3 digits): which GS1 office issued the number. 400-440 is GS1 Germany and 890 is GS1 India, for example. It doesn’t say where the product was made.
- Company number: your business, assigned by GS1.
- Item reference: one per product version, chosen by you.
- Check digit: calculated from the first 12 digits. We add it for you.
The first digit is printed to the left of the bars. It isn’t drawn as bars of its own: it’s encoded in the pattern of the next six digits.
EAN-13 barcode size
| Size | Width × height |
|---|---|
| 80% (minimum) | 29.83 × 20.74 mm |
| 100% (standard) | 37.29 × 25.93 mm |
| 150% | 55.94 × 38.90 mm |
| 200% (maximum) | 74.58 × 51.86 mm |
Sizes include the blank margins: 11 bar-widths on the left and 7 on the right (3.63 mm and 2.31 mm at 100%). Keep them clear of text and artwork. Set the size in the download panel and the PDF or EPS comes out exactly that big.
EAN-13 for books (ISBN)
Books use EAN-13 too. An ISBN-13 is an EAN-13 that starts with 978 or 979, so enter the ISBN-13 without the dashes and you’ll get the right barcode. The small price add-on some publishers print next to it (EAN-5) isn’t supported yet.
EAN-13 vs UPC-A
A UPC-A is an EAN-13 that starts with 0. North America uses UPC-A, most of the world uses EAN-13, and checkout scanners everywhere read both. If you were given a 12-digit UPC, either make a UPC-A barcode or add a 0 in front for EAN-13. Don’t enter the 12 digits as an EAN-13, or you’ll get an extra, wrong check digit (the generator warns you if it spots this).