Free · No sign-up

EAN & UPC Check Digit Calculator

Calculate the final digit. See exactly how it works.

Your details

Your result

About this tool

Enter 12 digits for EAN-13, 7 for EAN-8 or 11 for UPC-A. The calculator alternates weights of 3 and 1 from the right-hand data digit, then finds the digit needed to reach a multiple of ten. It checks arithmetic only; it does not assign GS1 identifiers.

How it works

  1. Select the barcode format and enter its data digits without the final check digit.
  2. Review the weighted sum, remainder and calculated digit.
  3. Copy the full number, then generate a barcode and scan-test the final artwork.
Read guide ↗

Common questions

What input length should I use?

Use exactly 12, 7 or 11 digits for EAN-13, EAN-8 or UPC-A respectively. Keep leading zeroes.

What is the check digit formula?

From the rightmost data digit, multiply alternately by 3 and 1. The check digit is (10 − sum modulo 10) modulo 10.

Does this register an EAN number?

No. This calculates one digit. Product identifier assignment is separate from creating an image.