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 Digit | Description |
|---|---|
| 5 | $ US |
| 6 | $ Canada |
| 4 | $ New Zealand |
| 3 | $ Australia |
| 0 & 1 | British pounds |
ISBN Encoding – Country and Currency Values Description
| Value | Definition |
|---|---|
| 50000 | NACS Trade |
| 59999 | Price for $100 and more |
| 90000 | NACS New |
| 90000-98999 | For internal purposes (BISG recommend 90000 if no price is given) |
| 99000-99989 | Reserved for the industry market |
| 99990-99999 | Reserved for National Association of College Stores (NACS) |
| 99990 | NACS used |
| 99991 | NACS 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.
| Digit | L-code | G-code |
|---|---|---|
| <templatestyles src="Mono/styles.css" />0 | <templatestyles src="Mono/styles.css" />0001101 | <templatestyles src="Mono/styles.css" />0100111 |
| <templatestyles src="Mono/styles.css" />1 | <templatestyles src="Mono/styles.css" />0011001 | <templatestyles src="Mono/styles.css" />0110011 |
| <templatestyles src="Mono/styles.css" />2 | <templatestyles src="Mono/styles.css" />0010011 | <templatestyles src="Mono/styles.css" />0011011 |
| <templatestyles src="Mono/styles.css" />3 | <templatestyles src="Mono/styles.css" />0111101 | <templatestyles src="Mono/styles.css" />0100001 |
| <templatestyles src="Mono/styles.css" />4 | <templatestyles src="Mono/styles.css" />0100011 | <templatestyles src="Mono/styles.css" />0011101 |
| <templatestyles src="Mono/styles.css" />5 | <templatestyles src="Mono/styles.css" />0110001 | <templatestyles src="Mono/styles.css" />0111001 |
| <templatestyles src="Mono/styles.css" />6 | <templatestyles src="Mono/styles.css" />0101111 | <templatestyles src="Mono/styles.css" />0000101 |
| <templatestyles src="Mono/styles.css" />7 | <templatestyles src="Mono/styles.css" />0111011 | <templatestyles src="Mono/styles.css" />0010001 |
| <templatestyles src="Mono/styles.css" />8 | <templatestyles src="Mono/styles.css" />0110111 | <templatestyles src="Mono/styles.css" />0001001 |
| <templatestyles src="Mono/styles.css" />9 | <templatestyles src="Mono/styles.css" />0001011 | <templatestyles src="Mono/styles.css" />0010111 |
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.
| Checksum | Structure |
|---|---|
| <templatestyles src="Mono/styles.css" />0 | <templatestyles src="Mono/styles.css" />GGLLL |
| <templatestyles src="Mono/styles.css" />1 | <templatestyles src="Mono/styles.css" />GLGLL |
| <templatestyles src="Mono/styles.css" />2 | <templatestyles src="Mono/styles.css" />GLLGL |
| <templatestyles src="Mono/styles.css" />3 | <templatestyles src="Mono/styles.css" />GLLLG |
| <templatestyles src="Mono/styles.css" />4 | <templatestyles src="Mono/styles.css" />LGGLL |
| <templatestyles src="Mono/styles.css" />5 | <templatestyles src="Mono/styles.css" />LLGGL |
| <templatestyles src="Mono/styles.css" />6 | <templatestyles src="Mono/styles.css" />LLLGG |
| <templatestyles src="Mono/styles.css" />7 | <templatestyles src="Mono/styles.css" />LGLGL |
| <templatestyles src="Mono/styles.css" />8 | <templatestyles src="Mono/styles.css" />LGLLG |
| <templatestyles src="Mono/styles.css" />9 | <templatestyles src="Mono/styles.css" />LLGLG |
| Start | 5 (G) | Separator | 2 (L) | Separator | 4 (G) | Separator | 9 (L) | Separator | 5 (L) |
|---|---|---|---|---|---|---|---|---|---|
| <templatestyles src="Mono/styles.css" />01011 | <templatestyles src="Mono/styles.css" />0111001 | <templatestyles src="Mono/styles.css" />01 | <templatestyles src="Mono/styles.css" />0010011 | <templatestyles src="Mono/styles.css" />01 | <templatestyles src="Mono/styles.css" />0011101 | <templatestyles src="Mono/styles.css" />01 | <templatestyles src="Mono/styles.css" />0001011 | <templatestyles src="Mono/styles.css" />01 | <templatestyles src="Mono/styles.css" />0110001 |
References
- NACS Codes
- Barcode Reference - Section 6.1.46.2
- Barcode Writer - The basis for the barcode structure
- U.P.C. Symbol Specification Manual - Appendix D - Two-Character and Five-Character to UPC symbol.