EAN & GTIN check digit calculator

Enter the digits without the last one. You see the check digit straight away, and how it was calculated.

Enter 7, 11, 12 or 13 digits.

This tool only checks the format and check digit. To see which company a code is registered to at GS1, use Verified by GS1.

How does the check digit work?

The last digit of every EAN is a check digit. It lets a scanner or webshop see at once whether a code was typed correctly. The calculation is the same for every GTIN length:

  1. Start on the right. Multiply the first digit by 3, the next by 1, then by 3 again, and so on.
  2. Add up all the results.
  3. The check digit is the number you need to reach the next multiple of ten. If the sum already is a multiple of ten, it is 0.

Example: for 501234567890 the sum is 90, which is already a multiple of ten, so the check digit is 0 and the full code is 5012345678900.

What does a correct check digit prove?

Only that the code is built correctly. It says nothing about who uses the code or whether it already belongs to another product. Making up codes with a valid check digit is therefore a bad idea: marketplaces refuse codes that already exist.

FAQ

Can I create my own EAN code with this tool?

You can calculate the check digit, but a made-up number may already belong to another product. Use codes issued to you, by GS1 or by a seller such as EANHub.

Does this work for UPC and GTIN-14 too?

Yes. Enter 11 digits for a UPC-A, 12 for an EAN-13, 7 for an EAN-8 or 13 for a GTIN-14.

Why is my code refused when the check digit is correct?

Platforms check more than the check digit, for example whether the code already belongs to another product or is registered to a brand in the GS1 database.