How the check digit is calculated
- Starting from the right-hand digit, multiply digits alternately by 3 and 1.
- Add up the results.
- The check digit is the number you need to add to reach the next multiple of 10. If the sum is already a multiple of 10, the check digit is 0.
Example: for 03600029145, the weighted sum is 58, so the check digit is 2 and the full UPC is 036000291452.
Frequently asked questions
What is a check digit?
The last digit of a UPC, EAN or GTIN. It's calculated from the other digits so a scanner can tell if a number was misread or mistyped.
Does this work for SSCC and GTIN-14?
Yes. GS1 uses the same method for GTIN-8, GTIN-12 (UPC), GTIN-13 (EAN), GTIN-14 and SSCC-18. Enter the digits without the check digit.
More free barcode tools
UPC-A generator12-digit retail barcodes for the US and Canada
EAN-13 generator13-digit retail barcodes used worldwide
Code 128 generatorLetters and numbers for inventory and shipping
Bulk generatorMake hundreds at once, print or download a ZIP
Check digit calculatorFind the last digit of a UPC, EAN or GTIN
Which barcode do I need?Plain-English guide to every type