Calculate or validate the check digit for EAN-13, UPC-A, EAN-8, and ITF-14 barcodes. Enter your digits - the tool detects the format automatically and shows the full Mod-10 calculation.
Need this in your own app? Generate and validate barcode numbers with check digits through the FJ TechTools API. Free key available. Explore the API →
A check digit calculator helps you find or verify the final digit of a barcode number.
Every GS1 barcode — including EAN-13, UPC-A, EAN-8, and ITF-14 — ends with a check digit. This digit is mathematically derived from the preceding digits using the Mod-10 algorithm, and its purpose is to catch scanning or data entry errors.
This tool works in two modes: calculate the missing check digit from a base number, or validate whether the check digit on an existing barcode is correct.
To learn more about how the EAN-13 Check Digit Works, see our detailed guide.
The tool automatically switches mode based on how many digits you enter:
This tool supports all GS1 barcode formats that use the Mod-10 check digit algorithm:
Note: Code128 and Code39 do not use a user-facing check digit and are not applicable here. Use the Barcode Analyzer for those formats.
The check digit is calculated using the GS1 Mod-10 (modulo 10) algorithm:
This tool shows the full step-by-step breakdown so you can verify the calculation yourself.