1. Take the first 12 digits of the 13-digit ISBN
2. Multiply each number in turn, from left to right by a number. The first digit is multiplied by 1, the second by 3, the third by 1 gain, the fourth by 3 again, and so on to the eleventh which is multiplied by 1 and the twelfth by 3.
3. Add all of the 12 answers.
4. Do a modulo 10 division on the result from step 2. (It's just the remainder from a whole number division by 10.)
5. Take that remainder result from step 4.
6. If the remainders isn't zero then subtract the remainder from 10. The answer to that is your check digit.