EAN-13

Overview

EAN-13 is the most commonly recognized barcode in Europe, used in supermarkets and other retail establishments for basic product identification. It is the European equivalent of the UPC-A barcode in the United States.

EAN-13 Barcode

Usage Scenarios

The EAN-13 barcode type is used to denote consumer products that pass through a checkout point, or point-of-sale. The UPC barcode is used only in the US and Canada, while the EAN is used everywhere else. This owes to a previous assumption that products made in the USA and Canada would only be sold within these borders. However, with the rise of globalisation, the UPC and EAN have become somewhat interchangeable.

Characteristics

Encoding Character Set

Thi type encodes numerical digits from 0 to 9 only.

Barcode Structure

EAN-13 barcodes store a total of 13 digits, as opposed to UPC-A codes, which store 12.

The value to encode by EAN-13 has the following structure:

  • 2 or 3 digits for Number System or Country Code
  • 5 or 4 digits for Manufacturer (Company) Code or prefix
  • 5 digits for Product Code
  • 1 check symbol

Size Dimensions

A basic EAN-13 barcode includes the right and left quiet zone is 37.29mm wide by 25.93mm high. According to GS1 Australia and retailer standards, such barcodes should be printed out in the range of 80-200% depending on the application. In retail POS, it should be 80% - 200% (X-dimension 0.26mm - 0.66mm). The allowance for X-dimensions between 0.249 mm and 0.26 mm is only applicable to on-demand (e.g., thermal, laser) print processes.

General distribution can range from 150% - 200% (X-dimension 0.50mm – 0.66mm) for automated scanning. The height and quiet zones depend on the X-dimension.

Encoding Capacity and Data Density

With four available printing widths for the bars and spaces instead of just two, EAN takes about half the number of bars and spaces relative to Interleaved 2 of 5 to represent each character. However, the use of the wider bars and spaces nullifies this space savings. Interleaved 2 of 5 codes pack data more densely than EAN does.

Checksum Controls

A check digit is calcuulated using on the modulo 10 algorithm.
Starting from the right the numbers are multiplied alternating with “3” and “1” and added up. The sum is integer divided by ten, the reminder (or modulo) is subtracted from ten which then yields the check digit.

Advantages and Limitations

EAN-13 is popular, widely applied and useful for general day to day retail transactions, since it can be read by any barcode reader. The check number also helps ensure accuracy when entering in the code by hand. It combines numbers together mathematically in a certain way to get a specific, one-digit outcome. If the check digit does not match that outcome, then the code has been entered incorrectly. The character limit on the EAN-13 barcode limits its potential uses. While it is applicable to general supermarket use, it cannot identify more complex items. This type has the following specifics:

  • Does not support attributes, e.g. use-by date and/or barcode identifiers
  • Used for items you want to sell at retail POS
  • Scanned by omni-directional scanners
  • Can be read right-side-up or upside-down, making the EAN-13 an efficient barcode for high-volume scanning in supermarkets
  • Can be used for both retail units (bottle of wine) and trade units (case of wine) sold in store
  • Recognised globally, thanks to GS1 standards

How to Generate and Read EAN-13 Barcodes

Generation Code Samples

Recognition Code Samples