How Mortgage Payments Are Calculated (With a Worked Example)
Short answer: A fixed-rate mortgage payment comes from one formula: M = P ร i ร (1 + i)โฟ รท ((1 + i)โฟ โ 1), where P is the loan, i the monthly rate and n the number of payments. For example, $320,000 at 6.5% over 30 years costs $2,022.62 a month (principal and interest), and $408,142 in total interest if you never pay extra.
The formula, in plain English
Almost every fixed-rate home loan in the world โ in the US, UK, Australia and across Europe โ uses the same "annuity" formula. It finds the one payment that, made every month for the whole term, pays off the loan and all the interest exactly on the last payment.
M = P ร i ร (1 + i)โฟ รท ((1 + i)โฟ โ 1)
- P โ the amount you borrow (home price minus your down payment).
- i โ the interest rate per payment period. For monthly payments it's the annual rate รท 12, so 6.5% becomes 0.065 รท 12 = 0.5417% a month.
- n โ the total number of payments. A 30-year loan paid monthly has 360 payments.
- M โ your monthly payment of principal and interest.
๐ก Canada is the big exception: fixed-rate Canadian mortgages compound semi-annually, so the monthly rate is calculated differently. Use the Canada calculator for Canadian loans.
Worked example: a $400,000 home in the US
Say you buy a $400,000 home with a 20% down payment ($80,000). You borrow $320,000 at 6.5% (an example rate โ use your lender's quote) for 30 years.
| Item | Value |
|---|---|
| Loan amount (P) | $320,000 |
| Monthly rate (i) | 6.5% รท 12 = 0.5417% |
| Number of payments (n) | 30 ร 12 = 360 |
| Monthly payment (M) | $2,022.62 |
| Total paid over 30 years | $728,142 |
| Total interest | $408,142 |
๐ก Interest is about 85% of your first-year payments on this loan โ the main reason the balance falls slowly at first.
Where your first payment goes
Interest each month is charged on the balance you still owe. In month one you owe the full $320,000, so the interest is $320,000 ร 0.5417% = $1,733.33. The rest of your $2,022.62 payment โ just $289.28 โ reduces the loan.
That's why the early years feel slow: most of each payment is interest. As the balance falls, the interest part shrinks and the principal part grows, even though your payment never changes. This process is called amortization.
How the balance falls over 30 years
Here's the same $320,000 loan year by year (principal and interest paid during that year, and what's left at the end of it):
| Year | Principal paid | Interest paid | Balance left |
|---|---|---|---|
| 1 | $3,577 | $20,695 | $316,423 |
| 5 | $4,636 | $19,636 | $299,555 |
| 10 | $6,410 | $17,861 | $271,284 |
| 15 | $8,864 | $15,407 | $232,189 |
| 20 | $12,257 | $12,014 | $178,129 |
| 25 | $16,949 | $7,322 | $103,373 |
| 30 | $23,438 | $833 | $0 |
๐ก After 10 years you've paid over $242,000 but still owe $271,284. Extra payments early on make the biggest dent โ see our guide on how much extra payments save.
What the formula doesn't include
Your lender's "principal and interest" figure is only part of the cost of owning a home. Depending on where you live, your real monthly bill may also include:
- Property tax โ in the US it often ranges from well under 1% to over 2% of the home's value a year, depending on your county.
- Home insurance โ required by most lenders.
- Mortgage insurance โ in the US, private mortgage insurance (PMI) is usually charged when you put down less than 20%.
- HOA or service charges โ for condos, flats and some estates.
- Fees โ origination fees, points and closing costs, which show up in the APR rather than the payment.
Three ways to lower the payment
- Borrow less โ a bigger down payment shrinks P directly, and in the US can remove PMI altogether.
- Get a lower rate โ compare several lenders' Loan Estimates or offers; a 0.5% difference on $320,000 changes the payment by about $100 a month.
- Choose a longer term โ this lowers the payment but sharply increases total interest. A 15-year loan has a higher payment but costs far less overall.
Try it with your numbers
Open the mortgage calculator, pick your country and type your price, down payment, rate and term. You'll get the payment, total interest and a full year-by-year schedule instantly โ and nothing you type leaves your browser.
These are estimates for illustration, not financial, tax or legal advice. Rates, fees and rules vary by lender and country and change over time โ confirm with your lender, the official source or a qualified adviser before you decide.
Frequently asked questions
What is the formula for a monthly mortgage payment?
M = P ร i ร (1 + i)^n รท ((1 + i)^n โ 1), where P is the loan amount, i the monthly interest rate (annual rate รท 12) and n the number of monthly payments.
How much is the payment on a $320,000 mortgage at 6.5%?
Over 30 years it's $2,022.62 a month for principal and interest, with $408,142 of interest in total. Taxes, insurance and PMI are extra.
Why does most of my early payment go to interest?
Interest is charged on the balance you still owe, which is largest at the start. As you repay, the interest portion shrinks and more of each payment goes to principal.
Does the formula work for UK, Australian and European mortgages?
Yes, for standard repayment (annuity) mortgages. Canada is different because fixed-rate mortgages compound semi-annually.
Is the payment the same as APR?
No. The payment uses the interest rate. APR also includes certain fees, so it's a better way to compare offers but doesn't set the payment.
Sources
Rules and limits change โ always check the latest official notice before you submit a form or file a return.