*** Welcome to piglix ***

EAN 5


The EAN-5 is a supplement to the EAN-13 barcode used on books. It is used to give a suggestion for the price of the book.

ISBN Encoding – Country and Currency Values Description

The Encoding of EAN-5 characters is very similar to that of the other European Article Numbers. The only difference is that the digits are separated by 01. The EAN-5 always begins with '01011.' Also, the R-Code is not used.

The structure of the barcode is based on the checksum. In order to compute the checksum, multiply each of the digits by either 3 or 9, alternating each time. Then add them and then do a mod 10. So the checksum for 05415 MN is 1 based on the following calculations:

Once you have the checksum digit, you can look up the structure in the following table. Note that the checksum digit is not in the final 5 digits, and is not intended to validate the 5 digit data, but rather to validate the reading of the EAN-5 overall.


...
Wikipedia

...