Reference · Identifiers

Canadian ID number formats cheat sheet.

One table for the shape of the identifiers developers, bookkeepers and form builders handle most: what each looks like, whether it carries a check digit, and who defines it.

Advertisement

Identifier formats at a glance

A format or checksum match shows only that a value is well-formed. It never shows that the number was issued or belongs to anyone.

Layouts and check-digit rules for common Canadian identifiers.
IdentifierLayoutCheck digitWorked example (not a real person)
Social Insurance Number (SIN)9 digits, shown 123-456-789. A SIN starting with 9 is a temporary SIN.Luhn mod 10 over all 9 digits046 454 286: weighted digit total is 50, divisible by 10, so it passes
CRA Business Number (BN)9-digit root. With a program account: 9 digits + 2 letters + 4 digits (15 characters)None published by the CRA for the 9-digit root123456789RT0001: root 123456789, RT = GST/HST, 0001 = first account
Ontario health card number10 digits (printed 1234-567-890) plus a 1 or 2 letter version codeLuhn mod 10 over the 10 digits; the version code is not part of it9876543217: passes (Ministry specification example)
BC Personal Health Number (PHN)10 digits, first digit always 9, shown 4-3-3Mod 11, weights 2, 4, 8, 5, 10, 9, 7, 3 on digits 2 to 99698658215: remainders sum to 39, 39 mod 11 = 6, 11 − 6 = 5 = last digit
Postal codeANA NAN: six characters, letter-digit-letter then digit-letter-digitNoneM2T 1A1: M = Metropolitan Toronto, 2 = urban (digit 1 to 9)
Telephone number+1, then 10 digits: NPA-NXX-XXXX. First digit of area code and exchange is 2 to 9None+1 416 555 0123

BN program identifiers

The two letters in a 15-character Business Number name the CRA program account: RT GST/HST, RP payroll deductions, RC corporation income tax, RM import/export, RR registered charity, RZ information returns. The last four digits number the account within that program.

Postal code first letter

The first character of the forward sortation area (FSA) identifies one of 18 geographic areas. A second character of 0 marks a rural postal code; 1 to 9 marks an urban one.

First character of the FSA for each geographic area.
First letterGeographic area (Canada Post)
ANewfoundland and Labrador
BNova Scotia
CPrince Edward Island
ENew Brunswick
GEastern Quebec
HMetropolitan Montreal
JWestern Quebec
KEastern Ontario
LCentral Ontario
MMetropolitan Toronto
NSouthwestern Ontario
PNorthern Ontario
RManitoba
SSaskatchewan
TAlberta
VBritish Columbia
XNorthwest Territories / Nunavut
YYukon

Why the BN has no checksum here

Unlike a SIN or a health card number, the 9-digit BN root is an assigned number. A program account is valid because the CRA registered it, which only the CRA can confirm.

Sources

Every figure above is copied from the primary source linked here. Check the source before relying on a number for a filing, a payroll run or a legal decision; governments revise these tables.

Cite this page

You are welcome to quote or link this table. A suggested citation:

TNAADO Tools. "Canadian ID Number Formats Cheat Sheet." tools.tnaado.ca, data as of 1 October 2026, published 1 October 2026. https://tools.tnaado.ca/canadian/canadian-id-number-formats-cheat-sheet/
Advertisement
Advertisement