The first eight numbers of a Canadian Social Insurance Number determine the value of the ninth digit. Here's how it works:
1) Multiply the first, third, fifth and seventh numbers by one.
2) Multiply the second, fourth, sixth and eighth numbers by two. If any of the 2nd, 4th, 6th or 8th numbers are greater than four, add the two digits of the multiplication product together.
3) Add the products of the eight adjusted multiplications.
4) Subtract the sum of 3) from a multiple of ten equal to, or next above, this sum. The result is the ninth digit of the SIN.
Here's an example, with a randomly chosen valid SIN:
4 0 9 7 3 5 6 8 [5]
X
1 2 1 2 1 2 1 2
----------------------
= 4 0 9 14 3 10 6 16
4+0+9+(1+4)+3+(1+0)+6+(1+6)=35
40-35=5
1) Multiply the first, third, fifth and seventh numbers by one.
2) Multiply the second, fourth, sixth and eighth numbers by two. If any of the 2nd, 4th, 6th or 8th numbers are greater than four, add the two digits of the multiplication product together.
3) Add the products of the eight adjusted multiplications.
4) Subtract the sum of 3) from a multiple of ten equal to, or next above, this sum. The result is the ninth digit of the SIN.
Here's an example, with a randomly chosen valid SIN:
4 0 9 7 3 5 6 8 [5]
X
1 2 1 2 1 2 1 2
----------------------
= 4 0 9 14 3 10 6 16
4+0+9+(1+4)+3+(1+0)+6+(1+6)=35
40-35=5