How big does an EAN-13 barcode have to be?
Between 80% and 200% of its nominal size. At 100% the thinnest bar is 0.330 mm wide and the bars are at least 22.85 mm tall. At 80%, the smallest size in GS1's table for products scanned at the till, the thinnest bar is 0.264 mm and the bars are at least 18.28 mm tall. Width, height and the blank space beside the bars go up and down together.
Written by Michael, who builds Cloudlabels · Last updated
What you need
- The size of the label, or of the area on the pack where the barcode goes.
- The GTIN for each product. An EAN-13 carries a 13-digit GTIN.
- A scanner like the one that will read the barcode, for a test print.
- If you design the label in Cloudlabels: a Cloudlabels account.
Step by step
Know what the percentages mean
Barcode sizes are often given as a percentage of the nominal size, called magnification. GS1's own tables now give the X-dimension instead, which is the width of the thinnest bar. The percentage follows it: at 100% the X-dimension is 0.330 mm.
- At 100% an EAN-13 is 37.29 mm wide, including the blank space on both sides, and its bars are 22.85 mm tall.
- The height is measured from the top to the bottom of the shorter bars. The digits under the bars are not part of it.
- A barcode that is made larger or smaller must keep its proportions, so the height changes with the width.
EAN-13 at 100%, with GS1's example number 9506000134352
- A
- Thinnest bar (X-dimension)
- 0.330 mm
- B
- Bar height, without the digits
- 22.85 mm
- C
- Blank space on the left, 11 × X
- 3.63 mm
- D
- Blank space on the right, 7 × X
- 2.31 mm
- E
- Width with the blank space
- 37.29 mm
Illustration drawn in proportion from GS1's figures. Not a photo and not a screenshot. Stay between 80% and 200%
GS1's table for products scanned at the till gives EAN-13 a bar width of at least 0.264 mm and at most 0.660 mm, with 0.330 mm as the target. That is 80% to 200%. Widths below include the blank space on both sides.
- 80%: bars 0.264 mm, 29.83 mm wide, 18.28 mm tall.
- 90%: bars 0.297 mm, 33.56 mm wide, 20.57 mm tall.
- 100%: bars 0.330 mm, 37.29 mm wide, 22.85 mm tall.
- 150%: bars 0.495 mm, 55.94 mm wide, 34.28 mm tall.
- 200%: bars 0.660 mm, 74.58 mm wide, 45.70 mm tall.
- GS1 UK puts it simply: the smaller the barcode, the less margin for error in printing, and generally the bigger the better.
Give the bars the height that goes with their width
For EAN and UPC barcodes, GS1 ties the minimum bar height to the bar width: 18.28 mm at 0.264 mm, 22.85 mm at 0.330 mm and 45.70 mm at 0.660 mm. Wider bars need taller bars. There is no maximum height.
- Between those sizes, the height follows the width in proportion, as the 90% and 150% rows above show.
- Leave room for the digits under the bars as well. They come on top of the bar height.
Keep the blank space beside the bars clear
An EAN-13 needs a blank area on each side, called the quiet zone: 11 times the bar width on the left and 7 times on the right. It keeps print next to the barcode from being read as part of it.
- At 100% that is 3.63 mm on the left and 2.31 mm on the right.
- At 80% it is 2.90 mm on the left (11 × 0.264 mm) and 1.85 mm on the right (7 × 0.264 mm).
- Nothing goes in it: no text, pictures, graphics or other markings.
When the pack is small
Try these in order before you shorten the bars.
- Print at 80%. It is the smallest size in GS1's table for the till: 29.83 mm wide with its blank space, and 18.28 mm tall.
- Use an EAN-8. GS1 designed EAN-8 and UPC-E for small packages, and says EAN-13 and UPC-A should be used whenever there is space. GS1 Sweden calls EAN-8 a choice for exceptional cases. At 80% an EAN-8 is 21.38 mm wide and 14.58 mm tall.
- An EAN-8 carries a GTIN-8, not the 13-digit GTIN in your EAN-13, so the product needs a GTIN-8. Ask the GS1 organisation in your country.
If you still have to shorten the bars, ask first
Shortening the bars is called truncation. GS1's own documents do not give one answer for small packs, so check with your retailer and your GS1 organisation before you print a shortened barcode.
- GS1 General Specifications: when a barcode is printed at the minimum size, the bars shall never be shortened below the minimum height in the table.
- GS1 Canada: a barcode shorter than the height for its size fails GS1 Canada's certification for truncation.
- GS1 UK: the height should not be reduced unless absolutely necessary, because a shorter barcode is harder to scan.
- GS1 Malaysia: truncation is not recommended, because it affects how fixed scanners read the barcode from every direction.
- GS1 Sweden: on a small pack it may be necessary to reduce the height, but always try to give the barcode full height. A full-height EAN-13 can be read from any direction, and a shortened one loses that.
Know how the rest of the family differs
UPC-A, UPC-E and EAN-8 use the same bar widths as EAN-13: 0.264 to 0.660 mm, with 0.330 mm as the target. The blank space differs, and so does the height of an EAN-8.
- UPC-A: the same bar heights as EAN-13, from 18.28 to 45.70 mm, and 9 bar widths of blank space on each side.
- UPC-E: the same bar heights, with 9 bar widths of blank space on the left and 7 on the right.
- EAN-8: bars at least 14.58 mm tall at 0.264 mm, 18.23 mm at 0.330 mm and 36.46 mm at 0.660 mm, with 7 bar widths of blank space on each side.
- Products scanned in warehouses as well as at the till have their own GS1 table with wider bars: EAN-13 and UPC-A from 0.495 to 0.660 mm, at least 34.28 mm tall at 0.495 mm.
Check the design before you print
Measure the barcode in your design: the bar width, the bar height without the digits, and the blank space on each side. If you design in Cloudlabels, GS1 Check compares them with GS1's figures for you.
- EAN and UPC barcodes have a “Size (%)” field from 50 to 200, with buttons for 80 and 100, and a “Bar height (mm)” field. Under them, the panel shows the bar width in millimetres and the height GS1 gives at that size.
- The field goes below 80%, so it does not stop a barcode that is too small. GS1 Check, beside Align in the designer toolbar, has a line each for Number, Bar width, Bar height and Blank space. Bars thinner than 0.264 mm fail. Bars shorter than GS1's height give a warning, not a fail.
- “Smallest GS1 size (80%)” sets an EAN-13 to 80% with GS1's bar height and blank space: bars 0.264 mm wide and about 18.3 mm tall.
Print one, scan it, and know what a verification is
A check of the design says nothing about how the barcode came out on the label. Print one on the printer and the material you will use, and scan it with a scanner like the one that will read it.
- A verification is something else. A barcode verifier measures the printed barcode and gives it an overall grade. GS1 names ISO/IEC 15426-1 as the standard for verifiers of linear barcodes.
- The minimum grade for each use is in the symbol specification tables in section 5 of the GS1 General Specifications, which GS1 offers as a free download.
- Black bars on a white background are the safe choice. GS1 Canada advises against bars in red colours, because scanners read with red light.
Mistakes that cost a reprint
- Changing the width but not the height.A barcode squeezed to fit a label gets narrower bars but keeps its height, or the other way round. GS1 UK says a resized barcode must always keep its proportions.
- Counting the digits as bar height.GS1's heights are for the bars alone. The digits underneath come on top, so leave room for them.
- Text or a frame line in the blank space.GS1 Malaysia says the blank space must be free of wording, pictures, graphics and any other markings. A border drawn close to the bars is a marking too.
- Going below 80% to fit a small label.0.264 mm is the smallest bar width in GS1's table for the till. Try a larger label or an EAN-8 before a smaller barcode.
- Red bars.GS1 Canada advises against bars in red colours, because scanners read with red light. Black on white is the safe choice.