When you break a closed mortgage before the end of its term, the lender is entitled to compensation for interest they expected to earn. Canadian contracts usually describe two building blocks: a simple three-month interest charge on your outstanding balance, and an interest rate differential (IRD) that compares your contract rate to a replacement or "comparison" rate for a term similar to what you have left. The actual formula, discounting conventions, and the exact comparison rate are defined in your commitment letter—this page models the common high-level structure so you can reason about orders of magnitude before you call your lender for a formal quote.
Fixed-rate mortgagestypically use the greater of IRD and three months of interest. If market rates have fallen relative to your contract, IRD often becomes the binding number; if your rate is still competitive versus the lender's current offerings, three months of interest may dominate or IRD may be zero after the spread is floored. Variable-rate mortgages are different in practice: borrowers are usually charged three months of interest rather than an IRD-style calculation, which is why the calculator treats variable products as three-month interest only.
Why big-bank penalties look shocking.TD, RBC, Scotiabank and BMO publish the same approach: the comparison rate is the bank's current posted rate for the term closest to your remaining term, minus the discount you received when you signed. CIBC adds your discount to your rate instead, and National Bank uses the posted rate at signing — both give the same rate gap. Because posted rates sit well above the rates people actually pay, this gap is usually wider than at a lender that simply compares with its current rate. Mortgages from other lenders (monolines, credit unions) use the generic method here; check your contract for the exact comparison rate.
When breaking still makes sense.Refinancing to a materially lower rate, consolidating expensive debt, or selling and porting can justify a penalty if the net benefit over your remaining months exceeds the upfront cost—after tax effects and fees. Portability, blend-and-extend options, and lump-sum prepayments can shrink the balance subject to penalty. Use the numbers here as a planning aid only; your lender's discharge department will issue the binding figure.