What the monthly payment formula does

The monthly payment formula calculates how much you owe each month on a loan or installment debt. It takes three pieces of information — the amount you borrowed, the interest rate, and how many months you have to repay — and produces a single number: your fixed monthly payment. This payment stays the same every month (unless your interest rate adjusts), and it covers both principal and interest so that the loan is fully paid off on the final due date.

The formula exists because lenders need a way to spread repayment evenly across time. Without it, you would either pay nothing for months and then a huge lump sum at the end, or the lender would have to guess at a payment amount that might leave you overpaying or underpaying. The formula ensures both you and the lender know exactly what the monthly obligation is from day one.

Key Takeaways

  • The monthly payment formula divides your loan into equal payments that cover both principal and interest over a fixed period.
  • The three inputs are loan amount, annual interest rate, and number of months — everything else flows from those three numbers.
  • A higher interest rate or shorter repayment period raises your monthly payment; a lower rate or longer period lowers it.
  • You can calculate your payment by hand using the formula, or use a loan calculator, spreadsheet, or your lender's statement to verify the number.

The three inputs: principal, rate, and term

Principal is the amount you borrowed — the starting balance before any interest accrues. If you took out a $10,000 car loan, the principal is $10,000. If you borrowed $250,000 for a house, that is your principal.

Interest rate is the annual percentage rate (APR) that the lender charges. This is usually stated as a yearly rate — for example, 5% per year or 7.5% per year — even though you pay monthly. The formula converts this annual rate into a monthly rate by dividing by 12. A 6% annual rate becomes 0.5% per month (6 ÷ 12 = 0.5).

Term is how long you have to repay the loan, stated in months. A 5-year car loan is 60 months. A 30-year mortgage is 360 months. The longer the term, the more months your payment is spread across, which lowers the monthly amount — but you pay more interest overall because interest accrues for longer.

The formula itself

The standard monthly payment formula is:

M = P × [r(1 + r)^n] / [(1 + r)^n − 1]

Where:

  • M = monthly payment
  • P = principal (loan amount)
  • r = monthly interest rate (annual rate ÷ 12)
  • n = number of months

The formula looks intimidating, but it is solving one problem: how much of each payment goes to interest, and how much goes to principal, so that the loan is paid off exactly when the term ends. Early payments are weighted more toward interest; later payments are weighted more toward principal. The formula ensures those weights balance so the final payment brings the balance to zero.

A worked example

Suppose you borrow $20,000 for a car at 4.8% annual interest over 60 months (5 years). Here is how the formula works:

  • P = $20,000
  • Annual rate = 4.8%, so monthly rate r = 4.8 ÷ 12 = 0.4% = 0.004
  • n = 60 months

Plugging into the formula:

M = 20,000 × [0.004(1.004)^60] / [(1.004)^60 − 1]

Working through the exponent: (1.004)^60 ≈ 1.2704. Then:

M = 20,000 × [0.004 × 1.2704] / [1.2704 − 1] M = 20,000 × [0.005082] / [0.2704] M = 20,000 × 0.01880 M ≈ $376

Your monthly payment would be approximately $376. Over 60 months, you pay $376 × 60 = $22,560 total, meaning you pay about $2,560 in interest.

How changes to the inputs affect your payment

If you increase the principal, your monthly payment goes up proportionally. Borrow $30,000 instead of $20,000 at the same rate and term, and your payment rises by 50%.

If you increase the interest rate, your monthly payment rises, and you pay significantly more interest over the life of the loan. A 1% higher rate on that same $20,000 car loan would raise your monthly payment by roughly $30 to $40 and add hundreds of dollars in total interest.

If you extend the term — say, from 60 months to 72 months — your monthly payment drops because the same amount is spread across more months. However, the loan accrues interest for longer, so you pay more total interest even though each month's payment is smaller. This is why a 7-year car loan costs more in total interest than a 5-year loan, even though the monthly payment is lower.

Where you will see this formula in practice

Your lender uses this formula to calculate the payment shown on your loan documents, payment coupon, or online account. Mortgage statements, car loan contracts, and personal loan agreements all display a monthly payment that was derived from this formula.

You can verify the payment yourself using a spreadsheet (Excel, Google Sheets) with the PMT function, a loan calculator on your lender's website, or by working through the formula by hand if you have a calculator. Most lenders also publish an amortization schedule — a month-by-month breakdown showing how much of each payment goes to principal versus interest. That schedule is built from this same formula.

If your interest rate is adjustable (as with some mortgages or credit cards), the formula recalculates whenever the rate changes, and your payment adjusts accordingly. Fixed-rate loans use the formula once at the beginning, and your payment stays the same for the entire term.

Why the formula matters to you

Understanding the formula helps you make better borrowing decisions. You can see when ready why a lower interest rate saves you money — it reduces the numerator in the formula, lowering M. You can see why extending the loan term lowers the monthly payment but increases total cost. You can compare loan offers by plugging the numbers in yourself rather than relying only on what a lender tells you.

The formula also explains why your early payments barely reduce the principal. In the first month of a loan, most of your payment covers interest because the balance is highest. As you pay down the principal, more of each payment goes toward principal and less toward interest. This is not a trick — it is how the formula distributes the cost of borrowing across time.

Frequently Asked Questions

Can I use this formula for credit cards?

The formula applies to credit cards only if you have a fixed balance, a fixed interest rate, and a set payoff date. Most credit cards have variable rates and balances that change monthly, so the formula recalculates constantly. For a fixed-rate balance transfer or a card with a promotional fixed rate, you can use the formula to estimate what a fixed monthly payment would need to be to pay off the balance in a certain number of months.

What if my loan has a balloon payment at the end?

The standard formula assumes you pay the loan off completely with equal monthly payments. If your loan has a balloon payment — a large lump sum due at the end — the formula changes because the final payment is not the same as the others. Your lender will calculate this adjusted payment for you, and it will be lower than the standard formula would suggest because part of the debt is deferred to the balloon.

Why does my payment not match the formula when I calculate it?

Small differences usually come from rounding at each step of the calculation. If the difference is large, check that you converted the annual interest rate to a monthly rate (divide by 12) and that you counted the term in months, not years. Also verify that the rate you are using matches what is on your loan documents — sometimes the stated rate and the actual rate used differ slightly.

Does the formula change if I make extra payments?

The formula itself does not change, but extra payments reduce the principal faster, which means you pay off the loan early and pay less total interest. The formula assumes you make only the required monthly payment; anything beyond that accelerates the payoff schedule.

How do lenders decide what term to offer?

Lenders offer different terms based on the type of loan, the borrower's creditworthiness, and market conditions. Car loans typically range from 36 to 84 months; mortgages from 15 to 30 years. A longer term lowers your monthly payment but increases the lender's risk because you owe money for longer. You can often choose the term when you borrow, and the formula shows you the trade-off between a lower monthly payment and higher total interest.