The basic formula: principal, interest rate, and loan term

Your monthly loan payment is calculated using three numbers: the amount you borrowed (called principal), the interest rate the lender charges, and how many months you have to repay it. The formula multiplies the principal by a factor that accounts for both the interest rate and the loan length. This produces a single payment amount that stays the same every month — what's called an amortizing payment.

The actual math uses what lenders call the amortization formula. You don't need to calculate it by hand — your lender, your mortgage servicer, or any loan calculator will do it for you. But understanding what goes into the number helps you see why a lower interest rate or a longer loan term changes your payment so much.

The formula is: M = P × [r(1 + r)^n] / [(1 + r)^n − 1], where M is your monthly payment, P is the principal, r is the monthly interest rate (annual rate divided by 12), and n is the total number of payments. What matters is that every part of this affects your payment directly.

Key Takeaways

  • Your monthly payment depends on three things: how much you borrowed, the interest rate, and how many months you have to pay it back.
  • A lower interest rate reduces your payment because you pay less in interest each month, even though the principal stays the same.
  • A longer loan term (more months to repay) spreads the cost over more payments, lowering each one — but you pay more interest overall.
  • Early in the loan, most of your payment goes to interest; late in the loan, most goes to principal, which is why paying extra early saves the most money.
  • You can use an online amortization calculator to see how changes to rate, term, or principal affect your payment without doing the math yourself.

How interest rate changes your payment

The interest rate is the percentage of the principal the lender charges you per year. On a mortgage or car loan, even a difference of 0.5% changes your payment noticeably. On a $300,000 mortgage over 30 years, the difference between 6% and 6.5% is roughly $150 per month — money that goes to the lender instead of building equity in your home.

The reason is that interest compounds. At a higher rate, more of each early payment goes toward interest rather than reducing what you owe. This means you're paying interest on a larger balance for longer. At a lower rate, the opposite happens: more of each payment chips away at the principal immediately, so you pay less total interest by the end of the loan.

This is why shopping for a better interest rate before you lock in a loan matters so much. A rate 0.25% lower might cost you a small fee upfront but save you tens of thousands over the life of a 30-year mortgage.

How loan term affects your monthly payment and total cost

The loan term is how many months you have to repay. A 30-year mortgage is 360 payments; a 15-year mortgage is 180. Stretching the term to 40 years lowers your monthly payment but increases the total amount you pay in interest.

The trade-off is direct: a longer term means each payment is smaller because you're spreading the cost over more months. But you're also paying interest on the remaining balance for longer. On a $300,000 mortgage at 6%, a 30-year term costs roughly $215,000 in interest; a 15-year term costs roughly $110,000. The monthly payment on the 15-year loan is about $200 higher, but you save over $100,000 in interest and own the home free and clear 15 years sooner.

Conversely, if you can't afford the 15-year payment, the 30-year term makes homeownership possible — even though it costs more in the long run. The choice depends on your budget and your priorities.

Principal and how it affects the payment

The principal is the amount you borrow. A larger principal means a larger monthly payment, all else equal. If you borrow $300,000 instead of $250,000 at the same rate and term, your payment rises proportionally — roughly $200 per month higher in this case.

This is why a down payment matters. Putting down 20% instead of 5% on a home purchase reduces the principal you need to borrow, which lowers your monthly payment and the total interest you pay. On a $400,000 home, a 20% down payment ($80,000) means borrowing $320,000; a 5% down payment ($20,000) means borrowing $380,000. The difference in monthly payment is substantial, and you avoid paying mortgage insurance on top.

The principal also shrinks over time as you make payments. Early payments go mostly to interest, but as the principal balance falls, more of each payment goes toward reducing what you owe. This is why paying extra toward principal early in the loan saves the most money — you're reducing the balance that interest is calculated on for the rest of the loan.

Why your payment stays the same but interest and principal portions change

