Calculate your check digit
All Global Trade Item Numbers (GTINs) and Global Location Numbers (GLNs) end with a computer-generated check digit.
This digit is the result of an algorithm (called the Modulo-10 algorithm) which uses the other numbers in the GTIN or GLN to ensure its correct composition.
What is a check digit?
When you look at My Numberbank you may think that the numbers are not in sequence. This is because the last digit is a check digit based on this calculation. The preceding digits are all in sequence.
As a benefit to your membership, there is a useful online check digit calculator which can be found here.
But if you want to understand how the check digit is calculated then take a look at our PDF, which will give you the step by step break down.
How to calculate your check digit manually
The following calculation can be used to create the check digit for all the GS1 Identification Keys that require them, including GTINs and GLNs.
Let’s take the GTIN 501234567890C as an example, where C is the check digit. This is how you calculate it:
- Starting with the right hand digit of the number, add all the alternate digit values
- Multiply the result of step 1 by 3
- Add up all the other remaining digits
- Add the result of step 2 to the result of step 3
- The check digit is the smallest number that must be added to this sum to reach a multiple of 10
So taking the above steps, to calculate GTIN 501234567890C:
- 0 + 8 + 6 + 4 + 2 + 0 = 20
- 20 x 3 = 60
- 9 + 7 + 5 + 3 + 1 + 5 = 30
- 60 + 30 = 90
- 90 + C = 90. There is no need to round up to a multiple of 10, so C = 0
- Therefore the complete GTIN is 5012345678900
Now let’s take GTIN 501234567421C, again where C is the check digit:
- 1 + 4 + 6 + 4 + 2 + 0 = 17
- 17 x 3 = 51
- 2 + 7 + 5 + 3 + 1 + 5 = 23
- 51 + 23 = 74
- 74 + C = 80. Therefore In this example C = 6
- Therefore the complete GTIN is 5012345674216
We’re always available to help so contact us if you’re still unsure about how check digits.