Canadian Mortgage Payment Calculator
mortgage_paymentPeriodic payment on a Canadian mortgage. Pass EITHER homePrice + downPayment (CMHC insurance is added under 20% down) OR loanAmount alone when the user gave the mortgage amount (e.g. "payment on a $500,000 mortgage"). Never invent a purchase price to reach a loan amount: it shifts the answer and adds a CMHC premium the user may not owe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| province | No | Province name, used only for CMHC PST on the premium | |
| rateType | No | Fixed or variable rate | fixed |
| homePrice | No | Purchase price in CAD, with downPayment. Omit if the user gave the mortgage amount. | |
| termYears | No | Mortgage term in years | |
| loanAmount | No | Mortgage amount in CAD, instead of homePrice. No CMHC premium is added. | |
| downPayment | No | Down payment in CAD, or percent if downPaymentType='percent'. Required with homePrice. | |
| downPaymentType | No | downPayment as dollars or percent of homePrice | amount |
| paymentFrequency | No | How often payments are made | monthly |
| amortizationYears | No | Amortization in years (max 25 insured, 30 uninsured/first-time new builds) | |
| annualInterestRatePct | Yes | Annual interest rate as a percent, e.g. 5.25 |