How the mortgage calculator works
The calculator works out the principal and interest with the standard amortization formula, then adds the costs that come with owning the home.
Principal and interest = L × r × (1 + r)n ÷ ((1 + r)n − 1)
- L is the loan amount: the home price minus your down payment.
- r is the monthly rate: the yearly rate ÷ 12 ÷ 100.
- n is the number of monthly payments: years × 12.
Property tax and insurance are divided by 12 and added each month. If you put down less than 20%, PMI is added at the yearly rate you enter, charged on the loan amount, and removed once the loan is scheduled to reach 78% of the home price, as federal rules require.
For other payment schedules, r becomes the yearly rate divided by the number of payments a year (26 for bi-weekly, 52 for weekly) and n becomes years × payments a year. In Canada, interest compounds twice a year, so r = (1 + yearly rate ÷ 2)2 ÷ payments a year − 1.
Worked example
You buy a $400,000 home with 20% down on a 30-year loan at 6.5%, paying monthly.
- Loan amount: $400,000 − $80,000 = $320,000.
- Principal and interest: $2,022.62 a month.
- Property tax at 1.1% a year: $4,400 ÷ 12 = $366.67 a month.
- Insurance at $1,500 a year: $125 a month.
- Total: about $2,514 a month. With 20% down, there is no PMI.
Put down 10% instead and the loan grows to $360,000. Principal and interest rise to $2,275.44, and PMI at 0.5% adds $150 a month until the balance is scheduled to fall to $312,000, 78% of the price.
Monthly, bi-weekly or accelerated?
The same $320,000 loan at 6.5% over 30 years, with $4,400 a year in property tax and $1,500 in insurance:
| Schedule | Principal and interest | Total interest | Paid off in |
|---|---|---|---|
| Monthly | $2,022.62 a month | $408,141 | 30 years |
| Bi-weekly | $933.08 every 2 weeks | $407,793 | 30 years |
| Accelerated bi-weekly | $1,011.31 every 2 weeks | $314,145 | 24 years 2 months |
| Accelerated weekly | $505.66 a week | $313,741 | 24 years 1 month |
Regular bi-weekly payments cost about the same as monthly. Accelerated payments are half (or a quarter) of the monthly payment, made every 2 weeks (or every week). Because a year has 26 two-week periods, you end up making the equivalent of one extra monthly payment each year, all of it going to principal.
Mortgages in Canada
- Semi-annual compounding. The Interest Act requires fixed-rate mortgage interest to be stated as compounded yearly or half-yearly. A 5% rate works out to 0.4124% a month, a little less than 5% ÷ 12.
- Minimum down payment. 5% of the first $500,000 and 10% of the rest. Homes of $1.5 million or more need 20% down.
- Mortgage default insurance. With less than 20% down, a one-time CMHC premium is added to the loan: 2.80% of the loan for 15 to 19.99% down, 3.10% for 10 to 14.99%, and 4.00% for 5 to 9.99%, plus 0.20% if the amortization is over 25 years. Ontario, Quebec and Saskatchewan charge sales tax on the premium, paid at closing.
- Amortization. Insured mortgages can be amortized over up to 30 years for first-time buyers and new builds, and 25 years otherwise.
Example: a $500,000 home with 10% down at 5% over 25 years. The loan is $450,000, the premium is 3.10% ($13,950), so you borrow $463,950 and pay $2,698.36 a month.
Closing date and interest due at closing
Enter your closing date and the calculator sets the first payment date for you and shows the interest due at closing, with the working. Leave it empty and nothing changes.
- United States: prepaid interest. Interest is paid a month behind: a payment on December 1 pays for November. So a loan that closes on October 15 has its first payment on December 1, and the 17 days from October 15 to 31 are paid at closing. On a $320,000 loan at 6.5%, one day is $320,000 × 6.5% ÷ 360 = $57.78, and 17 days are $982.26. A closing on the 1st has no prepaid interest.
- Canada: interim interest. Interest is charged from the day the money is advanced. Most lenders set an interest adjustment date on the 1st of the month after closing, collect the days before it as interim interest, and start the regular payments one payment period later. No government page sets this date; it is the usual term in lenders’ mortgage contracts, so check your commitment letter. The CMHC example above ($463,950 at 5%), closing on November 15, 2026: 16 days × $63.55 (÷ 365) = $1,016.80, interest adjustment date December 1, first monthly payment January 1, 2027 (or December 15 bi-weekly).
- Canada: land transfer tax. Also paid in cash at closing in most provinces, and not part of the mortgage. In Ontario, British Columbia and Quebec (the welcome tax), the land transfer tax calculator works it out, with Toronto’s municipal tax and the first-time buyer refunds and exemptions. It also works out Manitoba’s land transfer tax, Nova Scotia’s municipal deed transfer tax and New Brunswick’s and Prince Edward Island’s real property transfer taxes. Alberta, Saskatchewan and Newfoundland and Labrador have no such tax, only registration fees, which the same calculator shows.
- Lenders differ. Some count a 365-day year, some 360, and some set a first payment a month sooner and credit you the days already passed. You can pick 360 or 365 days, or type your own first payment date: the calculator then works out the interest (or the credit) for that date. Your Closing Disclosure (US) or commitment letter (Canada) has the real figure.
- Other countries. The rule differs by country and by lender, so the calculator does not work out an amount; the first payment is set one payment period after closing.
Other countries
Choose Other country for a plain mortgage with monthly-compounded interest and no mortgage insurance. Amounts are in your own currency: US results are in US dollars, Canadian results in Canadian dollars, and other countries in whatever currency you enter. Check your local rules for anything the calculator leaves out, such as mortgage insurance or guarantee fees, purchase or transfer taxes, and how your lender compounds interest.
How to compare mortgage offers
Use Compare mortgage options above the schedule to put up to three variations next to your scenario: a lower rate from another lender, a bigger down payment, a shorter term or accelerated payments. Look at total interest and the payoff date as well as the payment, and compare payments as a monthly cost so different schedules are fair to compare.
Ways to lower your payment
- Put 20% down if you can to avoid PMI altogether.
- Shop several lenders. A rate 0.5% lower can save tens of thousands over 30 years.
- Check the property tax rate for the exact town or county. It varies widely, even between neighbors.
- Ask about the insurance premium before you buy. Flood, wind and fire risk can change it a lot.
Frequently asked questions
What is included in a monthly mortgage payment?
Usually four things, often called PITI: principal (paying down the loan), interest, property taxes and homeowners insurance. Many lenders collect the taxes and insurance in an escrow account. PMI and HOA dues may be added on top.
What is PMI and when does it go away?
Private mortgage insurance protects the lender when you put down less than 20% on a conventional loan. Under the federal Homeowners Protection Act, you can ask to cancel it once your balance reaches 80% of the home’s original value, and it must end automatically when the balance is scheduled to reach 78%. FHA loans have their own mortgage insurance rules.
How much house can I afford?
A common guideline is to keep your total housing payment, including taxes and insurance, under about 28% of your gross monthly income, and all your debt payments under about 36%. Lenders set their own limits, so treat these as a starting point.
Is a 15-year or 30-year mortgage better?
A 15-year mortgage has a higher monthly payment but usually a lower rate and far less total interest. A 30-year mortgage keeps the payment lower and leaves more room in your budget. Compare both in the calculator by changing the loan term.
Is a bi-weekly mortgage payment better than monthly?
A regular bi-weekly payment simply splits the year into 26 smaller payments and costs almost exactly the same as paying monthly. The saving comes from accelerated bi-weekly payments: half your monthly payment every two weeks adds up to 13 monthly payments a year instead of 12. On a $320,000 loan at 6.5% over 30 years, that pays the loan off about 5 years 10 months sooner and saves about $94,000 in interest. Check that your lender allows it and has no prepayment penalty.
How are Canadian mortgages different?
The federal Interest Act requires a fixed-rate mortgage to state its rate as compounded yearly or half-yearly, and half-yearly is the norm. So Canadian fixed rates compound twice a year rather than monthly, and the same quoted rate costs slightly less. With less than 20% down you need mortgage default insurance (for example from CMHC): a one-time premium of 2.80% to 4.00% of the loan, added to the mortgage. There is no PMI, and the loan is usually described by its amortization period (often 25 years) rather than its term. Choose Canada in the calculator to apply these rules.
How do I compare two mortgage offers fairly?
Enter the first offer as your scenario, then add the second as a variation under Compare mortgage options. Compare the monthly cost (which turns bi-weekly or weekly payments into a per-month figure), the total interest and the payoff date, not only the payment. Use the same price and down payment in both unless the offers really differ, and ask each lender about fees and prepayment penalties, which the calculator does not include.
Do extra payments really make a difference?
Yes. Extra principal payments reduce the balance that interest is charged on, so they cut total interest and shorten the loan. Even one extra payment a year can take years off a 30-year mortgage. Confirm with your lender that extra payments go to principal.
What does the first payment date change?
Only the dates. The table, the chart, the CSV file and the payoff date follow real calendar dates, and the by-year view follows calendar years, so the first and last years can hold fewer payments. The amounts stay the same: interest here is charged per payment period (the yearly rate divided by the payments a year, or the Canadian semi-annual rate), whatever the number of days. Monthly payments on the 29th to 31st fall on the last day of shorter months. Twice-a-month payments are 15 days apart in each month (a first payment on the 1st pairs with the 16th; on the 15th, with the 30th, or February’s last day). Every 2 weeks and weekly payments are exactly 14 and 7 days apart, so about once every 11 years a calendar year holds 27 bi-weekly (or 53 weekly) payments. The box starts one payment period from today; your mortgage papers give the real due date.
What is prepaid interest at closing, and how is it worked out?
It is the interest for the days between your closing date and the start of the period your first payment pays for. US mortgage interest is paid a month behind, so a loan closed on October 15 usually has its first payment on December 1 (it pays November’s interest), and the 17 days from October 15 to 31 are paid at closing. Each day costs the loan amount × the yearly rate ÷ 360 or ÷ 365, depending on the lender: the CFPB’s sample Closing Disclosure uses 360. In Canada the same days are called interim interest, counted up to the interest adjustment date (usually the 1st of the month after closing). No government page sets that date; it is the usual term in lenders’ mortgage contracts. Enter a closing date in the calculator to see the amount with the working. Your Closing Disclosure (US) or commitment letter (Canada) has the real figure.
How do I save or print my mortgage numbers as a PDF?
Choose Save as PDF under the calculator. Your browser’s own print window opens: pick “Save as PDF” as the printer. Page 1 is a clean summary with your numbers, every payment frequency side by side (each payment, the monthly cost, total interest and payoff date), the working and the sources; the amortization schedule by year follows. There are no ads, menus or buttons in it, and the amounts match the screen to the cent. On iPhone or iPad, tap the Share button in the print window, then Save to Files. The PDF is made on your device: nothing is sent to us.
Sources
- CMHC: Mortgage loan insurance premiums (Canada)
- Department of Finance Canada: Mortgage reform details, December 15, 2024 ($1.5 million cap, 30-year amortization)
- Interest Act (Canada), section 6: interest on mortgages
- Financial Consumer Agency of Canada: sample mortgage disclosure (interest charged from the date of advance)
- Consumer Financial Protection Bureau: What are prepaid interest charges?
- CFPB: Prepaid interest factsheet (interest paid a month behind, 2022)
- CFPB: Sample Closing Disclosure (prepaid interest per day)
- Consumer Financial Protection Bureau: Private mortgage insurance cancellation and termination (Homeowners Protection Act)
Calculations are exact for a fixed-rate mortgage with the numbers you enter. Taxes, insurance and HOA fees are held constant, although they usually rise over time. Canadian insurance premiums follow CMHC's published rates; other insurers may differ slightly. Your lender's official disclosure is the figure to rely on. This is not financial advice. Read the full disclaimer and how we check our formulas.