How the check digit is worked out

GS1 uses the same steps for every GTIN length. For the UPC 036000291452, the check digit is the final 2:

  1. Starting from the digit next to the check digit and moving left, multiply the digits by 3, 1, 3, 1 and so on.
  2. Add the results. Here that makes 58.
  3. The check digit is what brings the total up to the next multiple of 10. 60 minus 58 is 2.

What a correct digit does not tell you

It does not prove a number is licensed to you or registered to a product. Numbers from GS1 are the ones retailers and marketplaces accept. See how to get UPC codes for Shopify and EAN vs GTIN vs UPC.

Sources: GS1 UK on check digits, Google Merchant Center on GTINs.

Frequently asked questions

What is a check digit?

The last digit of a UPC, EAN or GTIN. It is worked out from the other digits, so a scanner can spot a misread or a typing mistake.

Does a correct check digit mean the barcode is real?

No. It only proves the number is well formed. It does not show who owns the number or which product it belongs to. To sell in retail stores, the company prefix in the number must be licensed to you by GS1.

Why is 1234567890123 wrong?

Its last digit should be 8. The valid form is 1234567890128. People often make up example numbers by counting. Such a number has the right last digit only about one time in ten.

Is a 12-digit number a UPC?

Usually it is a full 12-digit UPC-A, so the calculator checks it as one. It also shows the digit you would need if you meant the first 12 digits of an EAN-13.

What happens if my check digit is wrong in Google Merchant Center?

Google asks that the check digit is present and correct, and says incorrect or missing GTINs may limit a product's visibility. When in doubt, Google advises not providing a GTIN.