How does the check digit work?
The last digit of every EAN is a check digit. It lets a scanner or webshop see at once whether a code was typed correctly. The calculation is the same for every GTIN length:
- Start on the right. Multiply the first digit by 3, the next by 1, then by 3 again, and so on.
- Add up all the results.
- The check digit is the number you need to reach the next multiple of ten. If the sum already is a multiple of ten, it is 0.
Example: for 501234567890 the sum is 90, which is already a multiple of ten, so the check digit is 0 and the full code is 5012345678900.
What does a correct check digit prove?
Only that the code is built correctly. It says nothing about who uses the code or whether it already belongs to another product. Making up codes with a valid check digit is therefore a bad idea: marketplaces refuse codes that already exist.