EAN-13 Check Digit Calculator
Compute the EAN-13 check digit for the first 12 digits of a barcode and return the full 13-digit EAN.
How to Use the EAN-13 Check Digit Calculator
- Enter the first 12 digits of the barcode (no spaces).
- Leave off the 13th check digit — the calculator will derive it.
- Click Calculate to see the check digit and the full 13-digit code.
使用例
- •Generating product barcodes in an ERP.
- •Validating supplier catalogues.
- •Teaching GS1 fundamentals.
計算式
Multiply digits 1–12 alternately by 1 and 3, sum them, then check digit = (10 − sum mod 10) mod 10.
よくある質問
What is EAN-13?
EAN-13 is the International Article Number used by GS1 on retail packaging worldwide. The 13th digit is a modulo-10 check digit that guards against single-digit and most adjacent-digit transposition errors.
Does it work for UPC-A?
Yes — a UPC-A is an EAN-13 with a leading zero, so enter 11 UPC digits with a leading 0 and the algorithm is identical.
Why does my scanner reject it?
Often because of a typed-in digit error. Recompute with this calculator — if the check digit matches, the symbology is correct and the print quality is the issue.