Quick answer: For a fixed-rate loan, the monthly payment is M = P × r(1 + r)^n ÷ ((1 + r)^n − 1), where P is the loan amount, r is the monthly interest rate, and n is the number of monthly payments. A $20,000 loan at 8% over 5 years costs $405.53 a month, and a $300,000 loan at 7% over 30 years costs $1,995.91 a month.
Before you sign any loan, there is one number that matters more than all the others: the monthly payment. It decides whether the loan fits your budget, how much interest you will pay in total, and whether a longer term is worth it. Lenders will show you the number, but knowing how it is calculated means you can check their figures, compare offers honestly, and see exactly what a lower rate or a bigger down payment would save you.
The Loan Payment Formula
Most personal loans, car loans, and mortgages are amortizing fixed-rate loans. That means you pay the same amount every month, and each payment covers the interest charged that month plus a slice of the original amount you borrowed. The formula that produces that fixed monthly payment is:
M = P × r(1 + r)^n ÷ ((1 + r)^n − 1)
The four parts are:
M is the monthly payment you are solving for. P is the principal, the amount you borrow. r is the monthly interest rate, which is the annual rate divided by 12. An 8% annual rate means r = 0.08 ÷ 12 = 0.0066667. n is the total number of monthly payments. A 5-year loan means n = 60, and a 30-year loan means n = 360.
The formula looks intimidating, but it does one simple thing: it finds the fixed payment that exactly pays off the loan, interest included, by the last month. You do not need to work it out by hand every time, but understanding the pieces helps you see why a small change in the rate or the term moves the payment as much as it does.
Worked Example 1: A $20,000 Loan at 8% Over 5 Years
Say you borrow $20,000 for a car at 8% annual interest, repaid over 5 years.
Step 1: Write down the inputs. P = $20,000, annual rate 8%, so r = 0.08 ÷ 12 = 0.0066667. The term is 5 years, so n = 60 payments. Step 2: Work out (1 + r)^n, which is 1.0066667^60 = 1.4898. Step 3: The top of the formula is P × r × 1.4898 = 20,000 × 0.0066667 × 1.4898 = 198.64. Step 4: The bottom is 1.4898 − 1 = 0.4898. Step 5: Divide: 198.64 ÷ 0.4898 = 405.53.
So the monthly payment is $405.53. Over 60 months you pay 60 × $405.53 = $24,331.67 in total, which means the interest costs you $4,331.67 on top of the $20,000 you borrowed. That is the true price of the loan, and it is the number worth comparing between lenders.
Worked Example 2: A $300,000 Loan at 7% Over 30 Years
Now a home loan: $300,000 at 7% annual interest over 30 years.
Step 1: P = $300,000, r = 0.07 ÷ 12 = 0.0058333, n = 360 payments. Step 2: (1 + r)^n is 1.0058333^360 = 8.1165. Step 3: Top of the formula: 300,000 × 0.0058333 × 8.1165 = 14,203.90. Step 4: Bottom: 8.1165 − 1 = 7.1165. Step 5: Divide: 14,203.90 ÷ 7.1165 = 1,995.91.
So the monthly payment is $1,995.91. Over 30 years you pay 360 × $1,995.91 = $718,526.69 in total, and the interest alone is $418,526.69, more than the amount you borrowed. That is the cost of a long term: the monthly payment stays manageable, but the total interest grows enormously. This is also why even a small rate cut matters so much on a mortgage: at 6% instead of 7%, the same loan would cost about $1,798.65 a month, saving nearly $200 every month.
Note that this covers principal and interest only. A real mortgage payment usually adds property tax, homeowners insurance, and sometimes mortgage insurance, which lenders group together as PITI. The formula gives you the core payment; the extras sit on top.
You can check any loan instantly with the loan calculator. Enter the amount, rate, and term and it shows the monthly payment, the total interest, and the full repayment schedule.
Why Early Payments Are Mostly Interest
One thing surprises almost every borrower: in the early years, most of each payment goes to interest, not to the loan itself. This is called amortization, and it follows directly from the formula.
Take the first payment of the $20,000 loan. The interest for the first month is the balance times the monthly rate: $20,000 × 0.0066667 = $133.33. Your payment is $405.53, so only $405.53 − $133.33 = $272.20 goes toward reducing the balance. In the second month, the balance is $19,727.80, so the interest is slightly lower at $131.52, and $274.01 goes to the principal. Month by month the balance falls, the interest slice shrinks, and the principal slice grows, until the final payments are almost entirely principal.
This is why extra payments early in a loan are so powerful. An extra $100 in the first year goes straight to the principal and saves you the interest that $100 would have attracted for the rest of the loan. The same $100 paid in the final year saves almost nothing, because there is barely any interest left to avoid.
How to Lower Your Monthly Payment
If the payment the formula gives you is too high, you have four levers, and each has a cost.
Borrow less. A bigger down payment shrinks the principal, which shrinks both the payment and the total interest. This is the only lever with no downside except needing the cash up front.
Take a longer term. Stretching a 5-year loan to 7 years lowers the monthly payment, but you pay far more interest overall, because the balance stays high for longer. Use a longer term only when the monthly budget truly needs it.
Get a lower rate. Even half a percentage point matters. On the $300,000 example, each 1% of rate is roughly $200 a month. Improving your credit score before applying, or comparing several lenders, is often worth more than haggling over fees.
Pay extra when you can. Extra payments cut the balance directly and shorten the loan. Check first that your lender does not charge a prepayment penalty, and ask for extra payments to be applied to the principal rather than treated as early future payments.
Common Mistakes to Avoid
The most common mistake is dividing the annual rate by 100 but forgetting to divide by 12 as well, which makes the monthly rate twelve times too large and the payment absurd. Always use the monthly rate in the formula.
The second is comparing loans by the monthly payment alone. A loan with a lower payment but a longer term usually costs much more in total. Compare the total interest as well, and the total amount you will pay over the life of the loan.
The third is forgetting the extras. For a mortgage, taxes and insurance can add hundreds of dollars a month on top of principal and interest. For a car loan, the dealer may add fees and extras into the amount financed, which raises the payment without raising the car's price. Ask for the full breakdown before you sign, and run the numbers yourself with the calculator.
Try it: Work out any loan in seconds with the Loan Calculator — enter the amount, rate, and term to see your monthly payment, total interest, and repayment schedule.
Frequently Asked Questions
What is the formula for a monthly loan payment? M = P × r(1 + r)^n ÷ ((1 + r)^n − 1), where P is the loan amount, r is the monthly interest rate (annual rate ÷ 12), and n is the number of monthly payments. For a $20,000 loan at 8% over 5 years, that gives $405.53 a month.
How much is the monthly payment on a $20,000 loan? At 8% over 5 years, $405.53 a month, with $4,331.67 of total interest. At a lower rate or a longer term the payment falls, but a longer term raises the total interest you pay.
What is amortization? Amortization is the schedule by which a loan is paid off in fixed monthly payments. Early payments go mostly to interest and later payments mostly to the principal, because interest is charged on the remaining balance, which shrinks over time.
Does paying extra on a loan save money? Yes, extra payments go straight to the principal and reduce the interest charged in every following month. Extra payments early in the loan save the most. Check that your lender applies them to the principal and does not charge a prepayment penalty.