With a new federal housing strategy coming imminently, let's catch up on what the recent ups and downs in Canada's most expensive real estate markets mean for affordability.

Remember the Paul Simon song Slip Slidin' Away? That's your life if you're not a high earner and trying to afford a home. Toronto and Vancouver are markedly less affordable than they were two years ago, and Victoria and Hamilton are similar. Elsewhere, the news is quite a bit better.

Using an old-fashioned affordability measure that says a home should cost no more than three times your household gross income, housing markets in St. John's, Halifax, Saint John, N.B., Quebec City, Ottawa, Winnipeg, Regina, Saskatoon and Edmonton look manageable. Calgary's only a little on the expensive side, as is Montreal.

Story continues below advertisement

It was November 2015 when this column last looked at whether buyers had any hope of getting a house for three times income. Toronto and Vancouver were affordability sore spots then, and they're worse today. Toronto's average resale house price in October was 9.3 times median total family income; two years ago, prices were 8.2 times income. Vancouver came in at 12.7 times income in October, compared with 11.2 two years ago.

The story of these two cities is that while sales levels have been volatile in the past couple of years, prices have increased at a higher rate than income. You have to wonder if the tradition of middle-class home ownership in these cities will fade away should these trends continue. The national housing strategy expected Wednesday will be closely read for ways to address this issue.

The next tier of affordability is Victoria and Hamilton, located in the orbit of Vancouver and Toronto, respectively. Victoria and Hamilton are still markedly less unaffordable than their bigger neighbours, but they're still pricey on the basis of how incomes compare with prices.

The affordable markets across the country break into a few different groups, the first being cities where house prices are just plain cheap. Saint John is a great example – the average price in October was $168,575, just 2.1 times income. Average prices in Halifax, Quebec City, Regina and Saskatoon were below $300,000, with St. John's just a bit above that mark, and houses can be had in each for roughly three times income.

Another type of affordable city leans more on high incomes than cheap houses. Ottawa's a good example. The average house price in October was $369,200, while family incomes were second-highest behind Calgary at $107,100.

The third grouping of affordable houses is represented by Calgary, Edmonton, Winnipeg and Montreal. Price-to-income ratios in these cities are in the 3.5 to the low 4 range – also not bad.

Incomes for this analysis were calculated by taking the latest numbers from Statistics Canada, from 2015, and then updating them to 2017 levels using the inflation calculator on the Bank of Canada website. The average inflation rate over the past two years was 1.4 per cent, while the average resale house price for the 15 cities looked at here rose by 6 per cent.

Story continues below advertisement

As always, when you look at national housing numbers, the heavy impact of Vancouver and Toronto has to be noted. Average prices in these two cities rose 22 and 19 per cent, respectively, over the past two years, skewing the overall numbers higher. In fact, average prices in six of the 15 cities – St. John's, Halifax, Montreal, Regina, Saskatoon and Calgary – fell over the past two years.

The Vancouver and Toronto markets have been volatile in recent years as measures taken by various levels of government to contain price increases butted up against strong demand from domestic and foreign buyers. Sales levels in the two cities have been down over some time frames, and so have prices. But the bottom line over the past two years is that houses are considerably more expensive for middle-class buyers.

Higher interest rates or a recession might reverse this trend, and so might new government measures to cool housing that kick in next year. Barring those developments, wannabe homeowners are going to have to look at other cities for homes that are affordable by the historical standards. For strong incomes and affordable homes, Ottawa and Calgary stand out.