How is Mortgage Interest Calculated? A Plain-English Guide
Learn how monthly mortgage payments are calculated, including the formula, an amortization example, and what the numbers mean for your loan. With a free mortgage calculator.
Monthly mortgage payments are calculated using the formula M = P × (r(1+r)ⁿ) / ((1+r)ⁿ - 1), where P is the loan principal, r is the monthly interest rate (annual rate ÷ 12), and n is the number of monthly payments (years × 12). For a $300,000 30-year mortgage at 6.5% APR, the monthly payment is about $1,896, of which roughly $1,625 is interest in the first month and only $271 is principal.
You see a house listed for $400,000. The bank pre-approves you for a 30-year mortgage at 6.5% APR. The monthly payment is… some number. Where does that number come from? It feels like the kind of thing someone with a finance degree understands and everyone else just has to accept.
It's not actually that complicated. The monthly payment is calculated with a single formula, and once you see the formula, every part of your mortgage statement makes sense. This guide walks through that formula, an amortization example, and the most common ways people get tripped up.
The formula
For a fixed-rate mortgage, the monthly payment is:
M = P × r(1+r)ⁿ / ((1+r)ⁿ - 1)
Where:
- M = monthly payment
- P = principal (the amount you borrow)
- r = monthly interest rate (annual rate ÷ 12, expressed as a decimal)
- n = total number of payments (years × 12)
For a $300,000 30-year mortgage at 6.5% APR:
- P = $300,000
- r = 0.065 / 12 = 0.0054167
- n = 360 (30 years × 12 months)
Plugging in: M = 300,000 × (0.0054167 × 1.0054167³⁶⁰) / (1.0054167³⁶⁰ - 1) ≈ $1,896/month.
The math is identical to what every mortgage calculator on the internet does, including the Uttir mortgage calculator. You can verify it in a spreadsheet or with any standard calculator that has an exponent key.
What "amortization" means
The word you see on every mortgage statement is amortization. It refers to how each payment is split between interest and principal over the life of the loan. Early in the loan, most of your payment goes to interest. Later, more of it goes to principal.
For the example above ($300,000 at 6.5% for 30 years):
- Month 1: $1,625 interest, $271 principal, $299,729 remaining
- Month 12 (end of year 1): roughly $19,000 paid in interest, $3,700 in principal, $296,300 remaining
- Month 180 (year 15): roughly $880 interest, $1,016 principal, $217,500 remaining
- Month 360 (year 30, final): roughly $10 interest, $1,886 principal, $0 remaining
The crossover point — where more of your payment starts going to principal than to interest — happens around year 15-16 of a 30-year mortgage. The first 15 years are mostly the bank getting paid back for the risk of lending to you; the last 15 years are mostly you paying back the actual money.
Why the first payment is mostly interest
Interest in any given month is calculated as the remaining balance times the monthly rate. In month 1, the balance is the full $300,000, so the interest is $300,000 × 0.0054167 = $1,625. As you pay down the balance, the interest portion of each subsequent payment gets smaller, because the balance it's calculated against is smaller.
This is why making extra payments early in the loan has such a dramatic effect: every extra dollar reduces the balance that future interest is calculated against, and the savings compound for the remaining life of the loan. A single $5,000 extra payment in year 1 of a 30-year mortgage can save you $10,000-$15,000 in total interest over the life of the loan.
How different loan terms change the payment
The same $300,000 loan amount at the same 6.5% rate has very different monthly payments depending on the term:
- 15-year mortgage: ~$2,613/month, $170,000 total interest
- 20-year mortgage: ~$2,229/month, $235,000 total interest
- 30-year mortgage: ~$1,896/month, $382,000 total interest
The 30-year mortgage has a lower monthly payment, but you pay roughly $147,000 more in total interest over the life of the loan compared to the 20-year. The 15-year mortgage has an even higher monthly payment, but you save over $200,000 in interest. The trade-off is monthly cash flow vs. long-term cost.
For most people, the right answer is "the shortest term you can comfortably afford the monthly payment on, after accounting for property taxes, insurance, and maintenance." The bank will happily approve you for the longest term because it maximizes their interest, but that's not in your interest.
What changes the rate
Several factors influence the rate a bank quotes you, and they all affect the monthly payment:
- Credit score. The single biggest factor. A 760+ score gets the best rates; below 620, you're looking at significantly worse terms (or no loan at all).
- Down payment. Less than 20% down usually means private mortgage insurance (PMI), which adds 0.5-1.5% to the annual cost.
- Loan type. Conventional, FHA, VA, and USDA loans have different rate structures. Government-backed loans (FHA, VA) often have lower rates but require mortgage insurance.
- Loan term. 15-year rates are usually 0.5-0.75% lower than 30-year rates, which is part of why the monthly payment difference is smaller than the term difference would suggest.
- Property type and use. Primary residence, second home, and investment property have different rate tiers. Primary residence gets the best rates.
- Discount points. You can pay an upfront fee to "buy down" the rate. One point (1% of the loan amount) typically reduces the rate by 0.25%. Worth it if you plan to stay in the home long enough to recoup the upfront cost.
Adjustable-rate mortgages (ARMs)
Everything above assumes a fixed-rate mortgage, where the rate doesn't change. An ARM has a rate that's fixed for an initial period (5, 7, or 10 years are common) and then adjusts annually based on a market index plus a margin.
A 5/1 ARM, for example, has a fixed rate for the first 5 years, then adjusts once per year. The new rate is calculated as the index value (often the Secured Overnight Financing Rate, or SOFR) plus a margin (typically 2-3%). If SOFR is 4% and the margin is 2.75%, your new rate is 6.75%.
ARMs usually have a lower starting rate than fixed-rate loans, which makes them attractive if you plan to sell or refinance before the fixed period ends. They're risky if you plan to stay longer, because you have no protection against rate increases. The 2008 financial crisis was caused in large part by ARMs that homeowners didn't understand resetting to unaffordable rates.
If you're considering an ARM, run the numbers both ways: with the starting rate (best case) and with the maximum allowed rate after the fixed period (worst case). Make sure you can afford the worst case before signing.
The hidden costs the formula doesn't show
The monthly payment calculation only covers principal and interest. Your actual monthly housing cost is usually much higher:
- Property taxes. Typically 1-3% of the home's value per year, divided by 12 and added to your monthly payment (held in escrow by the lender).
- Homeowners insurance. $1,000-$3,000 per year for a typical home, also held in escrow.
- PMI. If your down payment is less than 20%, you pay private mortgage insurance, usually 0.5-1.5% of the loan per year.
- HOA fees. If the property is in a homeowners association, monthly fees of $100-$500+ are common.
- Maintenance. A common rule of thumb is 1% of the home's value per year for maintenance. For a $400,000 home, that's $333/month you should be setting aside.
The "true" monthly cost of owning that $400,000 home with a $1,896 mortgage payment is probably $3,000-$3,500 once you add taxes, insurance, and maintenance. Lenders will qualify you based on the P&I payment alone; the rest is on you to budget for.
How to use a mortgage calculator
A good mortgage calculator lets you play with the numbers and see how each change affects the payment and total interest. The Uttir mortgage calculator takes the principal, rate, term, down payment, and property taxes / insurance / HOA (optional), and shows the monthly payment broken down into principal, interest, taxes, and insurance, plus the total interest paid over the life of the loan.
Useful scenarios to model:
- What if I put 20% down instead of 10%? Removes PMI and lowers the loan amount, often a big win.
- What if I take a 15-year loan? Higher monthly payment, much less total interest.
- What if rates drop 0.5% before I lock? Run the numbers with the lower rate and see the difference.
- What if I make one extra payment per year? Most calculators can show the impact of extra principal payments; this is the most powerful lever you have.
Pair the mortgage calculator with the loan calculator for non-mortgage loans (auto, personal, student), the compound interest calculator to model your investments, and the percentage calculator for figuring out down payment percentages and down payment assistance programs.
Two things worth doing before you sign
First, get the loan estimate from at least three lenders. The estimate is a standardized form that shows the actual rate, monthly payment, and closing costs for the specific loan you're applying for. Lenders can't hide fees in this document, and the differences between three estimates for the same loan can easily be $5,000-$10,000 in closing costs plus a different rate.
Second, model your budget with the actual monthly housing cost, not just the P&I. Add property taxes (about 1.5% of the home's value per year, divided by 12), insurance (about $1,500/year for a typical home, divided by 12), and 1% of the home's value per year for maintenance (divided by 12). If that total is more than 30% of your take-home pay, the home is probably too expensive for you, regardless of what the bank says you qualify for.
The bank is in the business of lending you as much money as possible. Your job is to know what you can actually afford and not sign for more.