Skip to content

Barcode Size Guide

How big to print a barcode, and how much space to leave.

About Barcode sizes

A barcode's size is set by its X-dimension, the width of the narrowest bar or module. Every other bar, space and margin is a multiple of it, so changing the X-dimension scales the whole barcode. Retail barcodes are usually described by magnification instead: 100% is the nominal size with an X-dimension of 0.330 mm, and GS1 allows EAN-13 and UPC-A from 80% (0.264 mm) to 200% (0.660 mm) for products scanned at the till.

Smaller isn't always possible: printing processes spread ink, so a press that gains a lot needs a bigger barcode or narrower bars to compensate. Cutting the bars shorter than nominal (truncation) saves space but makes the barcode harder to scan from an angle, and GS1 discourages it. The quiet zones, the blank margins either side of the bars, are part of the barcode: without them scanners can't find where it starts and ends.

EAN-13, UPC-A and EAN-8 by magnification

Sizes in millimetres, width × height, including quiet zones and the digits underneath. Retail point-of-sale scanning allows 80% to 200%.

MagnificationX-dimension (mm)EAN-13 / UPC-A (mm)EAN-8 (mm)
80%0.26429.83 × 20.7421.38 × 17.31
85%0.28131.70 × 22.0422.72 × 18.39
90%0.29733.56 × 23.3424.06 × 19.48
100%0.33037.29 × 25.9326.73 × 21.64
110%0.36341.02 × 28.5229.40 × 23.80
120%0.39644.75 × 31.1232.08 × 25.97
150%0.49555.94 × 38.8940.09 × 32.46
200%0.66074.58 × 51.8653.46 × 43.28

Quiet zones by symbology

Minimum clear space in multiples of X, the narrow bar or module width.

SymbologyLeftRightNote
EAN-1311X7XThe right margin is often marked with a > sign.
UPC-A9X9X
EAN-87X7XOften marked with < and > signs.
UPC-E9X7X
ISBN / EAN-13 with add-on11X5X after the add-onThe gap between main symbol and add-on is 7X to 12X.
ITF-1410X10XPlus a bearer bar around or above and below the bars.
GS1-128 and Code 12810X10X
Code 3910X10X
Codabar10X10X
MSI Plessey12X12XCommon practice; there is no ISO standard.
PDF4172X2XAlso above and below.
Data Matrix1X1XOn all four sides; more helps.
AztecNoneNoneThe central bullseye makes a quiet zone unnecessary.
QR Code4X4XOn all four sides.

Cartons and pallets (general distribution)

GS1 sizes for barcodes scanned in warehouses and distribution centres, where scanning distances are longer.

SymbologyX-dimensionMinimum bar heightNote
ITF-140.495 mm to 1.016 mm31.75 mmWide-to-narrow ratio 2.25:1 to 3:1; bearer bars recommended.
GS1-1280.495 mm to 1.016 mm31.75 mmAt most 165 mm long and 48 data characters.
EAN-13 / UPC-A on cartons0.495 mm to 0.660 mmNominal height for the magnification150% to 200% magnification when scanned in distribution, not only at the till.

Good to know

Check the current GS1 tables

These figures follow the GS1 General Specifications' symbol specification tables, which set different sizes for different scanning environments (retail tills, general distribution, healthcare, direct part marking). If a retailer or customer gives you a specification, theirs wins.

Design and logo barcodes

A design barcode replaces part of the bar height with art, so print it at 100% or larger to keep plenty of plain bar height for scanners.

More references