Canada SIN Format Validator
Validate the format of a Canadian SIN (Social Insurance Number) in the 3-3-3 digit pattern. Useful for forms, sign-ups and data validation in Canada.
Canadian SIN (Social Insurance Number): 9 digits with a Luhn check
The Social Insurance Number (SIN) is Canada's identifier for work and access to government programs and benefits, administered by Service Canada. The format is 9 digits, conventionally grouped as NNN-NNN-NNN, e.g. 123-456-789. Unlike the US SSN, the SIN does carry a check digit — the 9th digit validates the whole number via the Luhn (mod 10) algorithm.
The Luhn check works on the first 8 digits: double every second digit (positions 2,4,6,8), subtract 9 from any result over 9, add the untouched digits, and the 9th digit is what makes the total a multiple of 10. This is the same checksum used by credit cards, so a single typo or transposition is usually caught immediately.
What the first digit means
- The first digit historically indicated the province/region of registration (e.g.
1Atlantic provinces,2–3Quebec,4–5Ontario,6Prairies/Territories,7Pacific,8reserved). - A SIN starting with 9 is a temporary number issued to people who are not Canadian citizens or permanent residents (e.g. temporary workers/students). These carry an expiry date tied to immigration status.
- A SIN starting with 0 is never issued.
Common pitfalls
- Forgetting the Luhn check: a 9-digit string with a valid first digit can still fail the checksum — always run Luhn.
- Temporary SIN expiry: a 9-series SIN expires with the work permit; a valid format doesn't mean it's currently usable.
- Treating it as ID: Service Canada warns the SIN is not a piece of ID and should be shared only when legally required (employment, tax, benefits) to limit fraud.
FAQ
Does the SIN have a check digit? Yes — the 9th digit is a Luhn (mod 10) checksum over the first eight.
What does a SIN starting with 9 mean? It's a temporary SIN for non-residents, tied to immigration status and an expiry date.
Is a valid SIN proof it's registered? No. The Luhn check confirms it's well-formed; only Service Canada confirms it's assigned and active.
Related Tools
US SSN Format Validator
Validate the format of a US SSN (Social Security Number) in the 3-2-4 digit pattern. Useful for forms, sign-ups and data validation in the United States.
RG-MG Format Validator
Validate the format of a Minas Gerais RG ID (9 digits plus an alphanumeric check digit). Useful for checking documents in forms and sign-ups.
US EIN Format Validator
Validate the format of a US EIN (Employer Identification Number), in the XX-XXXXXXX pattern. Useful for companies, taxes and business records in the US.
BR CEP Format Validator
Validate Brazilian CEP format (8 digits, with or without hyphen).
EIA-96 Resistor Format Validator
Checks if a string follows the EIA-96 pattern (two digits from table 01-96 + multiplier letter A-Z). Reports specific error.
Bank Branch Validator
Validate the format of a Brazilian bank branch number (4 digits, with an optional check digit). Useful for sign-ups, bank slips and checking banking data.