What the monthly payment formula does
The monthly payment formula calculates how much you owe each month on a loan. It takes three pieces of information — the amount you borrowed, the interest rate, and how many months you have to pay it back — and produces a single number: your payment.
This formula is used by banks, credit card companies, auto lenders, and mortgage lenders. Understanding it helps you see why your payment is what it is, how much interest you are actually paying, and what happens if you change the loan terms.
Key Takeaways
- The monthly payment formula uses the loan amount, annual interest rate, and number of months to calculate what you owe each month.
- The formula assumes you make the same payment every month and that the interest rate does not change.
- A higher interest rate or shorter payoff period raises your monthly payment; a lower rate or longer period lowers it.
- You can use this formula to compare loan offers or to understand why two loans with the same amount borrowed have different monthly payments.
The formula and what each part means
The standard monthly payment formula is:
M = P × [r(1 + r)^n] / [(1 + r)^n − 1]
Here is what each letter represents:
- M = your monthly payment (the number you are solving for)
- P = the principal, or the amount you borrowed
- r = the monthly interest rate (the annual rate divided by 12)
- n = the total number of monthly payments (the number of years times 12)
The formula works because it spreads the principal and interest across equal payments. Early payments cover more interest; later payments cover more principal. The formula balances these so that each payment is the same amount.
Working through a real example
Say you borrow $10,000 for a car at 6% annual interest over 5 years (60 months).
Step 1: Convert the annual rate to a monthly rate. Divide 6% by 12: 0.06 ÷ 12 = 0.005 (this is r).
Step 2: Count the total number of payments. 5 years × 12 months = 60 payments (this is n).
Step 3: Plug the numbers into the formula.
M = 10,000 × [0.005(1.005)^60] / [(1.005)^60 − 1]
Step 4: Solve the exponents. (1.005)^60 = 1.34885 (approximately).
M = 10,000 × [0.005 × 1.34885] / [1.34885 − 1] M = 10,000 × [0.00674425] / [0.34885] M = 10,000 × 0.01933 M = $193.33
Your monthly payment is $193.33. Over 60 months, you will pay $11,599.80 total — meaning $1,599.80 goes to interest.
How interest rate changes affect your payment
The interest rate has the largest effect on your monthly payment. A small change in the rate can add or subtract hundreds of dollars over the life of the loan.
Using the same $10,000 car loan over 5 years, here is how the payment changes with different rates:
| Annual Interest Rate | Monthly Payment | Total Interest Paid |
|---|---|---|
| 3% | $186.00 | $1,160 |
| 6% | $193.33 | $1,599.80 |
| 9% | $207.58 | $2,454.80 |
| 12% | $222.44 | $3,346.40 |
A 3% difference in rate (from 6% to 9%) raises your payment by $14.25 per month and costs you $855 more in interest over the life of the loan. This is why shopping for the lowest rate matters, especially on large loans like mortgages.
How loan length affects your payment
Extending the payoff period lowers your monthly payment but increases the total interest you pay. Shortening it does the opposite.
Using the same $10,000 car loan at 6% interest, here is how the payment changes with different loan lengths:
| Loan Length | Monthly Payment | Total Interest Paid |
|---|---|---|
| 3 years (36 months) | $299.71 | $799.56 |
| 5 years (60 months) | $193.33 | $1,599.80 |
| 7 years (84 months) | $152.27 | $2,790.68 |
A 3-year loan costs $107.38 more per month than a 5-year loan, but you pay $800 less in interest. A 7-year loan saves $41 per month compared to 5 years, but costs you $1,190 more in interest. The choice depends on whether you prioritize a lower monthly payment or lower total cost.
Why lenders use this formula
This formula ensures that each payment covers both interest and principal in a way that pays off the loan exactly on time. If you pay exactly M each month for n months, the loan balance reaches zero on the final payment.
If you pay more than M, you reduce the principal faster, which lowers the total interest you pay and shortens the loan. If you pay less than M, you violate the loan agreement and may face penalties.
The formula also assumes the interest rate stays the same for the entire loan. With adjustable-rate loans (like some mortgages), the rate can change, which means your payment may change too. The formula recalculates with the new rate and remaining balance.
Tools and calculators versus doing it by hand
You can solve this formula with a scientific calculator, a spreadsheet, or an online loan calculator. Most people use a calculator because the exponents are tedious to compute by hand.
A spreadsheet like Excel or Google Sheets has a built-in function called PMT that does this calculation when ready. You enter the rate, number of periods, and loan amount, and it returns your payment.
Online calculators are the fastest route if you just want to compare offers. Enter the loan amount, rate, and term, and the calculator shows your payment and total interest. These tools are useful for seeing how different rates or terms affect your payment before you commit to a loan.
Frequently Asked Questions
Why is my actual payment different from what the formula gives me?
The formula calculates the base payment for principal and interest only. Your actual payment may include property taxes, insurance, homeowners association fees, or other costs. A mortgage payment, for example, often includes taxes and insurance on top of the principal and interest calculated by the formula.
Does this formula work for credit cards?
Credit cards do not use a fixed payment schedule like this formula assumes. Instead, you can pay any amount each month (as long as it meets a minimum). The formula does show what your payment would need to be to pay off a credit card balance in a set number of months, which is useful for planning.
What happens if I pay extra toward the principal?
Extra payments reduce the remaining balance, which means less interest accrues in future months and the loan ends early. The formula does not account for extra payments — it only calculates the standard payment needed to pay off the loan on schedule.
Can I use this formula for student loans?
Yes, for standard repayment plans. Federal student loans with fixed interest rates and a set payoff period use this formula. Income-driven repayment plans, however, calculate payments differently — they base the payment on your income rather than the loan amount and term.
Why does the formula use monthly interest rate instead of annual?
Because you make monthly payments, not annual ones. The formula needs the rate that applies to each payment period. Dividing the annual rate by 12 gives you the monthly rate, which is then applied to your remaining balance each month.