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 generatorUnderstand the measurements before comparing sizes
- X-dimension: the width of a narrow bar or module. It controls the scale of the encoded pattern.
- Bar height: the vertical length of the bars. It is not the same as the complete image height, which may also include extended guard bars, digits and spacing.
- Quiet zones: clear areas beside the encoded pattern. They belong in the width budget; they are not spare space for artwork.
- Label size: the area available for the entire symbol plus any additional label content and placement allowance.
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.
| Symbol | Scale | X-dimension | Width with quiet zones | Bar height |
|---|---|---|---|---|
| EAN-13 / UPC-A | 80% | 0.264 | 29.83 | 18.28 |
| EAN-13 / UPC-A | 100% | 0.330 | 37.29 | 22.85 |
| EAN-13 / UPC-A | 200% | 0.660 | 74.58 | 45.70 |
| EAN-8 | 80% | 0.264 | 21.38 | 14.58 |
| EAN-8 | 100% | 0.330 | 26.73 | 18.23 |
| EAN-8 | 200% | 0.660 | 53.46 | 36.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.
- Internal asset labels: test the longest real identifier, the actual scanner and the intended working distance. Give the operator enough bar height to scan without precise alignment.
- Long data: consider a more compact permitted encoding or a larger label. Do not silently abbreviate an identifier that another system expects unchanged.
- Customer or shipping labels: use the recipient’s specification. Ordinary Code 128 and GS1-128 are not interchangeable merely because they use related bar patterns.
- ITF-14 cartons: account for bearer bars and quiet zones as well as the encoded bars. For general distribution, GS1 specifies an X-dimension range of 0.495–1.016 mm and a minimum bar height of 31.75 mm. Other application conditions require their own checks. See GS1’s general-distribution specification table.
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.
| Printer resolution | 2 dots | 3 dots | 4 dots |
|---|---|---|---|
| 203 DPI | 0.250 mm | 0.375 mm | 0.500 mm |
| 300 DPI | 0.169 mm | 0.254 mm | 0.339 mm |
| 600 DPI | 0.085 mm | 0.127 mm | 0.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.
- Keep borders, text, nearby barcodes and coloured artwork outside the required clear areas.
- Preserve the supplied margins when placing an exported image. Do not use automatic cropping to recover label space.
- Leave a placement allowance so cutting tolerances, seams or a label edge do not intrude into a required quiet zone.
- Inspect the final packaging artwork, not just the isolated barcode file.
Prepare a print you can measure and test
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
| Symptom | What to check next |
|---|---|
| Print is smaller than the file dimensions | Disable fit-to-page and inspect placement dimensions in the label template. |
| Bars look uneven or spaces fill in | Check whole-dot sizing, print-head condition, speed and darkness settings. Follow the printer and label supplier’s guidance. |
| Loose label scans; applied label does not | Inspect curvature, glare, seams, wrinkles and whether the scanner sees the full pattern. |
| Only one scanner reads it | Check that the other device supports and enables that symbology, then compare scanning distance and print quality. |
| It reads, but the receiving system rejects it | Compare 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.