Check Digit Calculator
A check digit is the last digit, worked out from the others. Type your number to get it.
- On a Pack
- Type the first 11 digits
- On a Book
- Type the first 12 digits
- On a Carton
- Type the first 13 digits
The Calculator
UPC-A 423456789013
Number the digits from the right. Odd positions count three times. Even positions count once. The check completes a ten.
| Character | Value | Weight | Product |
|---|---|---|---|
| 4 | 4 | 3 | 12 |
| 2 | 2 | 1 | 2 |
| 3 | 3 | 3 | 9 |
| 4 | 4 | 1 | 4 |
| 5 | 5 | 3 | 15 |
| 6 | 6 | 1 | 6 |
| 7 | 7 | 3 | 21 |
| 8 | 8 | 1 | 8 |
| 9 | 9 | 3 | 27 |
| 0 | 0 | 1 | 0 |
| 1 | 1 | 3 | 3 |
The products add up to 107. The next number that divides by 10 is 110, so the last digit is 3
How the Sums Work
- Modulus 10
- UPC, EAN, ISBN-13 and ITF-14. Weights 3 and 1 alternate from the right, and the check fills up to ten.
- Modulus 11
- ISBN-10. Weights run from 10 down to 1, and X stands for a check of 10.
- Modulus 103
- Code 128. Each value is multiplied by its position, and the remainder is the check character.
- Modulus 43
- Code 39, when both sides agree to use it. The values are added with no weights.
Make the Barcode
Frequently Asked Questions
Why Does a Barcode Have a Check Digit?
So a reader can tell a misread from a good read. If one digit is wrong, the sum no longer comes out.
Does a Check Digit Catch Every Mistake?
It catches any single wrong digit in a UPC or EAN. Some swaps of neighboring digits pass, such as 1 and 6.
What If My Check Digit Is Wrong?
Type the code with the digit you have. The calculator names the correct one.