How to Calculate a Loan Payment
The amortization formula behind every fixed monthly payment, explained plainly.
5 min read
Step by step
- Convert the annual rate to a monthly rate: rate ÷ 100 ÷ 12.
- Count the total number of monthly payments (years × 12).
- Payment = principal × r ÷ (1 − (1 + r)^−n).
- Example: $20,000 at 5% over 5 years is about $377.42 per month.
Key takeaway: Interest is charged on the remaining balance, so it shrinks every month.
The amortization formula
A fixed-rate loan payment is P × r ÷ (1 − (1 + r)^−n), where P is the principal, r is the monthly interest rate (annual rate ÷ 12 ÷ 100) and n is the total number of monthly payments. The formula spreads principal and interest so every payment is identical.
Example: $20,000 at 5% for 5 years. The monthly rate is 0.0041667 and n is 60, giving a payment of $377.42. Over the life of the loan you pay $2,645.48 in interest on top of the $20,000 borrowed.
What changes the payment most
The term matters as much as the rate. Stretching that $20,000 loan from 5 to 7 years drops the payment to about $282.70 but raises total interest to roughly $3,745. Shorter terms cost more per month but far less overall.
Rate shopping has a similar lever: each percentage point on a 5-year $20,000 loan changes the payment by roughly $9 and total interest by about $540.
What the formula leaves out
The payment above covers principal and interest only. Real loans can add origination fees, insurance, and — for mortgages — property tax and homeowners insurance collected in escrow.
Variable-rate loans also break the fixed-payment assumption: when the rate resets, the payment is recalculated over the remaining term and balance.
Do it automatically
Monthly payment, total interest and a full amortization schedule.
Open the Loan Payment Calculator