2D Barcode Size & Quiet Zone Information

2D barcodes—also known as matrix barcodes—store information across two dimensions using a structured pattern of small squares, dots, or geometric shapes. Unlike traditional linear barcodes that encode data horizontally, 2D symbols utilise both horizontal and vertical axes, dramatically increasing their data capacity.

They can encode a wide range of information, including text, website URLs, serial numbers, and images.

Key Design Principle

In 2D barcode specifications, “X” represents the dimension (width or height) of the smallest individual square or dot within the symbol.
All measurements for quiet zones and margins are defined relative to this X-dimension.

Quiet Zone Requirements

  • QR Code: A quiet zone equal to 4 × X must be maintained on all four sides of the symbol. This ensures scanners can accurately detect the boundaries of the code.

  • Data Matrix: A quiet zone equal to 1 × X is required uniformly around the entire code. This clear space must remain free from any text, graphics, or background patterns.

Best Practices

  • Ensure quiet zones are printed in a light, uniform colour (typically white) and remain unobstructed by artwork, text, or packaging folds.

  • Avoid resizing the barcode image after export—this can distort the X-dimension and compromise readability.barcode-image-for-2d-dimensions

  • Test printed samples using a GS1-compliant verifier before full production runs.

  • For dual-marked items (linear + 2D) the 2D barcode (including its quiet zone) should be placed within a 50 mm radius of the linear barcode centre to ensure the scanning system perceives them as the same trade item.

2D Barcode Size & Quiet Zone Table

Quick reference for GS1 DataMatrix and GS1 QR Code used in retail.

Parameter GS1 DataMatrix GS1 QR Code Notes
Minimum X-Dimension (Module Size) 0.255 mm (typical POS minimum) 0.4 mm (typical POS minimum) Module = one square cell; keep consistent across symbol
Recommended X-Dimension Range 0.255–0.660 mm 0.4–0.6 mm Use larger modules for rough/flexible substrates
Quiet Zone (Clear Space) ≥ 1 × X on all sides ≥ 4 × X on all sides No text/graphics/borders in this area
Symbol Size (Typical) 10–20 mm square 15–30 mm square Depends on data volume; bigger scans better
Quiet Zone Example If X = 0.25 mm → quiet zone = 0.25 mm/side If X = 0.4 mm → quiet zone = 1.6 mm/side Quiet zone must remain clear (no print/colour)
Print Contrast ≥ 40 % difference ≥ 40 % difference Dark modules on light background preferred
Orientation Any (0°, 90°, 180°, 270°) Any Ensure flat placement; avoid distortion
Surface Flatness ± 0.3 mm variation max ± 0.3 mm variation max Curvature distorts cells
Placement (Dual-Marked) Within 50 mm of linear barcode centre Same Helps POS associate both to same GTIN
Verification Grade (ISO/IEC 15415) ≥ 1.5 (C) ≥ 1.5 (C) Target higher when possible

Tip: Keep vector artwork at final size (avoid scaling). Get a verification report before full production.