How to use the GS1 Check Digit Calculator
- Pick the number type: GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14 or SSCC-18.
- Enter the digits without the check digit (7, 11, 12, 13 or 17 digits), or the full number (8, 12, 13, 14 or 18 digits).
- Read the check digit and the full number, and use the table to follow the sum.
- Copy the full number into your label, spreadsheet or barcode tool.
The calculation
Number the digits from the right, starting with the one next to the check digit. Multiply the first, third, fifth... by 3 and the others by 1, add the products, and the check digit is the amount needed to reach the next multiple of 10 (0 if the sum already is one). The same rule covers every GS1 length.
Worked example, GTIN-8 body 9638507: the weights from the left are 3, 1, 3, 1, 3, 1, 3, so 9x3 + 6x1 + 3x3 + 8x1 + 5x3 + 0x1 + 7x3 = 27 + 6 + 9 + 8 + 15 + 0 + 21 = 86. The next multiple of 10 is 90, so the check digit is 4 and the full number is 96385074.
Second example, UPC-A body 03600029145: the sum is 58, the next multiple of 10 is 60, so the check digit is 2 and the full number is 036000291452.
GTIN-8, GTIN-12, GTIN-13, GTIN-14 and SSCC
GTIN is the family name for product numbers: 8 digits (EAN-8), 12 digits (UPC-A), 13 digits (EAN-13) and 14 digits (cartons and cases, often printed as ITF-14 or GS1-128). The SSCC is a separate 18-digit number that identifies a logistics unit such as a pallet, with the same check digit rule.
A GTIN-12 becomes a GTIN-13 by putting a 0 in front, and the check digit stays the same. That is why the tool shows the GTIN-13 form of a UPC-A: 036000291452 is 0036000291452 as a GTIN-13.
What a check digit can and cannot do
It catches a single mistyped digit and most swaps of two neighbouring digits, so a scanner can reject a bad read. It does not tell you that the number is registered to you or that it belongs to a real product. A valid check digit only means the arithmetic is right.
Frequently asked questions
How many digits do I enter?
One fewer than the full number to calculate the check digit: 7 for GTIN-8, 11 for GTIN-12, 12 for GTIN-13, 13 for GTIN-14 and 17 for SSCC. Enter the full number to verify it.
Is the check digit the same for UPC-A and EAN-13?
Yes. A UPC-A is an EAN-13 with a leading 0, and the weighted sum gives the same check digit.
Does a valid check digit mean the product number is real?
No. It only proves the arithmetic. Product numbers are issued through GS1; this tool does not register anything.
Why does it say my number is invalid?
The last digit does not match the other digits. The message gives the digit it should be; check for a typo in the other digits first.
Sources
- GS1 US: Check Digit Calculator (as of November 2026)
- Wikipedia: Global Trade Item Number (as of November 2026)
- Wikipedia: Serial Shipping Container Code (as of November 2026)
Last reviewed