DevToolCase
Sign in Sign in

Check GS1 check digits

Check a list of GTIN (EAN, UPC), GLN or SSCC numbers, one per line; compute a missing check digit in the other tab.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

A GTIN-13 and a GLN both have 13 digits and the same check digit: only the context tells them apart. The check digit catches typing mistakes; it does not tell whether the number is actually assigned.

Runs entirely in your browser: nothing you type is sent or stored.

What is a GS1 check digit?

Every GS1 number ends with a check digit computed from the others: the GTIN of products (EAN, UPC), the GLN of locations and companies, the SSCC of pallets and cartons. A typing or reading mistake changes it, so a wrong number is caught before it reaches an order or an invoice.

Which number, how many digits?

NumberDigits
GTIN-8 (EAN-8)8
GTIN-12 (UPC-A)12
GTIN-13 (EAN-13), GLN13
GTIN-14 (cartons)14
SSCC (logistic units)18

How it is computed

Without the check digit, from right to left, the digits are multiplied by 3 and 1 in turn and added up; the check digit brings the sum to the next multiple of ten. For 400638133393 the sum is 89, so the check digit is 1, giving 4006381333931.

Numbers without their check digit? Compute it.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.