Barcode help · Revised

Barcode size guide: how small can a barcode be?

There is no single minimum size for every barcode. The answer depends on the barcode type, where it will be scanned and how it will be printed. Start with the receiving retailer’s or customer’s specification, then check whether your printer can reproduce the required bars at that size.

Quick answer: for a conventional EAN-13 or UPC-A symbol used at retail checkout, 80% magnification corresponds to a 0.264 mm narrow bar and approximately 29.83 mm width including the left and right quiet zones. That width alone is not a complete label specification: bar height, readable digits, placement and print quality still matter. General-distribution applications can require larger symbols.

Plan the label before shrinking the bars. Enter your data and compare the generated dimensions with the space available on your packaging.

Open the barcode generator

Understand the measurements before comparing sizes

A quoted “30 mm barcode” is ambiguous unless it says whether that is the pattern width, the width including quiet zones, or the label width. Check the definition before comparing a supplier’s drawing with a generator preview.

EAN and UPC: reference dimensions for retail checkout

Magnification expresses scale relative to the nominal design. The following reference values use a nominal X-dimension of 0.330 mm. Width includes horizontal quiet zones; the height column is bar height, not total artwork height.

EAN/UPC reference dimensions in millimetres; rounded to two decimal places
SymbolScaleX-dimensionWidth with quiet zonesBar height
EAN-13 / UPC-A80%0.26429.8318.28
EAN-13 / UPC-A100%0.33037.2922.85
EAN-13 / UPC-A200%0.66074.5845.70
EAN-880%0.26421.3814.58
EAN-8100%0.33026.7318.23
EAN-8200%0.66053.4636.46

Source: GS1 UK’s retail sizing reference. These are planning dimensions, not a guarantee that an 80% symbol will suit your printing process or supply agreement. Check the applicable application table in the current GS1 General Specifications and any retailer requirements before production.

Example: does EAN-13 fit a 30 mm-wide label?

At 80%, the symbol already needs about 29.83 mm horizontally. A 30 mm label leaves only 0.17 mm in total beyond that footprint. That gives almost no allowance for label-cutting or placement variation, and it says nothing about whether the height fits. A wider label or a different packaging position is usually a better starting point than treating that mathematical fit as a production-ready layout.

Do not remove digits or select a shorter symbol just to save space. EAN-8 carries a separately allocated GTIN-8; it is not a shortened drawing of any EAN-13 number. UPC-E can represent only eligible UPC numbers. Discuss small-pack identification with your GS1 member organisation. See GS1’s EAN-8 explanation.

Shortening only the bars is called truncation. It reduces the range of scan paths that cross the complete symbol. For retail artwork, retain the required height instead of assuming that one successful handheld scan makes a shortened design acceptable.

Code 128, Code 39 and carton labels need an application-specific plan

Code 128 and Code 39 vary in width with the data and encoding. Generate the actual content before choosing a label. A sample containing six characters cannot establish the space needed for your longest identifier.

A generator warning about short bars is a useful prompt to review a design. It does not replace an application standard or prove retailer acceptance. Avoid a blanket “10 mm is enough” rule across warehouse, checkout and asset-tracking labels.

Printer dots: calculate the size the printer can actually make

A printer places marks on a dot grid. To keep module edges consistent, choose an X-dimension that maps to a whole number of dots at the printer’s native resolution.

X in millimetres = dots per module × 25.4 ÷ printer DPI.

Calculated module widths; these examples are not universal minimum sizes
Printer resolution2 dots3 dots4 dots
203 DPI0.250 mm0.375 mm0.500 mm
300 DPI0.169 mm0.254 mm0.339 mm
600 DPI0.085 mm0.127 mm0.169 mm

Why “two dots” is not automatically enough

On a 203 DPI printer, two dots produce approximately 0.250 mm. That is below the 0.264 mm reference minimum for the retail EAN/UPC application above. Three dots produce approximately 0.375 mm, or 114% of the nominal 0.330 mm module. The latter clears that particular lower bound, but you must still check height, total width, print quality and the receiving specification.

In the generator, selecting a printer can snap the requested module width to its dot grid. Read the resulting dimensions after that adjustment. A requested 100% size may no longer be exactly 100% once rounding is applied.

