Mortgage Payment Formula: How Your Monthly Bill Works

9 min14 de maio de 2026

The Mortgage Payment Formula (No Hand-Waving)

The mortgage payment formula that every bank uses is: M = P × [r(1+r)^n] / [(1+r)^n - 1]. Where M is your monthly payment, P is the principal (loan amount), r is the monthly interest rate (annual rate ÷ 12), and n is the total number of payments (years × 12). That's it. Every mortgage calculator — including ours — uses this exact equation. There's no secret bank math.

Let's run a real example. You borrow $400,000 at 6.5% annual interest for 30 years. Monthly rate r = 0.065 ÷ 12 = 0.005417. Number of payments n = 30 × 12 = 360. Plug in: M = 400,000 × [0.005417 × (1.005417)^360] / [(1.005417)^360 - 1]. The (1.005417)^360 part equals 6.9913. So M = 400,000 × [0.005417 × 6.9913] / [6.9913 - 1] = 400,000 × 0.03788 / 5.9913 = $2,528.27 per month.

That $2,528 is principal plus interest only. Your actual monthly bill includes property tax (~1-2% of home value annually), homeowner's insurance (~$100-200/month), and possibly PMI if you put less than 20% down (~0.5-1% of loan amount annually). On a $500,000 home, these add $600-1,200/month on top of the P&I payment. The mortgage payment formula gives you the floor, not the ceiling.

Why Your First Payment Is Almost All Interest

On that $400,000 loan at 6.5%, your first monthly payment of $2,528.27 breaks down as: $2,166.67 in interest and only $361.60 toward principal. That's 85.7% interest. The bank gets paid first. This isn't a scam — it's how compound interest works on a declining balance. You owe $400,000, so one month of interest at 0.5417% is $2,166.67. The rest of your payment chips away at the principal.

By payment #180 (halfway through a 30-year mortgage), the split is roughly 50/50. By payment #300 (year 25), it flips — most of your payment goes to principal. This is the amortization curve, and it's why paying extra in the early years has such a dramatic effect. An extra $200/month in year 1 saves far more interest than an extra $200/month in year 25, because that $200 stops compounding for the remaining 29 years.

The total interest paid over 30 years on our $400,000 example: $510,177. You pay back $910,177 total for a $400,000 loan. More than double. This shocks people when they first see it, but it's straightforward math — you're renting $400,000 for 30 years, and the rent is 6.5% per year on the outstanding balance. Use our amortization-calculator to see the full payment schedule month by month.

One number that puts this in perspective: on a 30-year mortgage at 6.5%, you don't reach the break-even point (where you've paid more principal than interest) until month 222 — that's 18.5 years into the loan. For the first 18 years, the bank has received more money from you than you've built in equity. This is why people say mortgages are "front-loaded with interest."

How Extra Payments Save You Thousands

Adding $300/month to our $400,000 example (paying $2,828 instead of $2,528) does two things: you pay off the loan in 24.3 years instead of 30, and you save $112,000 in total interest. That's $112,000 saved by spending $300/month extra. The math works because every extra dollar goes directly to principal, which reduces the balance that future interest is calculated on.

The "one extra payment per year" trick: if you pay biweekly (26 half-payments = 13 full payments per year instead of 12), you shave about 4-5 years off a 30-year mortgage. On our example, that saves roughly $75,000 in interest. Some lenders offer biweekly payment plans, but you can achieve the same effect by adding 1/12 of your monthly payment to each check.

Lump sum payments are even more powerful early in the loan. A one-time $10,000 extra payment in year 1 of our example saves about $24,000 in interest over the life of the loan (because that $10,000 would have compounded at 6.5% for 29 years). The same $10,000 payment in year 20 saves only about $5,000. Use our mortgage-payoff-calculator to model different extra payment scenarios.

One caveat: check your loan terms for prepayment penalties. Some mortgages (especially those from 2005-2008) charge a fee for paying off early, typically 2-3% of the remaining balance in the first 3-5 years. Most modern conventional mortgages don't have prepayment penalties, but always verify. Also consider whether that extra $300/month would earn more invested in index funds (~10% historical average) than it saves in mortgage interest (6.5%). At rates above 7%, paying down the mortgage almost always wins. Below 4%, investing usually wins.

Fixed vs Adjustable Rate: The Math Behind the Decision

A fixed-rate mortgage locks your interest rate for the entire term. An adjustable-rate mortgage (ARM) offers a lower initial rate that resets periodically. A 5/1 ARM means fixed for 5 years, then adjusts annually. In January 2026, a typical 30-year fixed is around 6.5% while a 5/1 ARM starts at 5.8%. On $400,000, that's $2,528/month vs $2,351/month — saving $177/month for the first 5 years.

The gamble with ARMs: after the fixed period, your rate adjusts based on an index (usually SOFR) plus a margin (typically 2-3%). If rates drop, you win. If rates rise, your payment can jump significantly. Most ARMs have caps: 2% per adjustment, 5% lifetime cap over the initial rate. So a 5.8% ARM could theoretically reach 10.8% — pushing your payment from $2,351 to $3,584. That's a 52% increase.

