← Back to the Calculator
Methodology

How ClearKey Calculates Mortgage Numbers

Every number ClearKey shows you comes from a specific formula, regulation, or data source. This page documents all of them so you can verify the math, understand the assumptions, and know exactly where each value comes from. We do this because when a calculator tells you "you can afford $850,000," the only honest way to present that number is to also tell you how it was derived. Here is the full picture.
Contents
  1. Canadian mortgage compounding
  2. The OSFI stress test (B-20)
  3. GDS and TDS qualifying ratios
  4. CMHC insurance premiums
  5. Minimum down payment rules
  6. Ontario and Toronto land transfer tax
  7. Mortgage penalty calculations
  8. Rate data sources and refresh cadence
  9. Neighbourhood and city benchmark prices
  10. What ClearKey does not calculate
  11. How and when we update this site
Section 01

Canadian mortgage compounding

Canadian mortgages compound interest semi-annually, not in advance. This is required by section 6(1) of the federal Interest Act (R.S.C. 1985, c. I-15). American mortgage calculators that compound monthly will give materially different (and incorrect for Canada) numbers.

To convert an advertised annual rate into a monthly payment, ClearKey first computes the effective annual rate (EAR) using semi-annual compounding, then derives the equivalent monthly rate.

Formula — Canadian monthly payment
EAR = (1 + nominalRate / 2)2 − 1
monthlyRate = (1 + EAR)1/12 − 1
n = amortizationYears × 12
payment = principal × (monthlyRate × (1 + monthlyRate)n) / ((1 + monthlyRate)n − 1)

Worked example: a $680,000 mortgage at 4.29% over 25 years. EAR is 4.336%, monthly rate is 0.354%, n is 300, payment is $3,690.18. American monthly compounding on the same inputs would yield approximately $3,696.77 — a small difference per month but thousands of dollars over the term.

This formula is used in the Mortgage Payment, Amortization, Rent vs Buy, GDS/TDS, What Would It Take, and CMHC calculators wherever a monthly mortgage payment is computed.

Section 02

The OSFI stress test (B-20)

The mortgage stress test was introduced by the Office of the Superintendent of Financial Institutions (OSFI) in 2018 and is set out in Guideline B-20: Residential Mortgage Underwriting Practices and Procedures. It applies to all federally regulated lenders, which means almost every mortgage in Canada except those from credit unions in some provinces and a few private lenders.

The rule, in plain language: lenders must qualify you at the greater of 5.25% or your contract rate plus 2 percentage points. The 5.25% floor was set by OSFI on June 1, 2021 and remains in effect.

Formula — qualifying rate
qualifyingRate = max(0.0525, contractRate + 0.02)

Worked examples:

The qualifying rate is what lenders use to test whether your income covers the payment, but it is not the rate you actually pay. Your monthly payment is calculated on the contract rate. The stress test only governs whether the mortgage gets approved.

Important nuance

Since November 2024, OSFI has not required straight switches at renewal to be re-stress-tested when moving between federally regulated lenders, provided the loan amount and amortization don't increase. This change makes shopping at renewal much easier than it used to be. If you're refinancing or extending amortization, the stress test still applies.

Section 03

GDS and TDS qualifying ratios

Lenders evaluate your ability to carry a mortgage using two debt-service ratios. These are industry-standard limits used by every federally regulated Canadian lender and reflect the underwriting guidelines published by CMHC.

Gross Debt Service (GDS) ratio — capped at 39%

GDS measures the share of your gross monthly income that goes to housing. It includes:

Formula — GDS
GDS = (qualifyingMortgage + monthlyTax + heating + 0.5 × condoFees) / grossMonthlyIncome

Total Debt Service (TDS) ratio — capped at 44%

TDS adds all your other monthly debt obligations to the GDS calculation: car loans, student loans, credit card minimum payments, lines of credit, and other recurring debt.

Formula — TDS
TDS = (qualifyingMortgage + monthlyTax + heating + 0.5 × condoFees + monthlyDebt) / grossMonthlyIncome

