Go to main content
March 11, 2026
Reading time: 4 minutes

What is the ideal size of a barcode?

Barcodes have become a must-have for businesses. It’s easy to see why, since they scan quickly, which speeds up data collection and avoids data entry errors. It is a simplified way to identify each product in a unique way and to have quickly several information on the product!

However, the “ideal” (or minimum barcode size) also depends on the barcode format. Choosing the right format improves readability and can drastically reduce scan failures.

For this system to work properly, barcode scanners must be able to read the codes easily.

To ensure a barcode is readable, here’s a practical checklist:

Barcode readability checklist

  1. Quiet zones: Respect the silent zones (the white areas around the barcode). This zone must be at least 5 times wider than the thinnest bar.
  2. Contrast: Give preference to prints with a strong contrast between dark and light bars. The best color combination is black bars with a white background. However, colors are allowed as long as the contrast is sufficient.
  3. Size & standards: Follow the recommended barcode size requirements by GS1

If you create barcodes for external use (retail products) and want them accepted worldwide, you must register with GS1 (they manage global standards for EAN/UPC identifiers). Your barcodes must also meet these print quality rules (bar height, color, background, and proper placement on labels/packaging).

Learn how to choose the right barcode labels!

Read our article

Barcode types and formats

There are different types of barcodes and it is important to validate their use before making a choice. The UPC (Universal Product Code) and EAN (European Article Numbering) codes are almost identical. They are designed to identify products used for retail sales.

Barcode format Type Typical use When to choose it
UPC-A / EAN-13 1D Standard retail products If you have enough space on the label
UPC-E / EAN-8 1D Small packaging If you need a small barcode format
Code 128 / GS1-128 (EAN-128) 1D Logistics / inventory To encode more information (lots, dates, etc.)
ITF-14 1D Cartons / overpacks For logistics units and secondary packaging
QR (2D) 2D Info, links, traceability If you need a 2D barcode format

Unidimensionnel (or 1D barcodes)

UPC-A / EAN-13 (EAN-13 barcode size)

UPC codes contain 12 digits and are used mainly in North America, while EAN codes contain 13 digits and are used in Europe. However, EAN is widely used globally.

Barcodes that follow specifications are much more likely to scan correctly. You can reduce a barcode down to 80% or enlarge it up to 200%. Below/above that range, the risk of scanning issues increases.

GS1 defines the official EAN-13 barcode minimum size at 31.35 mm × 22.86 mm. The minimum size for an EAN-13 symbol at 80% magnification is 25.08 mm wide with a minimum bar height of 18.29 mm.

The total barcode width must include a margin on both sides of the bars called the quiet zone. Respecting quiet zones is essential for reliable scanning.

In short, UPC-A and EAN-13 are the go-to choice when you want to:
✅ Identify a product universally for retail
✅ Ensure reliable scanning at checkout

Here is the size chart issued by GS1 for a UPC-A or EAN-13 code:

In millimeters
Magnification
(x-Dimension)
A
Bar to bar
B
Incl. quiet zones
C
Minimum bar height
80% (0.26mm) 25.08 29.83 18.29
90% (0.30mm) 28.22 33.56 20.57
100% (0.33mm) 31.35 37.29 22.86
120% (0.40mm) 37.62 44.75 27.43
160% (0.53mm) 50.16 59.66 36.58
200% (0.66mm) 62.7 74.58 45.72

UPC-E / EAN-8 (small barcode format)

UPC-E and EAN-8 are used for small products (e.g., narrow packaging) when UPC-A / EAN-13 cannot fit. This code format contains 8 digits.

GS1 defines the official size of EAN-8 as 16.83 mm × 22.86 mm. The minimum size at 80% magnification is 13.46 mm wide with a minimum bar height of 18.29 mm.

In short, UPC-E and EAN-8 are the most common choice when you want to:
✅ Print a small barcode format on narrow packaging
✅ Stay compatible with standard scanners

Here is the size chart issued by GS1 for a UPC-E and EAN-8 code:

In millimeters
Magnification
(x-Dimension)
A
Bar to bar
B
Incl. quiet zones
C
Minimum bar height
80% (0.26mm) 13.46 17.69 18.29
90% (0.30mm) 15.15 19.9 20.57
100% (0.33mm) 16.83 22.11 22.86
120% (0.40mm) 20.2 26.53 27.43
160% (0.53mm) 26.93 35.38 36.58
200% (0.66mm) 33.66 44.22 45.72

Other barcode formats

Code 128 / GS1-128 (EAN-128) – logistics format

The Code 128 barcode is widely used in warehouses and inventory management because it can encode more information than EAN/UPC (identifiers, lots, dates, etc.).

If you see “GS1-128” or “EAN-128,” it’s a common logistics variation of this format. For best scan results, follow GS1 recommendations for code 128 barcode size and print quality.

ITF-14 – format for cartons and overpacks

The ITF-14 barcode is mainly used to identify logistics units (cartons, overpacks).

It becomes relevant as soon as you move beyond simple retail product labeling.

Two-dimensional or 2D barcodes (QR code)

Unlike EAN and UPC, the QR Code is a two-dimensional barcode that can store much more data than a classic 1D barcode. Compact and fast to scan, it is widely used today for internal traceability, communication, and industrial use cases.

QR Codes are increasingly popular because they can be scanned with a smartphone. However, not all phones are equal: a QR Code printed too small may be hard to scan (especially on older cameras or when autofocus struggles).

What is the minimum QR code size?

The ideal size depends directly on the scanning distance. A simple rule is:

Minimum size = scanning distance ÷ 10

Examples:
– Scanning distance 20 cm (label, desk) → 2.0 × 2.0 cm
– Scanning distance 30 cm (standard) → 3.0 × 3.0 cm
– Scanning distance 1 m (counter, sign) → 10 × 10 cm
– Scanning distance 3 m (large signage) → 30 × 30 cm

As a practical baseline, a QR Code smaller than 2.5 × 2.5 cm may significantly increase scan failures, even with recent devices.

Also remember: print quality matters. A QR Code printed at low resolution or on a textured background will lose readability, regardless of its size.

In short, QR Code is the right choice when you want to:
✅ Encode more information than a 1D barcode (URL, product sheet, instructions, etc.)
✅ Allow easy scanning from a smartphone (no dedicated scanner required)
✅ Support internal traceability of assets or equipment

Asset list
FREE 15-DAY TRIAL
Try Hector to generate and scan barcodes in the right format

Create readable labels (EAN/UPC, 2D barcode format, Code 128…), scan with fewer errors, and keep a clear view of your inventory!

Try Hector NOW