|
For generating check digits in bulk, check out this bulk check digit calculator.
The calculation method of UPC-A is described in
this article. Suppose you want to
find the check digit of UPC-A number 72641217542.
Step One: From the right to the left, start with odd
position, assign the odd/even position to each digit.

Step Two: Sum all digits in odd position and multiply the result by
3. (7+6+1+1+5+2)*3=66
Step Three: Sum all digits in even position.
(2+4+2+7+4)=19
Step Four: Sum the results of step three and four:
66+19=85
Step Five: Divide the result of step four by 10. The check
digit is the number which adds the remainder to 10. In our case,
divide 85 by 10 we get the remainder 5. The check digit then is the result
of 10-5=5.
For more information about EAN13 and its application, read this
article. The check digit calculation is very similar to UPC-A. Suppose you
want to get the check digit for EAN13 number 101742256780.
Step One: From the right to left, start with odd position, assign
the odd/even position to each digit.

Step Two: Sum all digits in odd position and multiply the result by
3. (0+7+2+5+7+0)*3=63
Step Three: Sum all digits in even position.
(1+1+4+2+6+8)=22
Step Four: Sum the results of step three and four:
63+22=85
Step Five: Divide the result of step four by 10. The check
digit is the number which adds the remainder to 10. In our case,
divide 85 by 10 we get the remainder 5. The check digit then is the result
of 10-5=5.
The check digit calculation uses the standard method. Suppose you want to
calculate the check digit for ID number 9101456790226.
Step One: From the right to left, start with odd position, assign
the odd/even position to each digit.
|
Index |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
|
Digit |
9 |
1 |
0 |
1 |
4 |
5 |
6 |
7 |
9 |
0 |
2 |
2 |
6 |
|
Position |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
Step Two: Sum all digits in odd position and multiply the result by
3. (9+0+4+6+9+2+6)*3=108
Step Three: Sum all digits in even position.
(1+1+5+7+0+2)=16
Step Four: Sum the results of step three and four:
108+16=124
Step Five: Divide the result of step four by 10. The check
digit is the number which adds the remainder to 10. In our case,
divide 124 by 10 we get the remainder 4. The check digit then is the result
of 10-4=6.
The check digit calculation uses the standard method. Suppose you want to
calculate the check digit for ID number 10614141192837465.
Step One: From the right to left, start with odd position, assign
the odd/even position to each digit.
|
Index |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
|
Digit |
1 |
0 |
6 |
1 |
4 |
1 |
4 |
1 |
1 |
9 |
2 |
8 |
3 |
7 |
4 |
6 |
5 |
|
Position |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
Step Two: Sum all digits in odd position and multiply the result by
3. (1+6+4+4+1+2+3+4+5)*3=90
Step Three: Sum all digits in even position.
(0+1+1+1+9+8+7+6)=33
Step Four: Sum the results of step three and four:
90+33=123
Step Five: Divide the result of step four by 10. The check
digit is the number which adds the remainder to 10. In our case,
divide 123 by 10 we get the remainder 3. The check digit then is the result
of 10-3=7.
The check digit calculation uses the standard method. Suppose you want to
calculate the check digit for ID number 4321012.How is how it works:
Step One: From the right to left, start with odd position, assign
the odd/even position to each digit.
|
Index |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
|
Digit |
4 |
3 |
2 |
1 |
0 |
1 |
2 |
|
Position |
odd |
even |
odd |
even |
odd |
even |
odd |
Step Two: Sum all digits in odd position and multiply the result by
3. (4+2+0+2)*3=24
Step Three: Sum all digits in even position.
(3+1+1)=5
Step Four: Sum the results of step three and four:
24+5=29
Step Five : Divide the result of step four by 10. The
check digit is the number which adds the remainder to 10. In our case,
divide 29 by 10 we get the remainder 9. The check digit then is the result
of 10-9=1.
Detailed information about ISBN can be found in this article. Suppose you
want to calculate the check digit for ISBN number 0-201-35341. How is how it
works:
Step One: Arrange the 9-digit ISBN number in a table. Starting
from the left, fill in the weight row with number from 10 to 2.
|
index |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
digit |
0 |
2 |
0 |
1 |
3 |
5 |
3 |
4 |
1 |
|
weight |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
Step Two: Multiply each digit with its weight and sum the results
of multiplication.
0*10+2*9+0*8+1*7+3*6+5*5+3*4+4*3+1*2=94
Step Three: Divide the sum by modulus 11 and get the remainder:
94 mod 11=6
Step Four: The check digit is the number that adds
the remainder to 11. If the result 10, we use character X instead. In
our case, since our remainder is 6, we get 5 as check digit.
Step Five: Generate the complete ISBN in hyphens:
0-201-35341-5.
|