EAN-5


The EAN-5 is a 5-digit European Article Number code, and is a supplement to the EAN-13 barcode used on books. It is used to give a suggestion for the price of the book.
First DigitDescription
5$ US
6$ Canada
4$ New Zealand
3$ Australia
0 & 1British pounds

ISBN Encoding – Country and Currency Values Description
ValueDefinition
50000NACS Trade
59999Price for $100 and more
90000NACS New
90000-98999For internal purposes
99000-99989Reserved for the industry market
99990-99999Reserved for National Association of College Stores
99990NACS used
99991NACS copies

Encoding

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.
DigitL-codeG-code
000011010100111
100110010110011
200100110011011
301111010100001
401000110011101
501100010111001
601011110000101
701110110010001
801101110001001
900010110010111

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:

0*3=0
5*9=45
4*3=12
1*9=9
5*3=15
----------
81 % 10 = 1
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.
ChecksumStructure
0GGLLL
1GLGLL
2GLLGL
3GLLLG
4LGGLL
5LLGGL
6LLLGG
7LGLGL
8LGLLG
9LLGLG

Start5 Separator2 Separator4 Separator9 Separator5
010110111001010010011010011101010001011010110001