UPC check digit calculator
Use this free UPC-A check digit calculator to generate or verify the final digit of a 12-digit UPC barcode. It uses the official GS1 modulo 10 method that retailers, marketplaces and point-of-sale systems use worldwide.
Computed check digit:
Full UPC-A:
Verification:
How UPC check digits work (GS1)
The UPC-A check digit helps detect common typing and scanning mistakes. The GS1 process is:
- Add digits in odd positions (1st, 3rd, 5th...) and multiply that subtotal by 3.
- Add digits in even positions (2nd, 4th, 6th...).
- Add both subtotals together.
- Find the amount needed to reach the next multiple of 10.
- That amount is the check digit.
What a valid UPC-A means
A passing check digit confirms the number is mathematically well-formed for UPC-A. This helps prevent common input errors in catalogs, shipping systems and POS workflows.
It does not prove brand ownership, product authenticity, or active registration status. Those checks depend on your product data source and GS1 licensing records.
If you keep getting invalid results, check the 11-digit base before you generate the final check digit. Enter it without spaces or extra characters.
Where UPC check-digit errors usually happen
- Copying a barcode from packaging where digits are partially obscured.
- Dropping leading zeros when moving data between spreadsheets and CSV files.
- Mixing UPC-A with EAN-13 formats without normalizing first.
- Entering the full 12-digit code when a platform asks for the 11-digit base.
Which product is this barcode?
Checking a sneaker or streetwear barcode? Look it up to see the product it belongs to. Free, no account.
Need this for a whole catalog? The barcode lookup API returns product, size and images for each code, with a 7-day free trial.
Learn more
How to calculate a UPC/EAN check digit by hand
Compute the modulo-10 check digit for any UPC-A or EAN-13 with a pen, paper, and one small rule.
UPC-A vs UPC-E: format, length & check digit
How UPC-E compresses a 12-digit UPC-A into 8 digits, and why they share a check digit.
Why your barcode check digit does not match: 7 causes
The seven reasons a UPC or EAN check digit fails validation, and how to fix each one.
UPC vs EAN vs GTIN: what is the difference
UPC is not an alternative to GTIN. A UPC-A barcode carries a 12-digit GTIN-12, so UPC is one member of the wider GTIN family.