Worked example 1
An ordering system uses 6-digit product codes. The 7th digit is a check digit calculated using the modulus-11 method with weights 7, 6, 5, 4, 3, 2. Calculate the check digit for the product code 830154.
Show solution outline
-
Multiply each digit by its corresponding weight: (8 × 7) + (3 × 6) + (0 × 5) + (1 × 4) + (5 × 3) + (4 × 2) = 56 + 18 + 0 + 4 + 15 + 8
-
Sum the results: Sum = 101
-
Find the remainder when the sum is divided by 11: 101 ÷ 11 = 9 remainder 2 Remainder = 2
-
Subtract the remainder from 11: Check value = 11 - 2 = 9
-
Determine the final check digit: If the result is 11, the check digit is 0. If the result is 10, the check digit is 'X'. Otherwise, the result is the check digit. Here, the result is 9.
The check digit is 9. The full product code would be 8301549.