GTIN · GLN · SSCC · GSIN · GSRN

GS1 Check Digit Calculator

Calculate or verify the check digit for GTIN-8, GTIN-12, GTIN-13, GTIN-14, GLN, SSCC, GSIN, and GSRN numbers using the official GS1 modulo 10 method.

GS1 & Digital Product Passport Generator
Generate GS1 Digital Link QR codes, 2D DataMatrix, 1D retail barcodes, or calculate check digits.
Calculate or verify a check digit
Enter the number without its last digit to calculate the check digit, or enter the full number to verify it.

Digits only. Spaces and hyphens are ignored.

The calculation runs in your browser. Nothing you enter is uploaded or stored.

Turn your GTIN into a GS1 Digital Link QR code

The GS1 algorithm

How the GS1 Check Digit Is Calculated

  1. Starting from the rightmost digit of the number without its check digit, multiply digits alternately by 3 and 1.
  2. Add all the results together.
  3. The check digit is the amount needed to reach the next multiple of 10. If the sum is already a multiple of 10, the check digit is 0.

For example, 950600013435 gives a sum of 78, so the check digit is 2 and the GTIN-13 is 9506000134352.

Supported numbers

GS1 Keys This Calculator Supports

GTIN-8, GTIN-12, GTIN-13, GTIN-14

Trade item numbers used in EAN, UPC, and ITF-14 barcodes and in GS1 Digital Link.

GLN

13-digit Global Location Number for companies, sites, and locations.

SSCC

18-digit Serial Shipping Container Code for pallets and logistics units.

GSIN and GSRN

17-digit shipment identification number and 18-digit service relation number.

Check Digit FAQs

Checked your GTIN? Put it to work.

Create a GS1 Digital Link QR code or a retail barcode from the same number.

Open the GS1 Barcode Generator