When ARMs make sense: if you're confident you'll sell or refinance within the fixed period (military families, people in starter homes, those expecting a big income increase). When they don't: if this is your forever home and you can't absorb a 40-50% payment increase. The median homeowner stays 13 years (NAR data, 2023), so a 7/1 or 10/1 ARM covers most people's actual holding period.

A trick most people miss: you can use the ARM savings to pay extra principal during the fixed period. If you take the 5/1 ARM at $2,351 but pay $2,528 (what the fixed would cost), you're putting an extra $177/month toward principal for 5 years. After 5 years, you owe $12,700 less than with the fixed-rate mortgage. If you then refinance or sell, you come out ahead regardless of where rates went.

The Refinancing Math (When It Actually Makes Sense)

The standard rule of thumb — "refinance if you can drop your rate by 1%" — is oversimplified. The real question is: will the monthly savings recoup the closing costs before you sell or refinance again? Closing costs on a refinance typically run $3,000-6,000. If refinancing saves you $200/month, you break even in 15-30 months. If you plan to stay less than 2 years, refinancing probably loses money.

Here's the calculation: (closing costs) ÷ (monthly savings) = break-even months. Example: you have a $350,000 balance at 7.5% ($2,447/month P&I). Refinancing to 6.0% costs $4,500 in closing and drops your payment to $2,098 ($349/month savings). Break-even: 4,500 ÷ 349 = 12.9 months. If you're staying more than 13 months, refinance. This ignores the time value of money, but it's close enough for a decision.

Cash-out refinancing is a different animal. You're borrowing against your equity — replacing a $300,000 mortgage with a $350,000 one and pocketing $50,000. The math only works if you use that $50,000 for something that returns more than your mortgage rate (home renovation that adds value, paying off 22% credit card debt, starting a business). Using it for a vacation or car is borrowing against your house for a depreciating asset. Don't.

Rate-and-term refinancing to a shorter term (30-year to 15-year) is often overlooked. A 15-year mortgage at 5.8% on $350,000 costs $2,917/month vs $2,098 for a 30-year at 6.0%. You pay $819 more per month, but you save $218,000 in total interest and own your home in 15 years. If you can afford the higher payment without stress, this is one of the best financial moves available.

Common Mortgage Math Mistakes

Mistake 1: Comparing monthly payments without considering total cost. A 30-year mortgage at 6.5% has a lower monthly payment than a 15-year at 6.0%, but costs $280,000 more in total interest. Always compare total cost of the loan (principal + all interest paid), not just the monthly number. Banks love showing you the monthly payment because it makes expensive loans look affordable.

Mistake 2: Ignoring PMI in your calculations. If you put less than 20% down, private mortgage insurance adds 0.5-1% of the loan amount annually. On a $400,000 loan, that's $2,000-4,000/year ($167-333/month) until you reach 20% equity. This effectively raises your interest rate by 0.5-1% for the first several years. Factor it into your comparison when deciding between a smaller down payment now vs waiting to save 20%.

Mistake 3: Assuming your rate is your cost. The APR (Annual Percentage Rate) includes origination fees, points, and other lender charges spread over the loan term. A 6.5% rate with 1 point ($4,000 upfront) has an APR of about 6.6%. Compare APRs between lenders, not rates. A lender offering 6.25% with $8,000 in fees might cost more than one offering 6.5% with $2,000 in fees, depending on how long you keep the loan.

Mistake 4: Not accounting for tax deductions. Mortgage interest is tax-deductible if you itemize (up to $750,000 in loan principal for homes purchased after 2017). At a 24% marginal tax rate, your effective interest rate on a 6.5% mortgage is about 4.94%. This changes the math on whether to pay extra on the mortgage vs invest. But only ~10% of filers itemize after the 2017 standard deduction increase, so this benefit is less common than people think.

When the Mortgage Payment Formula Doesn't Apply

Interest-only loans: During the interest-only period (typically 5-10 years), you pay only the interest — no principal reduction. On $400,000 at 6.5%, that's $2,167/month with zero equity building. After the interest-only period ends, the remaining balance amortizes over the shorter remaining term, causing a payment shock. These loans make sense for specific situations (bridge financing, investment properties with planned short holds) but are dangerous for primary residences if you can't handle the payment jump.

Balloon mortgages: The payment is calculated as if it's a 30-year loan, but the entire remaining balance is due after 5 or 7 years. You get a low monthly payment but must refinance or sell before the balloon date. If property values drop or your credit deteriorates, you might not qualify to refinance — and you owe $370,000 in a lump sum. These were common before 2008 and contributed to the financial crisis.

Graduated payment mortgages (GPM): Payments start low and increase by a fixed percentage annually for 5-10 years, then level off. The early payments may not even cover the interest, causing negative amortization (your balance grows). These target young professionals expecting income growth, but if that growth doesn't materialize, you end up owing more than you borrowed.

The standard fixed-rate fully-amortizing mortgage is boring, but boring is good for the largest financial commitment most people make. The mortgage payment formula works perfectly for this type. For anything exotic, run the numbers carefully with our loan-calculator and understand exactly when and how your payment changes. If a loan officer can't explain the payment schedule in plain language, walk away.