EAN-13 vs EAN-8: Which Product Barcode Do You Need?

Compare EAN-13 and EAN-8 barcodes — when to use the full-size vs. compact format, how they differ in structure, and which one your product packaging requires.

EAN-13 is the standard barcode for retail products worldwide. EAN-8 is its compact sibling — same scanning technology, smaller footprint, designed for products too small to carry a full-size barcode. The choice between them is almost always straightforward: use EAN-13 unless your packaging physically cannot fit it. Here's why, and how to handle the cases where EAN-8 is the right call.

Side-by-Side Comparison

FeatureEAN-13EAN-8
Digits encoded138
Nominal width37.29mm (1.47 in)26.73mm (1.05 in)
Nominal height25.93mm (1.02 in)21.64mm (0.85 in)
Minimum width (80% mag)29.83mm (1.17 in)21.38mm (0.84 in)
Number structureGS1 prefix + company prefix + product code + checkGS1 prefix + item reference + check
Company prefixYes (shared across products)No (individually assigned)
GS1 allocationThrough company prefixIndividual application
Encoding methodL/G/R parity patternsL/R parity patterns
Guard barsStart + center + endStart + center + end
Scanner supportUniversalUniversal
Use caseAll retail products (default)Small packaging only

Physical Size: The Only Reason EAN-8 Exists

EAN-8 was created for one purpose: fitting a scannable retail barcode on packages too small for EAN-13. The size difference matters:

At nominal magnification (100%):

  • EAN-13: 37.29mm wide × 25.93mm tall (including quiet zones and human-readable digits)
  • EAN-8: 26.73mm wide × 21.64mm tall

At minimum allowed magnification (80%):

  • EAN-13: 29.83mm wide × 20.74mm tall
  • EAN-8: 21.38mm wide × 17.31mm tall

That 8.5mm width reduction at minimum size is significant on a lipstick tube, a single-serve yogurt cup, a chewing gum pack, or a small cosmetics container. If 30mm of flat, printable surface isn't available, EAN-13 doesn't fit and EAN-8 is the answer.

When EAN-13 Fits (Almost Always)

The minimum EAN-13 at 80% magnification is about 30mm × 21mm. That fits on:

  • Any standard retail box or bag
  • Most bottles and jars (on the flat label area)
  • Blister packs and card-backed packaging
  • Books and media
  • Canned goods

If your packaging has 30mm of available flat width, use EAN-13. Don't use EAN-8 by choice — it's harder to obtain and provides less product identification data.

When You Need EAN-8

GS1 guidelines say EAN-8 is appropriate when total packaging surface area is under 80cm² or the available width for a barcode is under 25mm. Typical products:

  • Lip balm and lipstick tubes
  • Individual candy bars and chewing gum
  • Small cosmetic items (mascara, sample sizes)
  • Single-portion condiment packets
  • Small batteries
  • Individual tea bags or sachets (when individually sold)

Number Structure Differences

EAN-13 Number Anatomy

  [GS1 Prefix]  [Company Prefix]  [Product Code]  [Check]
      3 digits     4-8 digits       1-5 digits      1 digit
  Example:  590  +  12345  +  00012  +  8

Your GS1 Company Prefix identifies your company. You assign product codes within your prefix. One prefix covers all your products — 10, 100, or thousands depending on the prefix length you purchased.

EAN-8 Number Anatomy

  [GS1 Prefix]  [Item Reference]  [Check]
     2-3 digits     4-5 digits      1 digit
  Example:  50  +  12345  +  7

There's no company prefix. Each EAN-8 number is allocated individually by your GS1 organization. The number doesn't identify your company — it only identifies the specific product. This means:

  • You can't assign new EAN-8 numbers yourself
  • Each new product requires a new allocation from GS1
  • There's no inherent link between your EAN-13 and EAN-8 numbers

What This Means in Practice

If you have 50 products and 3 of them are too small for EAN-13:

  • Register a GS1 Company Prefix → assign EAN-13 numbers to 47 products
  • Apply separately for 3 individual EAN-8 allocations
  • Your systems need to handle both number types

Encoding Differences

Both formats use the same bar/space encoding concepts, but with different structures:

EAN-13 Encoding

EAN-13 uses an elegant trick: the first digit isn't encoded in bars at all. Instead, it's embedded in the parity pattern used to encode digits 2-7. The left half uses two encoding sets (L and G patterns) whose combination determines the first digit. The right half uses R patterns.

This is why EAN-13 barcodes look like they only have 12 digits in the bar pattern — the 13th digit (the leading country code digit) is encoded as a parity selection.

