IdentityHub: Crafting Safe Online Personas

SIN Validation Information

April 14th, 2016

Validate and learn how the validation works for the Canadian Social Insurance Number.

SIN Attributes

Validation Info

318-502-242
SIN was throughly checked over and it appears to be valid.
9
Valid in Quebec
318 502 242
SIN has a valid checksum.
2

About the SIN number?

The Social Insurance Number (SIN) number originally created by the government of Canada to track and administer CPP, which was later taken over by the Canadian Revenue Agency (CRA) as a way to track an individuals reporting of taxes.

In the numbers

The first digit of a SIN usually identifies the province in which it was registered, as listed below. However, the government has found it necessary in the past to supply certain regions with SIN numbers assigned to other regions.

  • 1 - Atlantic Provinces (Nova Scotia, New Brunswick, Prince Edward Island, and Newfoundland and Labrador this may also cover overseas residents).
  • 2-3 - Québec
  • 4-5 - Ontario (#4 includes overseas forces)
  • 6 - Prairie Provinces (Manitoba, Saskatchewan, and Alberta), Northwest Territories, and Nunavut
  • 7 - Pacific Region (British Columbia and Yukon)
  • 8 - Not used
  • 9 - Temporary resident
  • 0 - Not used (Canada Revenue may assign fictitious SIN numbers beginning with zero to taxpayers who do not have SINs)

Luhn's Proof

Interactive example of how we did the validation above using Luhn formula.

3
3
3
1
2
2
8
8
8
5
10 (1+0)
1
0
0
0
2
4
4
2
2
2
4
8
8
x
x
= 28

The check digit (x) is obtained by computing the sum of digits then computing 9 times that value modulo 10 (so that is: (28 * 9 mod 10)).

In summary:

  1. Compute the sum of the digits (28).
  2. Multiply by 9 (252).
  3. Take the last digit (2).
  4. The result is your check digit.

Testimonials

"Unparalleled tool for data privacy! IdentityHub has revolutionized our testing process by eliminating the need to obscure live user data. In just minutes, we can generate thousands of realistic profiles. This not only saves us time but also ensures the utmost security for our user data."

J. Peachey, Brandywine Springs, DE

"IdentityHub is a game-changer! When the task was to create a substantial amount of test data, IdentityHub was the perfect solution. It generates high-quality, realistic user data, which greatly enhances our testing capabilities. A must-have tool for all testers."

U. Strandberg, Carbondale, WV

"Discovering this site has been a revelation. Its user profile generators are now an indispensable part of our workflow. They offer rapid, accurate generation of alternative data, making my job easier and more efficient. An invaluable asset for anyone seeking to protect their data while maintaining online activities."

S. Rosario, Maryland