EAN-13 Barcode: Size, Structure and Check Digit

Barcodes · GS1 retail point-of-sale (EAN/UPC)

EAN-13: Linear (1D). Data: 13 digits (12 + check digit). Error checking: Modulo 10, weights 1-3. Standard: ISO/IEC 15420; GS1 General Specifications. Typical use: Retail products worldwide (outside North America the default point-of-sale code).

XX-dimension at 100 %
0.330 mm0.0130 in0.0130 in0.330 mm
Width at 100 %
37.29 mm1.468 in1.468 in37.29 mm
Bar height (nominal)
22.85 mm0.900 in0.900 in22.85 mm
Type
Linear (1D)

Drawing

4006381333931guard barscheck digit 1quiet zone
Real, scannable symbol for 4006381333931 (check digit computed).

EAN-13 specifications

TypeLinear (1D)
Character setDigits 0–9
Data length13 digits (12 + check digit)
Check digit / error correctionModulo 10, weights 1-3
StandardISO/IEC 15420; GS1 General Specifications
XX-dimension at 100 %0.330 mm0.0130 in
Width at 100 %37.29 mm1.468 in
Height at 100 %25.93 mm1.021 in
Bar height (nominal)22.85 mm0.900 in
Allowed size rangeX 0.264–0.660 mm (80–200 %)
Quiet zone11 X left, 7 X right
Typical useRetail products worldwide (outside North America the default point-of-sale code)

At 100 % an EAN-13 is 37.29 × 25.93 mm including quiet zones and digits; the bars are 22.85 mm high. The first digit is not drawn as bars of its own; it is encoded in the pattern of odd/even parity of the left six digits. The leading digits are a GS1 prefix that shows which GS1 office issued the company prefix (for example 400–440 Germany, 00–13 US/Canada, 45–49 Japan), not the country where the product was made.

Also known as

GTIN-13JANJAN-13EAN

All barcode types

Compare all 17 barcode types →

Sources

  1. GS1 General Specifications (Release 24.0): §5 symbol specifications, symbol specification tables
  2. GS1: How to calculate a check digit manually
  3. GS1 Sweden: Barcode size guide (X-dimension and height tables)
  4. GS1 UK: How big should an ITF-14 barcode be?
  5. ISO/IEC 15420 (EAN/UPC), 15417 (Code 128), 16388 (Code 39), 16390 (ITF), 24724 (GS1 DataBar)
  6. ISO/IEC 18004 (QR Code), 16022 (Data Matrix), 15438 (PDF417), 24778 (Aztec Code)
  7. JsBarcode (MIT): Code 128 / Code 39 / Codabar pattern tables used to cross-check the drawings

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.