An amortizing loan has a fixed monthly payment, but the breakdown of that payment changes every month. Early on, most of the payment is interest; late in the loan, most is principal. This happens because interest is calculated on the remaining balance, which shrinks as you pay.

In month one of a 30-year, $300,000 mortgage at 6%, your payment might be roughly $1,799. Of that, about $1,500 goes to interest and $299 goes to principal. In month 360 (the last payment), almost all $1,799 goes to principal because the balance is nearly paid off and interest is tiny. This is why the amortization schedule — a table showing each payment's breakdown — looks like a pyramid: interest-heavy at the start, principal-heavy at the end.

Understanding this matters if you're considering paying extra. Paying an extra $100 per month early in the loan saves far more in total interest than paying an extra $100 per month near the end, because you're reducing the balance that interest is charged on for decades.

Using a calculator to see how changes affect your payment

You don't need to memorize or calculate the amortization formula. Online calculators — available from lenders, mortgage sites, and financial tools — let you plug in a principal, rate, and term and instantly see your monthly payment. Most also show you an amortization schedule and let you model "what if" scenarios.

Try changing one variable at a time to see the effect. Lower the rate by 0.5% and watch the payment drop. Extend the term by 5 years and watch it drop further. Increase the principal by $50,000 and watch it rise. These tools make it clear why rate shopping and down payment size matter so much — they show you the real dollars over the life of the loan.

Many lenders provide a loan estimate that includes the payment calculation, the amortization schedule, and all fees. This document is required by law and is free. Use it to compare offers from different lenders and to understand exactly what you're paying for.

What happens if you pay extra or pay early

If you pay more than your required monthly payment, the extra goes directly to principal (assuming your lender allows it without penalty — check your loan documents). This reduces the balance faster, which means less interest accrues in future months, which shortens the loan term and saves money overall.

Paying an extra $100 per month on a 30-year mortgage can cut 4 to 5 years off the loan and save tens of thousands in interest. Paying a lump sum — a bonus, a tax refund, an inheritance — toward principal has the same effect. The earlier you pay extra, the more interest you save, because you're reducing the balance for the longest period of time.

Some loans charge a prepayment penalty if you pay off the loan early or pay significantly extra. This is rare on mortgages but common on some car loans and personal loans. Always ask your lender whether your loan has a prepayment penalty before you commit to paying extra.

Frequently Asked Questions

Why does my payment stay the same if the interest rate is variable?

It doesn't. A fixed-rate loan has the same payment for the entire term. An adjustable-rate loan (ARM) has a fixed payment for an initial period — often 3, 5, 7, or 10 years — then the rate adjusts based on market conditions, and your payment recalculates. When the rate goes up, your payment goes up; when it goes down, your payment goes down. Your loan documents specify when and how often the rate can adjust.

Can I calculate my payment without a calculator?

The amortization formula is complex enough that hand calculation is impractical. Use an online calculator, a spreadsheet with a built-in PMT function, or ask your lender. All three give you the same answer and take seconds.

What if I want to know how much interest I'll pay over the life of the loan?

Multiply your monthly payment by the number of payments, then subtract the principal. On a $300,000 mortgage at 6% over 30 years, the payment is roughly $1,799, so total paid is $1,799 × 360 = $647,640. Subtract the $300,000 principal, and you've paid roughly $347,640 in interest. An amortization calculator shows this instantly.

Does paying biweekly instead of monthly change the formula?

No, but it changes the outcome. Biweekly payments are half your monthly payment, made every two weeks. Since there are 26 biweekly periods in a year instead of 12 months, you make 13 monthly payments' worth per year instead of 12. This extra payment per year reduces the principal faster and shortens the loan term. Check your loan documents to see if biweekly payments are allowed without penalty.

Why is my actual payment different from what the calculator shows?

Calculators show principal and interest only. Your actual payment may include property taxes, homeowners insurance, and mortgage insurance (PMI), which are bundled into one monthly bill called PITI. Your loan estimate breaks down all these pieces separately so you can see what goes where.