Skip to main content
Check Digit Calculator
GS1

GSIN Check Digit Calculator

Calculate the seventeenth digit of a Global Shipment Identification Number. See how the sixteen-digit payload receives GS1 weights.

Last updated:

GS1 & Retail Barcodes

Check shipment identification digits.

Length: 10 chars
Calculated Check Character / Checksum
--Ready
Complete Validated Sequence:
--
Arithmetic Steps & Mathematical Specification

Initialising algorithm engine for GSIN Check Digit Calculator...

How GSIN Check Digit Calculator Works?

The GSIN Check Digit Calculator works by weighting the 16 payload digits of a Global Shipment Identification Number (GSIN) 1-3-1-3 from left to right and appending the 17th digit.

  1. 1Combine the seller's GS1 company prefix with the shipper reference to reach 16 digits.
  2. 2Multiply the 8 odd-position shipment digits by 1 and the 8 even-position digits by 3.
  3. 3Total the 16 products and take (10 − (S mod 10)) mod 10 as digit 17.
  4. 4Encode the 17 digits with Application Identifier (402).

GSIN Check Digit Calculator Formula

The GSIN formula is d₁₇ = (10 − ((odd-position sum + 3 × even-position sum) mod 10)) mod 10.

S = (d₁ + d₃ + … + d₁₅) + 3 × (d₂ + d₄ + … + d₁₆)
d₁₇ = (10 − (S mod 10)) mod 10
  • d₁…d₁₆ are the 16 GSIN payload digits (seller's company prefix + shipper reference).
  • d₁₇ is the GSIN check digit.
  • S is the weighted GSIN sum.
Worked example: 0614141123456789
Payload:  0614141123456789
Weights:  1313131313131313
S = 140
Check digit = (10 − (140 mod 10)) mod 10 = 0
GSIN = (402) 06141411234567890

GSIN Check Digit Calculator Conversion Table

The GSIN conversion table lists sample shipment references with their completed GSINs.

ShipmentPayload (16 digits)Check digitGSIN
Export shipment A0614141123456789006141411234567890
Export shipment B0614141123456790606141411234567906
Domestic consignment9521234000000017495212340000000174
Multi-pallet order4012345000004321140123450000043211
Sample1234567890123456012345678901234560

What is GSIN Check Digit Calculator?

A GSIN Check Digit Calculator is a tool that completes the 17-digit Global Shipment Identification Number assigned by a seller to a group of logistic units shipped together.

The GSIN meets the World Customs Organization (WCO) requirements for a Unique Consignment Reference (UCR), so customs declarations can reference the same number as transport documents.

What are the uses of GSIN Check Digit Calculator?

There are 3 main uses of the GSIN Check Digit Calculator, including customs references, bills of lading, and shipment grouping.

  • Customs references: Exporters use GSINs as the UCR on declarations.
  • Bills of lading: Carriers print GSINs on transport documents.
  • Shipment grouping: Warehouses link 2 or more SSCCs to 1 GSIN.