Barcode quiet zones

The quiet zone is the empty light margin around a barcode. The scanner needs it to find where the symbol starts and ends. Text, lines, the label edge or another barcode inside it are among the most common reasons a barcode prints fine but does not scan.

Minimum quiet zone per symbology

Quiet zones are specified in modules (X): multiples of the narrowest bar or smallest square.

SymbologyLeftRightSource
EAN-1311 X7 XGS1 General Specifications
EAN-87 X7 XGS1 General Specifications
UPC-A9 X9 XGS1 General Specifications
UPC-E9 X7 XGS1 General Specifications
Code 128, GS1-12810 X10 XISO/IEC 15417, GS1 General Specifications
ITF-14, ITF10 X10 XGS1 General Specifications, ISO/IEC 16390
Code 3910 X10 XISO/IEC 16388
Code 9310 X10 XAIM USS Code 93
QR Code4 X on all four sidesISO/IEC 18004
Micro QR2 X on all four sidesISO/IEC 18004
Data Matrix, GS1 DataMatrix1 X on all four sidesISO/IEC 16022
PDF4172 X on all four sidesISO/IEC 15438
Aztecnone requiredISO/IEC 24778

These are minimums. More is always fine, and many label guidelines ask for more.

From modules to mm and dots

quiet zone in mm   = modules × module width (mm)
quiet zone in dots = modules × module width in dots (^BY)

Example: an EAN-13 with a module width of 0.33 mm needs 11 × 0.33 = 3.63 mm on the left and 7 × 0.33 = 2.31 mm on the right. In ZPL with ^BY3 (3 dots per module) it needs 11 × 3 = 33 dots on the left and 7 × 3 = 21 dots on the right.

Quiet zones in ZPL

ZPL draws only the bars. The free space around them is up to you: keep the ^FO position of the barcode at least the quiet zone away from the label edge and from other fields. Our ZPL Viewer shows exactly where each bar lands, so you can check the distances.

Typical mistakes

  • Human-readable text or a box line placed into the margin.
  • Barcode positioned too close to the label edge, or cut by the die-cut edge after a small print shift.
  • Two barcodes side by side without enough space between them.
  • A dark or patterned background running up to the bars.

Related tools