The loan payment formula is PMT = P × r ÷ (1 − (1 + r)^−n), where P is the amount borrowed, r is the monthly interest rate, and n is the number of monthly payments. It calculates the fixed payment that pays off an amortizing loan, including both principal and interest, by the end of the term.

What is the loan payment formula?

The formula has three inputs and one output. The output is the monthly payment, which stays the same every month on a fixed-rate loan.

P is the loan amount, the full balance you borrow. r is the monthly rate: the annual percentage rate divided by 12. n is the total number of monthly payments, which is the term in years multiplied by 12.

The denominator, 1 − (1 + r)^−n, adjusts for the fact that money paid later is worth less than money paid today. Without it, you would just divide the loan by the number of months, which ignores interest.

The formula works for any fixed-rate, fully amortizing loan: personal loans, auto loans, mortgages, and business loans. It does not work for interest-only loans, balloon loans, or loans with variable rates that change the payment. The split between interest and principal changes each month, as what amortization is explains.

How do you calculate a monthly loan payment step by step?

Step 1: Convert the annual rate to a monthly rate

Divide the annual rate by 12. For an 8% annual rate, the monthly rate is 8% ÷ 12 = 0.6667%, or 0.006667 as a decimal. Use the decimal in the formula, not the percentage.

Step 2: Count the number of payments

Multiply the term in years by 12. A 5-year loan has 60 monthly payments.

A 3-year loan has 36. Use the number of months, not years, in the formula.

Step 3: Plug the numbers into the formula

Use PMT = P × r ÷ (1 − (1 + r)^−n). Multiply the loan amount by the monthly rate, then divide by the denominator. A calculator or spreadsheet handles the exponent.

Step 4: Check the total cost

Multiply the monthly payment by the number of payments to get total paid. Subtract the loan amount to get total interest. This step shows what the loan really costs, not just what it costs per month.

For a $25,000 loan at 8% over 60 months, the monthly rate is 0.006667 and n is 60. The formula gives $506.91 a month. Total paid is $506.91 × 60 = $30,414.60, and total interest is $30,414.60 − $25,000 = $5,414.60.

What does the formula look like for a $25,000 loan at 8%?

The same example with the numbers filled in: PMT = 25,000 × 0.006667 ÷ (1 − (1 + 0.006667)^−60) = $506.91. The result matches the published payment for this loan.

Break it into two parts. The numerator is 25,000 × 0.006667 = 166.667.

The denominator is 1 − (1.006667)^−60. Since (1.006667)^60 is about 1.4898, its inverse is about 0.6712, so the denominator is about 0.3288.

Dividing 166.667 by 0.3288 gives 506.9, rounded to $506.91.

Total paid is $506.91 × 60 = $30,414.60. Total interest is $5,414.60, which is 21.7% of the amount borrowed. That percentage is the price of the loan over five years.

How do different loan terms change the payment?

A longer term lowers the monthly payment but raises the total interest. The table shows the same $25,000 loan at 8% over four terms.

TermMonthly paymentTotal interest
36 months$783.41$3,202.76
48 months$610.32$4,295.36
60 months$506.91$5,414.60
72 months$438.33$6,559.76

The 36-month loan costs $783.41 a month and $3,202.76 in interest. The 72-month loan costs $438.33 a month but $6,559.76 in interest. The payment falls by $345.08, while the interest more than doubles.

Compare 60 months to 36 months: the payment rises by $276.50, but the interest falls by $2,211.84. Compare 60 months to 72 months: the payment falls by $68.58, but the interest rises by $1,145.16.

That trade-off is the main decision. A shorter term suits a borrower who can afford the higher payment and wants to pay less interest.

A longer term suits a borrower who needs a lower payment and accepts the higher total cost. The loan payment calculator lets you run both terms side by side.

How do fees change the loan payment formula?

Fees do not change the monthly payment formula. The payment is calculated on the full loan amount, and the fee is taken out before you receive the money. That means you pay interest on money you never see.

For example, a $50,000 business loan at 9% over 60 months has a payment of $1,037.92. If the lender charges $1,500 in fees, you receive $48,500, but the payment stays $1,037.92.

The APR rises to 10.31%, and the total cost is $13,775.20. The business loans guide covers the fee calculation in more detail.

The same logic applies to personal loans. A $10,000 personal loan at 10% over 36 months pays $322.67 a month. With a 3% origination fee, you receive $9,700, the APR is 12.11%, and the total cost is $1,916.12.

To compare loans with fees, use the APR, not the rate. The APR solves for the rate that makes the net proceeds equal the present value of the payments. The personal loans guide shows the full calculation for a 3% fee.

What are common mistakes when using the loan payment formula?

  • Comparing monthly payments only. A lower payment from a longer term is not a cheaper loan. The 72-month example has the lowest payment and the highest interest.
  • Ignoring fees. The payment formula uses the full loan amount. If the lender deducts a fee, you receive less but still pay interest on the full amount, so the true cost is higher than the payment suggests.
  • Stretching the term to fit the payment. If the 60-month payment is too high, a 72-month term adds $1,145.16 of interest for a $68.58 monthly saving. A smaller loan or a larger down payment is often the better fix.
  • Forgetting to check the rate type. The formula assumes a fixed rate. A variable-rate loan can change the payment, and an interest-only loan does not follow this formula at all.
  • Not checking for a prepayment penalty. Paying off early saves interest, but some loans charge a fee for it. Check the loan agreement before you plan to pay extra.