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

The last digit, 3, is right.

UPC-A barcode reading 423456789013423456789013423456789013
The Bars, Enlarged

UPC-A 423456789013

Number the digits from the right. Odd positions count three times. Even positions count once. The check completes a ten.

Check digit sum for 423456789013
CharacterValueWeightProduct
44312
2212
3339
4414
55315
6616
77321
8818
99327
0010
1133

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.