UPC-E Checksum Calculation
Use the sample data of 123456 to demonstrate the
1.The 6 digit
| If the code | Insertion digits | Insertion | 10 digit code | ||
| ends in: |
|
| Position |
|
|
| 0 | abcde0 | 0 0 0 0 0 | 3 | ab 0 0 0 0 0 cde |
|
| 1 | abcde1 | 1 0 0 0 0 | 3 | ab1 0 0 0 0 cde |
|
| 2 | abcde2 | 2 0 0 0 0 | 3 | ab2 0 0 0 0 cde |
|
| 3 | abcde3 | 0 0 0 0 0 | 4 | abc0 0 0 0 0 de |
|
| 4 | abcde4 | 0 0 0 0 0 | 5 | abcd 0 0 0 0 0 e |
|
| 5 | abcde5 | 0 0 0 0 | 6 | abcde 0 0 0 0 5 |
|
| 6 | abcde6 | 0 0 0 0 | 6 | abcde 0 0 0 0 6 |
|
| 7 | abcde7 | 0 0 0 0 | 6 | abcde 0 0 0 0 7 |
|
| 8 | abcde8 | 0 0 0 0 | 6 | abcde 0 0 0 0 8 |
|
| 9 | abcde9 | 0 0 0 0 | 6 | abcde 0 0 0 0 9 |
|
Because the sample
1234500006
2.Add the Number System Character of 0 to the sample data:
01234500006
3.Use the
5
4.The complete 8 digit code consists of the Number System Character, the original 6 digit code and the check digit: