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.
Inputs
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.
- A Newfoundland and Labrador · B Nova Scotia · C Prince Edward Island · E New Brunswick
- G Eastern Quebec · H Metropolitan Montreal · J Western Quebec
- K Eastern Ontario · L Central Ontario · M Metropolitan Toronto · N Southwestern Ontario · P Northern Ontario
- R Manitoba · S Saskatchewan · T Alberta · V British Columbia
- X Northwest Territories/Nunavut · Y Yukon
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.
- Canada Post, Addressing guidelines: postal codes (first-character table; second character 0 is rural, 1 to 9 urban).
- Wikipedia, Postal codes in Canada, quoting Canada Post: “Postal codes use twenty uppercase letters of the English alphabet; they do not include the letters D, F, I, O, Q, or U,” and “The first position also does not make use of the letters W or Z.” Its district table agrees with the Canada Post table above.
Worked example: three postal codes
| Postal code | First letter | Second character | Result |
|---|---|---|---|
| M5V 3L9 | M, Metropolitan Toronto | 5, urban | Ontario, urban delivery |
| H0H 0H0 | H, Metropolitan Montreal | 0, rural | Quebec, rural code (this is the well-known Santa Claus code) |
| D1A 1A1 | D, never used | 1 | Invalid: 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
-
Often assumedEach province has exactly one starting letter, so the first letter alone names the province.
What the source saysCanada Post lists 18 first letters for geographic areas. Quebec uses G, H and J, Ontario uses K, L, M, N and P, and X covers the Northwest Territories and Nunavut together, so X alone cannot tell those two apart. [1]
-
Often assumedA zero as the second character, like A0A, marks a PO box or a business.
What the source saysCanada Post says the second character is 0 for a rural postal code and a numeral from 1 to 9 for an urban one. Its examples are A0A for rural and M2T for urban. [1]
-
Often assumedA postal code pins down one house.
What the source saysCanada Post says that in urban areas the last three characters may identify one side of a street between two intersecting streets, a single building, or sometimes a large-volume mail receiver. In rural areas they identify a community. [1]
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.