EAN-13 barcode
Create EAN-13 barcodes for retail and product packaging with built-in validation, check digit handling, precise sizing and export options.
Consumer packaging and retail point-of-sale scanning

What is EAN-13?
EAN-13 is one of the most widely used retail barcode formats. It encodes a 13-digit GTIN and is commonly printed on consumer product packaging for point-of-sale identification. A GTIN identifies the trade item, not the package design or price; a correctly encoded number is not by itself evidence that the identifier has been assigned to the product.
Data requirements
EAN-13 contains exactly 13 numeric digits: twelve identifier digits and a mandatory Modulo 10 check digit. The check digit is calculated with alternating weights of three and one, starting from the right of the data portion. It helps detect common transcription errors but cannot verify that a GTIN belongs to a specific product.
Structure and sizing
The symbol has a fixed 95-module bar pattern with left, center and right guard bars. Clear quiet zones are required on both sides; the first human-readable digit sits outside the left bar group. The first digit determines the parity pattern used for the six digits on the left; it does not have its own separate bar group. Scaling should preserve uniform module widths, adequate bar height and the applicable quiet-zone clearances.
Technical specifications
- Data
- 12 GTIN digits plus 1 check digit
- Symbol width
- 95 modules, excluding quiet zones
- Check digit
- Mandatory, GS1 Modulo 10
- Quiet zones*
- 11X left, 7X right
- Human-readable text
- Leading digit outside the left bar group
- Standard
- ISO/IEC 15420 and GS1 rules
- Example GTIN-13
- 5901234123457
* Quiet zone values are minimum clearances, not fixed margins. Larger clear areas are allowed; the application may require additional space.
EAN-13 in Barcode Next
Retail packaging and artwork
EAN-13 identifies a trade item at a retail point of sale. The number must be allocated through an appropriate GS1 identification process; a barcode generator does not issue a GTIN.
The encoded symbol uses guard patterns and two groups of six data digits. Human-readable digits aid manual entry but do not replace the encoded bars.
Quiet zones and nominal dimensions belong to the appropriate GS1 symbol specification table. Changes to magnification, print process or truncation can affect scanner performance.
Batch generation
Import CSV or XLSX data, validate individual records and generate multiple barcodes in one workflow.
Vector and raster export
Export scalable SVG, PDF or EPS files and high-resolution PNG, JPEG or TIFF images for production.
Label printing
Arrange barcodes on label sheets using presets or custom paper sizes, margins and grid layouts.
Available options depend on the selected symbology. The screenshot illustrates shared application controls, not a verified scan result for EAN-13.

Common issues and print considerations
An invalid final digit
The check digit is calculated from the preceding twelve digits. A mismatched 13th digit is not simply a typography issue.
Crowded artwork
Background graphics and text must not intrude into the 11X left or 7X right quiet zone.
Unassigned identifiers
A structurally valid 13-digit value is not proof that the corresponding GTIN has been legitimately assigned.
Technical basis: GS1 General Specifications, release 26.0 (2026). Application and print specifications can impose additional requirements.
EAN-13 questions
Does EAN-13 encode 12 or 13 digits?
Its complete value is 13 digits: twelve identification digits followed by a mandatory calculated check digit.
How wide is the EAN-13 bar pattern?
The bars occupy 95 modules before the left and right quiet zones are added.
Is EAN-13 different from GTIN-13?
GTIN-13 is the identification key; EAN-13 is a barcode symbology that can carry it.
Create EAN-13 with Barcode Next
Work with format-specific data rules, precise dimensions, validation and clear previews in a professional barcode editor for Mac and Windows.
Explore all features or compare the Mac and Windows editions.
Get started with Barcode Next
Download for free
Explore barcode formats, customize QR codes, prepare batches and preview label layouts.
Download