You must pass both ratios to qualify. Different lenders may apply slightly stricter internal limits (some go to 35% / 42% for clients with marginal credit), but the industry-standard ceilings used in the ClearKey calculators are 39% and 44%.

Source: CMHC's homeowner mortgage loan insurance documentation defines the GDS/TDS limits used by insured mortgages.

Section 04

CMHC insurance premiums

If your down payment is less than 20% of the purchase price, your mortgage must be insured. The premium is added to the loan amount and amortized over the life of the mortgage. There are three main insurers in Canada — CMHC, Sagen, and Canada Guaranty — and they publish identical premium schedules.

Premium tiers (effective for new applications)

Loan-to-ValuePremium on loan amount
Up to 65%0.60%
65.01% – 75%1.70%
75.01% – 80%2.40%
80.01% – 85%2.80%
85.01% – 90%3.10%
90.01% – 95% (regular)4.00%
90.01% – 95% (non-traditional down payment)4.50%

December 2024 changes (now in effect)

Effective December 15, 2024, the federal government made two material changes to the insured mortgage rules:

Source: Department of Finance Canada news release, September 2024.

Minimum down payment by purchase price

Canada uses a tiered minimum down payment rule:

Worked example: an $850,000 home requires (0.05 × $500,000) + (0.10 × $350,000) = $60,000, which is approximately 7.06% of the purchase price.

Section 05

Minimum down payment rules

The federal minimum down payment rules (above) determine the floor — the absolute minimum a lender will accept. ClearKey's Down Payment Planner calculates this automatically based on the home price you enter.

