Canadian · Validation

Postal code to province.

Find which province or territory a Canadian postal code starts in, whether it is rural, and whether it matches the province on the address. Format and first-letter mapping only: it cannot tell you the code exists or was ever assigned. Everything runs in your browser.

Source: Canada Post addressing guidelines Pattern A1A 1A1, never D F I O Q U

Advertisement

Inputs

Spaces are ignored. Letters D, F, I, O, Q, U are never used; W and Z never start a code.
Pick one to test whether the postal code fits it.

Result

Enter a postal code and press Check.

What province does a postal code start with?

The first character of a Canadian postal code identifies one of 18 major geographic areas. Outside Quebec and Ontario a letter is a whole province; Quebec uses G, H and J, Ontario uses K, L, M, N and P, and X is shared by the Northwest Territories and Nunavut.

The second character is 0 for a rural code (for example A0A) and 1 to 9 for an urban one (for example M2T). The letters D, F, I, O, Q and U are never used, and W and Z never appear in the first position.

A mismatch means the postal code’s first letter does not belong to the province you picked. It usually points to a typo in one of the two, though a few border-area addresses can legitimately be served across a boundary.

Sources and as-of date

Verified 26 October 2026 against the Canada Post addressing guidelines: the first-character table and the 0 rural / 1 to 9 urban rule are unchanged.

Worked example: three postal codes

How the first two characters are read
Postal codeFirst letterSecond characterResult
M5V 3L9M, Metropolitan Toronto5, urbanOntario, urban delivery
H0H 0H0H, Metropolitan Montreal0, ruralQuebec, rural code (this is the well-known Santa Claus code)
D1A 1A1D, never used1Invalid: D, F, I, O, Q and U are never part of a postal code

If you enter M5V 3L9 and pick Alberta as the province, the checker flags a mismatch, because M belongs to Ontario. It cannot tell you that M5V 3L9 is a real, deliverable code.

Common mix-ups

  1. Canada Post: Addressing guidelines, the structure of the postal code

Checked against these sources on .

Frequently asked questions

Does the first letter always give the province?

Yes for every letter except X, which is shared by the Northwest Territories and Nunavut. Quebec uses G, H and J and Ontario uses K, L, M, N and P.

What does a 0 in the second position mean?

It marks a rural code, for example A0A. Urban codes use 1 to 9 in that position, for example M2T.

Can this tell me whether a postal code exists?

No. It checks the format and the first-letter mapping only and has no address database behind it.

What a passing check does and doesn’t tell you

This tool checks format and the first-letter province mapping only. A postal code that passes is well-formed; it does not confirm the code, or its forward sortation area, actually exists or is deliverable. There is no lookup. Runs entirely in your browser: nothing you type is transmitted, stored, or logged.

Advertisement
Advertisement