Calculate a missing GS1 check digit or validate a complete EAN-8, UPC-A, EAN-13 or GTIN-14 number. Check one number or a whole list locally, then copy the results or download CSV.
1Input numbers
Enter 7, 11, 12 or 13 digits without the final check digit. Auto detection uses the digit count.
Up to 1,000 numbers. Spaces and hyphens are ignored; leading zeros are preserved.
Uses the first column · up to 1,000 numbers
2Review results
Calculate or validate UPC, EAN and GTIN check digits
A check digit is the final digit calculated from every preceding digit in a GTIN. It lets a scanner or software check whether a number was mistyped or misread. It carries no product, company or country information of its own.
Use Calculate when your number does not have its final digit. Use Validate when it already does. The separate modes avoid ambiguity: 12 digits can be either a complete UPC-A or an EAN-13 payload waiting for its final digit.
Standard
Digits to calculate
Digits to validate
Typical use
EAN-8 / GTIN-8
7
8
Small retail packages
UPC-A / GTIN-12
11
12
North American retail products
EAN-13 / GTIN-13
12
13
Retail products worldwide and ISBN-13
GTIN-14 / ITF-14
13
14
Cases, cartons and logistics units
How the GS1 Modulo-10 check digit is calculated
Start with the rightmost payload digit and move left, alternating weights of 3 and 1. Add the products. The check digit is the amount needed to reach the next multiple of ten; if the sum is already divisible by ten, the check digit is zero.
For the UPC-A payload 01234567890, the weighted sum is 85. The next multiple of ten is 90, so the check digit is 5 and the complete UPC-A is 012345678905.
QRacade shows the check digit, full number and optional digit-by-digit calculation. The arithmetic validates structure, not product registration.
For an existing number, validation removes the current final digit, repeats the calculation and compares the expected digit with the supplied one. A mismatch identifies the expected correction, but you should compare the entire identifier with its source before changing it.
GTINs are identifiers, not quantities. Spreadsheet software can remove leading zeros, display long identifiers in scientific notation or save a rounded value. Format the identifier column as Text before entering or importing product numbers.
This calculator preserves every leading zero in the values you provide. Spaces and hyphens are ignored for readability, but letters and other characters produce a row-level error instead of being silently deleted.
A valid check digit does not register or authenticate a product
A matching result proves only that the digits satisfy the GS1 Modulo-10 rule. It does not prove that a company prefix was licensed to you, that the identifier belongs to a particular product, or that a retailer will accept it.
Use identifiers assigned through your normal product-data process. For retail GTIN allocation and verification, consult the relevant GS1 member organization or the GS1 US check digit guidance.
Frequently asked questions
What is a barcode check digit?
A check digit is the final digit calculated from the preceding digits in a GTIN. It helps scanners and software detect a mistyped or misread number. It does not identify the product or prove that the number is registered.
How many digits should I enter?
To calculate, enter 7 digits for EAN-8, 11 for UPC-A, 12 for EAN-13 or 13 for GTIN-14. To validate, enter the complete 8, 12, 13 or 14-digit number respectively.
Does a valid check digit mean a barcode number is registered?
No. A valid check digit only means the number satisfies the GS1 Modulo-10 arithmetic rule. It does not prove GS1 allocation, product ownership, authenticity or retailer acceptance.
Why does my UPC or GTIN lose a leading zero in Excel?
Spreadsheet programs can treat identifiers as numbers and remove leading zeros or use scientific notation. Format the source column as Text before entering or importing GTINs, and compare the exported values with the source record.
Are my barcode numbers or CSV uploaded?
No. Calculations, validation and CSV creation run locally in your browser. Your numbers and CSV contents are not sent to QRacade.