UPC check digit calculator
Work out or verify the last digit of any UPC, EAN, ITF-14/GTIN-14 or SSCC number, and step through exactly how it's calculated. Paste a whole column to fix them in bulk.
036000291452
- 0×30
- 3×13
- 6×318
- 0×10
- 0×30
- 0×10
- 2×36
- 9×19
- 1×33
- 4×14
- 5×315
The check digit is what you add to reach the next multiple of 10: 58 → 60, so the check digit is 2. When the sum is already a multiple of 10, it's 0.
Fix a whole column of numbers at once
Why barcodes carry a check digit
A retail scanner reads a UPC in a few milliseconds, often at an angle and through shrink-wrap. The check digit is a cheap self-test: if the digits it decoded don't add up, it beeps no and tries again instead of ringing up the wrong product.
The alternating ×3 weight is the clever part. With equal weights, swapping two neighbouring digits (the most common typing error) would leave the sum unchanged. Weighting one of them by 3 changes the total unless the two digits differ by exactly 5, so almost every swap is caught. GS1 publishes the method in its General Specifications, section 7.9.
Once your numbers check out, turn them into barcodes: UPC-A, EAN-13, EAN-8 or ITF-14. Each generator adds missing check digits and flags wrong ones for you.