GTIN / UPC / EAN Check Digit Calculator

Catch typing mistakes in product numbers. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified
Digits only; spaces and hyphens are ignored.

How to use it

  1. Choose to calculate or verify.
  2. Type the code.
  3. Read the check digit or the verdict.

How it works

Starting from the digit next to the check digit and moving left, the digits are multiplied by 3, 1, 3, 1 and so on and added up. The check digit is the number that brings the sum to the next multiple of 10. Codes of 8, 12, 13 and 14 digits are GTIN-8 (EAN-8), GTIN-12 (UPC-A), GTIN-13 (EAN-13) and GTIN-14.

Examples

  • 400638133393 gets the check digit 1, making the EAN-13 4006381333931.

Limitations

  • A valid check digit shows a number is typed correctly; it does not show the code was issued. GTIN company prefixes are licensed by GS1, and marketplaces check codes against the GS1 registry.

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.