How Does the GS1 Modulo 10 Algorithm Work?
The Check Digit is the final digit of any GS1 identification key (such as GTIN-13, GTIN-14, or SSCC-18). It ensures that numbers captured by barcode scanners or entered manually have not suffered transpositions or clerical errors.
Multiplication Rules:
- Step 1: Starting from the digit immediately preceding the check digit (moving right to left), multiply alternate digits by 3 and 1.
- Step 2: Sum all partial products together.
- Step 3: Subtract this sum from the nearest equal or higher multiple of 10. The result is your check digit.
Mathematical Formula:
Check Digit = (10 - (Sum % 10)) % 10. If the remainder is 0, the check digit is 0.