How to calculate
For GS1 and ISBN-13, work right to left through the body digits using alternating weights of three and one. For ISBN-10, use descending weights from ten and express a check value of ten as X. A Luhn checksum doubles alternating digits and subtracts nine when the doubled value exceeds nine.
Worked example
Use Number format GS1 GTIN or SSCC · Operation Generate the check digit · Digits or complete number 03600029145. The result is 2.
Input and result notes
Keep any leading zeros. Spaces and hyphens are ignored. A passing check digit confirms the checksum rule. For Luhn exercises use sample numbers.
GS1 manual check digit calculation
International ISBN Agency user manual