Canada SIN Generator
Online Social Insurance Number (SIN / NAS) generator for Canadian payroll, taxation, and benefits testing.
Waiting for generation...
About the Canadian Social Insurance Number (SIN)
The Social Insurance Number (SIN) — in French Numéro d'assurance sociale (NAS) — is a 9-digit number required for anyone who works in Canada or receives government benefits (such as CPP/QPP and EI) and files income tax with the CRA.
The first digit indicates the province where the SIN was issued, or designates temporary resident status (prefix 9 for work permit holders or international students). The 9th digit is mathematically validated by the Luhn algorithm.
SIN Check Digit Calculation Algorithm
The 9th digit of the SIN is validated using the standard Luhn algorithm (Mod 10) applied to the first 8 digits:
Sum = Σ dᵢ × (if i even: 2, if i odd: 1) [with two-digit reduction]; Checksum = (10 - (Sum mod 10)) mod 10
- Check that the first digit is a valid regional prefix (1, 2, 3, 4, 5, 6, 7, or 9).
- Multiply the first 8 digits alternately by 1 and 2 from left to right (weights 1, 2, 1, 2, 1, 2, 1, 2).
- If any product is 10 or greater, add the individual digits of that product together (e.g. 8 × 2 = 16 → 1 + 6 = 7).
- Sum all resulting values together.
- The 9th check digit is the number required to round the sum up to the nearest multiple of 10.