Sub topic 4
How a Fixed-Rate Loan Payment Is Calculated
Assume you can do basic percentage arithmetic, read a monthly budget, and recognize terms such as principal, interest rate, and loan term. This chapter shows how a fixed-rate loan turns those inputs into one scheduled monthly payment.
The amortization model
A fixed-rate loan has:
- Principal, the amount borrowed.
- Interest rate, the cost of borrowing, usually stated as an annual percentage.
- Term, the time allowed for repayment.
- Payment, the amount due each period.
A fully amortizing loan is paid down to zero through regular payments. Each payment covers the interest charged for that month. The rest reduces the principal.
For a monthly payment, convert the annual rate to a monthly rate:
\[ r = \frac{\text{annual rate}}{12} \]
Then calculate the number of payments:
\[ n = \text{years} \times 12 \]
The standard amortization formula is:
\[ P = \frac{Lr}{1-(1+r)^{-n}} \]
Here, \(P\) is the monthly payment, \(L\) is the original loan amount, \(r\) is the monthly interest rate, and \(n\) is the total number of monthly payments.
If the interest rate is zero, divide the principal directly by the number of payments.
Worked example
Suppose you borrow $20,000 at a 7% annual rate for five years.
- \(L = 20{,}000\)
- \(r = 0.07 / 12 = 0.0058333\)
- \(n = 5 \times 12 = 60\)
The monthly payment is about $396.02. Over 60 payments, you pay about $23,761.20. The difference, about $3,761.20, is interest.
| Item | Calculation | Result |
|---|---|---|
| Principal | — | $20,000.00 |
| Monthly rate | 7% ÷ 12 | 0.5833% |
| Number of payments | 5 × 12 | 60 |
| Monthly payment | Amortization formula | $396.02 |
| Total interest | $396.02 × 60 − $20,000 | $3,761.20 |
The payment stays the same in a standard fixed-rate loan, but its internal parts change. Early payments contain more interest because the outstanding balance is largest. Later payments contain more principal because the balance has fallen.
Checking the calculation with Python
This program uses the same formula:
def monthly_payment(principal, annual_rate, years):
"""Return the fixed monthly payment for a fully amortizing loan."""
rate = annual_rate / 12
payments = years * 12
if rate == 0:
return principal / payments
return principal * rate / (1 - (1 + rate) ** -payments)
payment = monthly_payment(20_000, 0.07, 5)
total_paid = payment * 5 * 12
total_interest = total_paid - 20_000
print(f"Monthly payment: ${payment:.2f}")
print(f"Total interest: ${total_interest:.2f}")The formula describes principal and interest only. A lender may also collect fees, insurance, or property taxes. Those costs can change the amount you must pay each month even when the loan payment itself is fixed.
Exercise
What is the approximate monthly payment on a $10,000 loan at 6% annual interest for three years?
Show answer
About $304.22 per month. The calculation uses a monthly rate of 0.06 ÷ 12 and 36 total payments.