EAN-8 Encoding

EAN-8 is simpler. All 8 digits are encoded directly in bars:

  • First 4 digits: L encoding (left half)
  • Last 4 digits: R encoding (right half)

No parity tricks. The entire number is explicit in the bar pattern.

Scanner Implications

Scanners distinguish EAN-13 from EAN-8 by the total number of modules:

  • EAN-13: 95 modules wide
  • EAN-8: 67 modules wide

Recognition is instant and automatic. Both formats use the same guard bar patterns (101 for start/end, 01010 for center), so the scanner identifies the format by width before decoding begins.

Registration and Cost

AspectEAN-13EAN-8
How you get itRegister for a GS1 Company PrefixApply individually to your GS1 organization
Cost (GS1 US)$250+ for prefix covering 10+ productsVaries; allocated individually
Self-serviceYes — assign your own product codes within your prefixNo — each number is allocated by GS1
Speed1-2 business days for prefix, then assign numbers immediatelyMay take days to weeks depending on GS1 organization
ScalabilityOne prefix covers many productsEach product requires separate allocation

For GS1 registration details, see our guide on how to get a barcode for your product.

Conversion and Compatibility

EAN-8 to EAN-13 Conversion

EAN-8 numbers can be expressed as 13-digit GTINs by padding with leading zeros:

EAN-8As 13-digit GTIN
501234570000050123457

This 13-digit representation is used in databases and supply chain systems that standardize on the 14-digit GTIN format (padded to 14 digits with one more leading zero). The physical barcode remains EAN-8.

Scanning Interoperability

Both formats are read by every retail scanner worldwide. The scanner output may differ by configuration:

  • Some scanners output EAN-8 as 8 digits, EAN-13 as 13 digits
  • Some scanners zero-pad EAN-8 to 13 digits automatically
  • POS systems typically handle both formats — check your system's documentation

Printing and Placement

EAN-13 Placement Rules

  • Place on the back of the package, lower right quadrant preferred
  • Bars should run parallel to the package base (ladder orientation) on cylindrical packages to prevent scanning over the curvature
  • Maintain quiet zones: at least 3.63mm on each side at nominal magnification

EAN-8 Placement Rules

Same rules as EAN-13, with one practical difference: EAN-8 barcodes are often placed on the narrowest available flat surface, sometimes on the bottom of very small products. Because the barcode is smaller, placement on curved surfaces is more forgiving — but a flat surface is always better for scanning reliability.

For print quality standards, see our barcode quality verification guide.

Decision Flowchart

  1. Is your packaging surface area under 80cm²?

    • No → Use EAN-13
    • Yes → Continue
  2. Is the available flat width for a barcode under 25mm?

    • No → EAN-13 at 80% magnification may still fit. Measure carefully
    • Yes → EAN-8 is appropriate
  3. Apply for EAN-8 allocation from your GS1 organization

In practice, fewer than 5% of retail products use EAN-8. If you're unsure, start with EAN-13. Your GS1 organization can advise if EAN-8 is justified for specific products.

Generate Your Barcodes

Create barcodes in either format with our free generators:

Download as SVG for packaging design, PNG for label printing, or PDF for print shop submissions.

8 min read

Frequently Asked Questions

When should I use EAN-8 instead of EAN-13?
Use EAN-8 only when your product packaging is too small for an EAN-13 barcode — typically products under 80cm² total surface area or packaging narrower than 40mm. EAN-8 requires a separate application to your GS1 organization and is granted on a case-by-case basis. EAN-13 is the default for all retail products.
Can a scanner read both EAN-13 and EAN-8?
Yes. Every retail barcode scanner reads both formats automatically. The scanner identifies the format from the start/stop patterns and guard bars. No configuration is needed to switch between reading EAN-13 and EAN-8 barcodes.
Is EAN-8 just a shorter version of EAN-13?
In concept yes, but structurally they're different. EAN-8 isn't a truncated EAN-13 — it has its own number structure assigned by GS1. An EAN-8 number cannot be derived from an EAN-13 number for the same product. They're independent identifiers.
How do I get an EAN-8 number?
You must apply to your local GS1 organization specifically for EAN-8 numbers. They're allocated individually (not through a company prefix like EAN-13) and only granted when you demonstrate that your packaging is too small for EAN-13. Not all GS1 organizations handle this the same way — check with yours.
Can I use EAN-8 to save money on GS1 registration?
No. EAN-8 numbers are allocated individually and often cost more per barcode than EAN-13 numbers obtained through a company prefix. EAN-8 exists purely for small-packaging situations, not as a budget alternative.