Barcode Size Requirements: The Complete Spec Sheet for Print and Packaging
Official GS1 barcode size specifications for EAN-13, UPC-A, Code 128, QR codes, and ITF-14. Includes minimum sizes, magnification ranges, quiet zone requirements, and X-dimension explained.
Getting barcode sizes right is one of the most technically precise aspects of label and packaging design. Too small and scanners struggle. Too large and you waste valuable label space. Wrong quiet zone and the barcode fails completely — even if the bars themselves are perfect.
This guide provides the official GS1 size specifications for all major barcode types, plus practical guidance for designers and print buyers.
The Basics: X-Dimension and Magnification
Before diving into specific measurements, you need to understand two foundational concepts.
X-Dimension (the narrowest bar width)
The X-dimension is the width of the narrowest element in a barcode — the thinnest bar or the thinnest space. It is the fundamental unit of measurement for barcode sizing. All other dimensions (bar widths, symbol height, quiet zones) are defined as multiples of the X-dimension.
A wider X-dimension → a physically larger barcode → easier to scan. A narrower X-dimension → a smaller barcode → more difficult to scan reliably.
Magnification Factor
The GS1 defines a nominal (100%) size for each barcode type. The magnification factor expresses actual size as a percentage of this nominal size.
Most barcode types can be printed anywhere from 80% to 200% of nominal size, though GS1 recommends staying within a narrower range for retail use. Going below 80% is possible but not recommended — below that threshold, scanning reliability drops significantly.
EAN-13 Barcode Size Specifications
EAN-13 is the primary retail barcode for products sold internationally.
Nominal (100%) Dimensions
- Width: 37.29mm (including quiet zones)
- Height: 25.93mm
- X-dimension at 100%: 0.330mm
Magnification Range
- Minimum (80%): 29.83mm wide × 20.74mm tall
- Maximum (200%): 74.58mm wide × 51.87mm tall
- Recommended for retail: 80%–200%, with 100% as ideal
Quiet Zone Requirements
- Left side: minimum 11× X-dimension = 3.63mm at 100%
- Right side: minimum 7× X-dimension = 2.31mm at 100%
- Above and below: minimum 10× X-dimension = 3.30mm at 100%
Practical Notes
The EAN-13 symbol includes the human-readable number printed below (and sometimes to the left of) the bars. This number zone is included in the height measurement above. Never place any design element within the quiet zone or over the number area.
UPC-A Barcode Size Specifications
UPC-A is the standard for retail products sold in the United States and Canada.
Nominal (100%) Dimensions
- Width: 37.29mm (same physical size as EAN-13)
- Height: 25.93mm
- X-dimension at 100%: 0.330mm
Note: UPC-A and EAN-13 share the same physical dimensions. A UPC-A is essentially an EAN-13 with a leading zero — modern scanners read both interchangeably.
Magnification Range
- Minimum (80%): 29.83mm wide × 20.74mm tall
- Maximum (200%): 74.58mm wide × 51.87mm tall
UPC-E (Compressed UPC)
UPC-E is a shortened version for very small packages:
- Nominal width: 26.69mm
- Nominal height: 21.31mm
- Minimum (80%): 21.35mm wide × 17.05mm tall
Code 128 Barcode Size Specifications
Code 128 is a variable-length barcode with no fixed nominal size — dimensions depend on how much data you’re encoding.
X-Dimension (Bar Width)
- Recommended X-dimension: 0.254mm–0.495mm for standard applications
- Minimum X-dimension: 0.191mm (for high-density applications)
- Label printer standard: 0.254mm (at 203 DPI) or 0.169mm (at 300 DPI)
Symbol Height
- Minimum: 5mm or 15% of the symbol length, whichever is greater
- Recommended for shipping labels: 15mm minimum
- GS1-128 (logistics labels): 32mm minimum height
Quiet Zone Requirements
- Both sides: minimum 10× X-dimension
- At 0.254mm X: minimum 2.54mm on each side
Practical Notes
For Code 128 labels on shipping packages, GS1 recommends a height of at least 15mm to ensure omnidirectional scanner compatibility at conveyor belt speeds. The symbol length grows as you add more characters — plan your label width accordingly.
QR Code Size Specifications
QR codes are 2D matrix symbols. Their size is measured in modules (the small black and white squares).
Module Size and Physical Dimensions
A QR Code version determines the number of modules:
- Version 1: 21×21 modules (minimal data capacity)
- Version 10: 57×57 modules (moderate capacity)
- Version 40: 177×177 modules (maximum capacity)
The physical size = number of modules × module size + quiet zone.
Minimum Module Size
- 10 mils (0.254mm) per module: absolute minimum for industrial scanners
- Recommended: 0.50mm–1.0mm per module for consumer smartphone scanning
Minimum Symbol Sizes for Smartphone Scanning
| Content | Recommended QR Version | Minimum Print Size |
|---|---|---|
| Short URL (under 30 chars) | V2–V3 | 20mm × 20mm |
| Standard URL (30–75 chars) | V4–V6 | 25mm × 25mm |
| Long URL or text | V7–V10 | 35mm × 35mm |
Quiet Zone Requirement
QR codes require 4 modules of white space on all four sides. This is mandatory — do not let any design elements touch or overlap the quiet zone.
Error Correction Impact on Size
Higher error correction levels require more modules (more data redundancy), making the code physically larger at the same version:
- Level L (7%): smallest code, least damage tolerance
- Level M (15%): good balance for most applications
- Level Q (25%): recommended for printed materials
- Level H (30%): largest code, tolerates 30% damage — recommended for logos embedded in the center
ITF-14 Barcode Size Specifications
ITF-14 is used on outer shipping cartons and cases. It is printed directly on corrugated cardboard.
Nominal (100%) Dimensions
- Width: 142.75mm
- Height: 32.00mm
- X-dimension: 1.016mm
Magnification Range
- Minimum (62.5%): 89.22mm wide × 20.00mm tall
- Maximum (125%): 178.44mm wide × 40.00mm tall
Bearer Bars
ITF-14 symbols include bearer bars — thick horizontal bars running above and below the barcode. These are mandatory for ITF-14 as they protect against partial scans and ensure scanners read the full symbol. Bearer bar width = 4.8× X-dimension.
Quiet Zone Requirements
- Both sides: minimum 10× X-dimension = 10.16mm at 100%
- Top and bottom: bearer bars serve as the quiet zone boundary
EAN-8 Size Specifications
EAN-8 is a shortened EAN for very small packages where EAN-13 won’t fit.
Nominal (100%) Dimensions
- Width: 26.73mm
- Height: 21.64mm
- X-dimension: 0.330mm (same as EAN-13)
Magnification Range
- Minimum (80%): 21.38mm wide × 17.31mm tall
- Maximum (200%): 53.46mm wide × 43.28mm tall
Note: EAN-8 should only be used when EAN-13 genuinely will not fit the package. The shorter symbol and fewer digits make it harder for supply chain partners to process.
Summary Table
| Barcode | Nominal Width | Nominal Height | Min Width (80%) | Min Height (80%) |
|---|---|---|---|---|
| EAN-13 | 37.29mm | 25.93mm | 29.83mm | 20.74mm |
| UPC-A | 37.29mm | 25.93mm | 29.83mm | 20.74mm |
| UPC-E | 26.69mm | 21.31mm | 21.35mm | 17.05mm |
| EAN-8 | 26.73mm | 21.64mm | 21.38mm | 17.31mm |
| ITF-14 | 142.75mm | 32.00mm | 89.22mm | 20.00mm |
| Code 128 | Variable | ≥15mm | — | 5mm absolute |
| QR Code (V3) | ~25mm | ~25mm | 20mm | 20mm |
How to Apply These Specs When Designing Labels
Using SVG for print work
Always generate barcodes as SVG for any print application. SVG is a vector format that renders at any physical size without quality degradation. You can set the exact physical dimensions in your design software (Illustrator, InDesign, Canva, etc.) after importing the SVG.
With PNG or other raster formats, the physical size is determined by pixel count ÷ DPI. A 300px wide PNG at 300 DPI = 25.4mm. This calculation is error-prone when working with production files.
Working with label design software
When you place a barcode SVG in label design software:
- Import the SVG
- Set width to exactly the nominal measurement (e.g., 37.29mm for EAN-13) or your chosen magnification
- Enable “lock aspect ratio” — always scale proportionally
- Confirm there is sufficient white space surrounding the symbol
- Set your printer or print service to the correct label dimensions
Common mistakes designers make
- Resizing only the height — distorts bar widths and breaks the barcode
- Placing text too close — violates quiet zone requirements
- Using colored backgrounds — insufficient contrast causes scan failures
- Converting SVG to low-resolution PNG then scaling up — introduces pixel artifacts
Verifying size before production
After creating your label design, print one sample at actual size and measure the barcode width with a ruler. It should match your target dimension within ±1mm. Then scan the test print with multiple devices before approving the full print run.
Use our Barcode Scanner to verify the encoded data and our barcode generator to regenerate with different margin or size settings if needed.
Try the free barcode generator
Create professional barcodes and QR codes instantly. No registration required.