For investor properties and second homes, the rules are different — non-owner-occupied properties typically require a minimum 20% down payment regardless of price. Single-unit second homes that are owner-occupied (like a cottage you'll personally live in part-time) can sometimes qualify for the standard tiered rule, but underwriters scrutinize these closely.

Down payment sources matter too. Lenders verify that the funds came from one of:

A "non-traditional" down payment — borrowed against a credit line or from a non-immediate-family source — triggers a higher CMHC premium (4.50% vs 4.00% in the highest LTV bracket).

Section 06

Ontario and Toronto land transfer tax

Land transfer tax is a one-time provincial (and in Toronto, municipal) tax paid at closing. It is the largest single line item in most Ontario closing cost calculations.

Ontario provincial LTT (applies to all Ontario purchases)

The provincial rate is tiered:

Toronto Municipal LTT (applies only inside the City of Toronto)

If the property is within Toronto's city boundaries, the buyer pays a second land transfer tax in addition to the provincial one. As of January 2024 the Toronto MLTT rates are tiered up to a top marginal rate of 7.5% on the portion above $20,000,000, with the most relevant brackets for residential buyers being 1.0% – 3.0% in the lower price ranges and 3.5% – 4.0% on portions over $2,000,000.

Properties in surrounding municipalities — Mississauga, Brampton, Markham, Vaughan, Richmond Hill, Oakville, Burlington, Pickering — pay the Ontario LTT only, with no municipal layer.

First-time buyer rebates

Ontario provides a refund of up to $4,000 on the provincial LTT for qualifying first-time buyers (which fully covers the LTT on a home up to about $368,000 and partially offsets it above that). Toronto provides a separate municipal refund of up to $4,475. To qualify, you must be a Canadian citizen or permanent resident, at least 18, never have owned a home anywhere in the world, and intend to live in the home as your principal residence within 9 months of closing.

Source: Ontario Ministry of Finance — Land Transfer Tax; City of Toronto — Municipal Land Transfer Tax.

Section 07

Mortgage penalty calculations

If you break a closed mortgage before the term ends, you pay a prepayment penalty. The penalty is the greater of two amounts: the Interest Rate Differential (IRD) or 3 months' interest. For variable-rate mortgages and most open mortgages, only the 3-month interest formula applies.

3-month interest

Formula — 3-month interest penalty
penalty = mortgageBalance × contractRate × (3 / 12)

Interest Rate Differential (IRD)

The IRD is the difference between your contract rate and the lender's posted rate for a term roughly equal to the time remaining on your mortgage, applied to your remaining balance for the months remaining. The catch: Big 6 banks calculate IRD using posted rates (much higher than what was actually negotiated), which inflates the penalty significantly. Monoline lenders typically use the discount you originally received, which produces materially smaller penalties.

Formula — IRD (Big 6 method, simplified)
rateDifferential = contractRate − comparisonPostedRate
penalty = mortgageBalance × rateDifferential × (monthsRemaining / 12)

For a $500,000 mortgage with 30 months remaining at 4.29%, with a comparison posted rate of 6.79%, a Big 6 IRD penalty could be approximately $31,250 — versus roughly $5,360 in 3-month interest. This is why penalty math matters before refinancing.

Why ClearKey's penalty estimates are estimates

Each lender's exact IRD formula is documented in your mortgage commitment letter and varies in detail (rounding methods, which posted rate is used, whether the original discount is preserved). The ClearKey Penalty Calculator gives a reasonable estimate using the standard method, but always confirm the exact penalty by calling your lender's discharge desk for a written quote.

Section 08

Rate data sources and refresh cadence

ClearKey shows two distinct kinds of rate data, and they come from different places.

Bank of Canada data — fully automated

The overnight rate, prime rate calculation, last announcement date, next announcement date, and the rate-history chart on the Rate Tracker tab all come from the Bank of Canada Valet API, specifically the IROSGP series (Overnight Money Market Financing Rate). A scheduled function on our server fetches the latest data daily at 14:00 UTC — shortly after the BoC's typical 9:45 ET announcement window — and stores it in a key-value cache. Every time you load the Rate Tracker tab, it reads from this cache. Big-bank prime is calculated as overnight + 2.20%, the standard convention since 2015. If a Bank of Canada decision changes the rate, our data reflects that change within hours.

Lender-specific rates — not published by ClearKey

ClearKey does not publish a lender rate table. We made this choice deliberately. Rate tables go stale between updates, the rate you're actually quoted depends on factors no static table can capture (your credit profile, property type, amortization, lender promotions), and aggregators like Ratehub already do this work with broker partnerships we don't have. Instead, the Rate Tracker tab links directly to each Big 6 bank's official rate page, plus the FSRA public registry of licensed Ontario brokers.

Calculator default rates — illustrative only

Each calculator has a "Mortgage Rate" input that ships with a default value (typically around 4.29%). This default is an illustrative starting point, not a live lender quote and not personalized to your file. It exists so you can run a quick scenario without hunting for a number first. For an accurate calculation, replace it with the rate you've actually been quoted by a lender or broker.

Section 09

Neighbourhood and city benchmark prices

The "What Would It Take" calculator uses approximate benchmark prices for major Ontario and Canadian metros and GTA neighbourhoods to populate its dropdown. These are rounded illustrative figures based on recent sales activity reported by:

These benchmarks are updated periodically but should not be treated as current listing prices. They exist so you can quickly stress-test "what kind of home does my income qualify me for" rather than typing in arbitrary prices. Always check current listings with a real estate professional or MLS for accurate market data on a specific home.

Section 10

What ClearKey does not calculate

Honest disclosure of limitations is part of what makes a calculator trustworthy. ClearKey deliberately does not attempt to model the following, and you should not treat its outputs as covering them:

If your situation falls into any of these categories, a calculator (ours or anyone else's) is the wrong starting point. Talk to a licensed mortgage broker or your lender directly.

Section 11

How and when we update this site

Mortgage rules and market conditions change frequently. Our update cadence:

If you spot something that looks wrong, please email hello@clearkey.ca. We take corrections seriously and update the site quickly.

This methodology page last reviewed: April 2026.
Major site updates since launch: December 2024 CMHC rules ($1.5M insured ceiling, 30-year amortization for first-time buyers); November 2024 OSFI straight-switch exception; April 2026 automated BoC data integration.
Open the Free Calculator →