Skip to content
Allin

How Are Mortgage Payments Calculated?

Published 11/6/2025 · 2 min read · Finance calculators

Camille Laurent

Camille LaurentFinance writer at Allin

Tax · Personal finance

Checked against 2 sources

View profile
In short

A mortgage payment is fixed so the loan is fully repaid over its term. It uses the amortization formula M = P·i·(1+i)^n / ((1+i)^n − 1), where P is the amount borrowed, i the monthly rate (annual ÷ 12) and n the number of monthly payments. Borrow $250,000 at 3.5% over 20 years and the payment is about $1,450 a month — $347,975 in total, of which $97,975 is interest.

Your monthly mortgage payment comes from three things: the amount borrowed, the interest rate and the term. Here's the formula and what moves the number.

The three inputs

Only three numbers set your payment: the amount you borrow, the annual interest rate, and the term in years. A bigger loan or a higher rate raises the payment; a longer term lowers it. Everything a mortgage calculator shows flows from these three.

The amortization formula

The payment M = P·i·(1+i)^n / ((1+i)^n − 1) finds the fixed sum that clears the loan in exactly n payments. Convert the annual rate to monthly (÷ 12) and the term to months (× 12). For $250,000 at 3.5% (i = 0.002917) over 240 months, that works out to roughly $1,450 a month.

Principal vs interest over time

Although the payment stays the same, its split changes. Early on, most of each payment is interest and only a little chips away at the balance; near the end, almost all of it is principal. This front-loading of interest is why paying extra early, or overpaying, saves so much — it attacks the balance while interest is highest.

What changes the monthly payment

A lower rate, a longer term or a bigger deposit all shrink the monthly payment — but they are not equal. A longer term lowers the monthly figure while raising the total interest paid, sometimes by a lot; a bigger deposit lowers both. Shopping the rate is usually the cleanest win, since it cuts the payment and the total at once.

Worked with our own calculator

Mortgage calculator

Given

Loan amount
$500,000.00
Annual rate (%)
3.85
Duration (years)
40

Result

Monthly payment
$2,043.29
Total cost
$980,779.57
Total interest
$480,779.57

These figures are produced by the calculator below, not typed in by hand — they are recomputed whenever the tool changes.

Run it on your own figures

Frequently asked questions

Why is a longer mortgage cheaper monthly but more expensive overall?
Spreading the same amount over more months lowers each payment, but you pay interest for more years, so the total climbs.
What is amortization?
It's the schedule that splits each payment between interest and principal, putting most of the interest early and most of the principal late.
Does a bigger deposit lower my payment?
Yes. Borrowing less reduces both the monthly payment and the total interest, and a larger deposit can also unlock a better rate.

Articles you may find interesting

All guides

Related tools

Sources

Spotted a mistake in this article?