Free barcode size calculator

Barcode Size Calculator

Find the printed size of an EAN-13, UPC-A, EAN-8 or UPC-E barcode at any magnification, including the quiet zones, or the largest one that fits the space on your label.

Size my barcode
  • No sign-up
  • GS1 nominal sizes
  • Quiet zones included
  • Inches or millimeters

Barcode size calculator

01 Barcode type
02 Size
Units
%

GS1's range for retail checkout scanning is 80% to 200%.

03 Printer
DPI

Many label printers draw each bar in whole printer dots.

Size preview

Fix the highlighted fields to see your label size.

Schematic with the real proportions. It is not a scannable barcode.

Results

Calculated on your device. Nothing is uploaded.

Barcode size with quiet zones

—

Magnification

—

Quiet zones

—

Bars only

—

Printer dots per module

—

GS1 retail range

—

How to Size a Retail Barcode

  1. Pick the barcode type

    EAN-13 and UPC-A are the standard retail barcodes; EAN-8 and UPC-E are shorter versions for small packages.

  2. Choose the size

    Pick a magnification, or enter the space on your label to get the largest barcode that fits.

  3. Keep the quiet zones clear

    Leave the blank margins on both sides free of text, graphics and the label edge.

Standard Barcode Sizes

EAN and UPC barcodes are sized from one number, the X-dimension: the width of the narrowest bar. At 100% magnification it is 0.330 mm (about 13 mil), and every other measurement scales with it. These are the nominal sizes in the GS1 General Specifications:

Nominal (100%) barcode sizes, X-dimension 0.330 mm
BarcodeWidth with quiet zonesBar heightQuiet zones (left / right)
EAN-1337.29 mm (1.468 in)22.85 mm (0.900 in)11X / 7X
UPC-A37.29 mm (1.468 in)22.85 mm (0.900 in)9X / 9X
EAN-826.73 mm (1.052 in)18.23 mm (0.718 in)7X / 7X
UPC-E22.11 mm (0.870 in)22.85 mm (0.900 in)9X / 7X

X = one module (0.330 mm at 100%). The bar height doesn't include the digits printed underneath; with them, an EAN-13 or UPC-A at 100% is about 25.93 mm (1.02 in) tall.

Magnification and the 80–200% Range

For barcodes scanned at retail checkouts, GS1 allows magnifications from 80% to 200% of the nominal size. Width and height scale together:

X-dimension = 0.330 mm × magnification

Width = modules × X-dimension

Bar height = nominal bar height × magnification

EAN-13 and UPC-A sizes by magnification
MagnificationX-dimensionWidth with quiet zonesBar height
80% (minimum)0.264 mm (10.4 mil)29.83 mm (1.174 in)18.28 mm (0.720 in)
90%0.297 mm (11.7 mil)33.56 mm (1.321 in)20.57 mm (0.810 in)
100% (nominal)0.330 mm (13.0 mil)37.29 mm (1.468 in)22.85 mm (0.900 in)
150%0.495 mm (19.5 mil)55.94 mm (2.202 in)34.28 mm (1.349 in)
200% (maximum)0.660 mm (26.0 mil)74.58 mm (2.936 in)45.70 mm (1.799 in)

Smaller symbols are harder to print well, so use 100% or more when the label has room. Barcodes on shipping cases follow different rules with larger minimums.

Quiet Zones and Bar Height

The quiet zones are the blank margins before the first bar and after the last one. A scanner needs them to find where the barcode starts and ends, so they are part of the barcode's size. Keep text, graphics, folds and the edge of the label out of them.

Don't squash a barcode by reducing only its height. GS1 allows a shorter bar height (called truncation) only when a package is too small for the full symbol, because short barcodes are harder to scan from different angles. If space is tight, reduce the magnification instead, which keeps the proportions.

Use the “Fit the space I have” option to find the largest barcode that fits your label while keeping its proportions and quiet zones.

Printing Barcodes on Labels

  • Print the bars in black or another dark colour on a white or light background. Most scanners use red light, so red bars look the same as the background and can't be read.
  • Keep the barcode as vector artwork (SVG, PDF or EPS) so the bar edges stay sharp. Don't stretch it in only one direction.
  • On thermal and other label printers, bars are made of whole printer dots. The results show how many dots one module gets at your printer's resolution and the nearest whole-dot sizes.
  • On round containers, turn the barcode so the bars run around the container (horizontal bars, sometimes called “ladder” orientation) if it would otherwise curve out of view.
  • If your print shop or retailer asks for it, a barcode verifier can grade printed barcodes against ISO/IEC 15416.

Valid EAN and UPC numbers for retail come from GS1 through a company prefix; this calculator works out sizes only. For QR codes, use the QR Code Print Size Calculator.

More Packaging Tools

LabelSize is a small set of focused packaging calculators. Every tool is free and runs in your browser.

Barcode Size FAQ

What is the standard size of a UPC barcode?

At 100% magnification a UPC-A barcode is 37.29 mm (1.468 in) wide including its quiet zones, with bars 22.85 mm (0.900 in) tall, or about 25.93 mm (1.02 in) with the digits underneath.

What is the size of an EAN-13 barcode?

The same as UPC-A at 100%: 37.29 × 22.85 mm (bar height), or about 37.29 × 25.93 mm with the digits. EAN-13 has a wider left quiet zone (11 modules) and a narrower right one (7 modules).

What is the smallest barcode I can print?

For retail checkout scanning, GS1's minimum is 80%. An EAN-13 or UPC-A at 80% is 29.83 mm (1.174 in) wide with bars 18.28 mm (0.720 in) tall. Smaller symbols are harder to print well, so use 100% when you can.

Can I make a barcode shorter to fit my label?

GS1 only allows a shorter bar height when the package is too small for the full symbol, because it makes scanning harder. Reduce the magnification instead, which keeps the proportions, or choose EAN-8 or UPC-E for very small packages.

What is the X-dimension of a barcode?

It's the width of the narrowest bar or space, also called a module. EAN and UPC barcodes are 0.330 mm (13 mil) at 100% magnification, and every other size is a multiple of it.

Does this tool create barcodes?

No. It works out the size and quiet zones. Create the barcode with your design software or barcode generator using your GS1-issued number, then size it with these measurements.

Is the calculator free? Is anything uploaded?

It's free and needs no account. Everything is calculated in your browser and nothing is uploaded.