File DPI and printer DPI are different settings. A 600 DPI image printed on a 203 DPI device still has to be mapped onto that device’s grid. Increasing the export resolution cannot add physical printer dots or repair an undersized design.

Protect the quiet zones all the way to the finished label

Required margins depend on the symbology and application. For example, EAN-13 uses 11 modules on the left and 7 on the right. At a 0.330 mm module, those areas are 3.63 mm and 2.31 mm. EAN-8 uses 7 modules on each side. Check the relevant specification for other formats rather than applying one margin to every barcode.

Prepare a print you can measure and test

  1. Record the requirement.

    Write down the symbol type, exact data, required X-dimension and height, printer resolution and available label area. Include customer-specific placement or verification requirements.

  2. Choose an appropriate file.

    The generator’s SVG and PDF preserve vector bar shapes and physical dimensions. Keep their intended placement size. PNG exports use whole pixels per module, so the resulting physical width can differ from the requested width; read the download note. Prefer PNG over lossy JPG for raster artwork, and explicitly set its placement dimensions if your design software ignores DPI metadata.

  3. Control scaling.

    For the generator’s PDF, choose “Actual size” or 100% in the print dialogue. Disable automatic fit-to-page scaling. Do not stretch width and height independently or resample a small screenshot into a print asset.

  4. Use predictable contrast and material.

    Black bars on a plain white background are a practical starting point. Red or orange bars can provide poor contrast to red-light scanners. Gloss, transparent film, corrugated board and curved surfaces can change results even when the original file looks clear.

  5. Measure a finished sample.

    Check the overall printed footprint and bar height. A ruler can reveal gross scaling errors; it cannot accurately establish narrow-bar width or print-quality grades. Test after any lamination, wrapping or application to a container.

  6. Check both reading and acceptance.

    Use the intended scanner and confirm that the decoded value matches the expected identifier, including leading zeros. The generator’s camera check is a reading aid. Where a customer requires formal verification, obtain a report from suitable calibrated equipment.

A successful scan is not a verification grade. Reading the number with your phone is a useful trial, but it does not measure the label’s print-quality grade. Formal linear-barcode assessment uses methods such as ISO/IEC 15416, with equipment designed to measure defined symbol properties. See GS1’s explanation of scanning and verification.

If a printed barcode fails, change one factor at a time

Symptoms and useful next checks
SymptomWhat to check next
Print is smaller than the file dimensionsDisable fit-to-page and inspect placement dimensions in the label template.
Bars look uneven or spaces fill inCheck whole-dot sizing, print-head condition, speed and darkness settings. Follow the printer and label supplier’s guidance.
Loose label scans; applied label does notInspect curvature, glare, seams, wrinkles and whether the scanner sees the full pattern.
Only one scanner reads itCheck that the other device supports and enables that symbology, then compare scanning distance and print quality.
It reads, but the receiving system rejects itCompare decoded data, required format and identifier allocation. A readable image does not establish that a GTIN is valid for your product.

Common questions

What is the smallest EAN-13 barcode I should plan for?

For the conventional retail reference in this guide, 80% gives approximately 29.83 mm width including quiet zones and 18.28 mm bar height. Allow additional vertical space for the digits and full artwork. Confirm that your application and printing process permit that size before ordering labels.

Can I shorten the barcode to fit?

Do not treat height as disposable space. Retail symbols need their specified height. For Code 128 and Code 39, use the height required by the application and test the intended scan geometry. Moving the symbol or choosing a larger label is preferable to guessing a lower limit.

Is 300 DPI always sufficient?

No. Adequacy depends on the required module width, how it maps to printer dots and the finished print quality. A low-resolution thermal printer may work at a suitable size, while a higher-resolution printer can still fail with poor scaling or unsuitable material.

Can I use a QR code instead of a retail barcode?

Only if the receiving workflow accepts the particular 2D symbol and data structure. An ordinary website QR code is not an automatic substitute for a product identifier at checkout. Confirm the retailer’s requirements before changing the symbol.

Does the generator certify my printed labels?

No. Dimensions, warnings and camera decoding help you prepare and test an image. They do not issue a formal print-quality certificate or confirm that a retailer accepts the identifier or packaging.

Prepared by eToolPlus from the referenced GS1 guidance and a review of this site’s barcode export behaviour. Dimensions are reference information; the receiving organisation’s current requirements determine what you must supply.