Sub topic 3
Loan terms: 15, 20, and 30 years
This chapter assumes you know the monthly payment formula, M = P·r / (1 − (1 + r)^−n), and the idea that interest accrues each month on the remaining balance. You should also be comfortable with simple Python. Here the focus is on n, the number of payments, and on what changing it does to your budget, your total cost, and your risk.
What the term is
The loan term is the length of time over which the schedule repays the loan in full. In the payment formula it appears as n = years × 12. The most common terms in the United States are 30 and 15 years. 20-year loans are less common, and 10-year and 40-year loans exist at some lenders.
Changing the term does not change how interest accrues. Each month the lender charges balance × annual_rate / 12. The term changes how fast the balance falls. A shorter term forces a larger payment, so more of each payment goes to principal, and the balance falls faster. Interest is charged on a smaller balance for the rest of the loan, and the total interest paid drops.
The same loan at three terms
To isolate the effect of the term, hold the principal ($300,000) and the rate (6.00%) fixed and vary only the term.
def monthly_payment(principal, annual_rate, years):
n = years * 12
r = annual_rate / 12
if r == 0:
return principal / n
return principal * r / (1 - (1 + r) ** -n)
principal, rate = 300_000, 0.06
first_interest = principal * rate / 12
print(f"{'Term':>5} {'Payment':>10} {'Total interest':>15} {'First-month interest share':>27}")
for years in (15, 20, 30):
pay = monthly_payment(principal, rate, years)
total_interest = pay * years * 12 - principal
share = first_interest / pay
print(f"{years:>5} {pay:>10,.2f} {total_interest:>15,.2f} {share:>26.0%}")Running it gives these values, with the totals rounded to the nearest dollar:
| Term | Monthly payment | Total interest | Interest share of first payment |
|---|---|---|---|
| 15 years | $2,531.57 | about $155,683 | 59% |
| 20 years | $2,149.29 | about $215,830 | 70% |
| 30 years | $1,798.65 | about $347,515 | 83% |
Three things stand out:
- The first month's interest is identical. It is $1,500 in all three cases, because the balance and rate are the same. Only the principal portion differs: about $1,032 on the 15-year loan against about $299 on the 30-year loan.
- The payment does not scale with the term. Cutting the term in half raises the payment by about 41%, not 100%. Going from 30 to 20 years raises it by about 19%.
- Total interest scales much more steeply than the payment. The 15-year loan costs about $192,000 less in interest than the 30-year loan, for about $733 more per month.
Why the payment grows slowly as the term shrinks
The payment has two parts: the interest that must be covered each month, and the principal that must be retired. On a long loan, the monthly payment is only slightly above the interest-only amount, which here is $1,500. The 30-year payment of $1,798.65 is only about 20% above that floor. Adding years pushes the payment toward the interest-only amount but never below it. This is why stretching from 30 to 40 years lowers the payment only a little, while adding a large amount of interest.
Rates differ by term
The comparison above holds the rate constant, but lenders usually do not. A 15-year loan typically carries a lower rate than a 30-year loan from the same lender. The lender's money is at risk for less time, and the loan balance falls faster. A 20-year loan usually falls between the two.
A lower rate widens the gap in total interest and narrows the gap in payment. Suppose the 15-year loan were 6.00% and the 30-year loan were 6.50%. The 30-year payment would rise to about $1,896, so the 15-year payment would be only about $635 higher. Always compare the actual offers you receive, not a single rate applied to every term.
The trade-off: payment flexibility against total cost
A 30-year loan is not simply a more expensive version of a 15-year loan. It gives you something the shorter loan does not: a lower required payment. The required payment is the amount you must pay to avoid default. A lower requirement has three practical benefits:
- Qualification. Lenders limit your debt-to-income ratio. A lower payment lets you qualify for a larger loan, or qualify at all.
- Cash-flow safety. If income drops, a $1,799 obligation is easier to meet than a $2,532 one.
- Choice. You can pay more than required whenever you wish. The reverse is not possible: you cannot pay less than a 15-year loan requires.
A common strategy is to take the longer term and voluntarily pay as if it were shorter. Here is how that works out when the 30-year rate is a bit higher than the 15-year rate:
from math import log
def months_to_payoff(principal, annual_rate, payment):
r = annual_rate / 12
if payment <= principal * r:
raise ValueError("payment does not cover the monthly interest")
return -log(1 - principal * r / payment) / log(1 + r)
# 30-year loan at 6.5%, but pay the 15-year-at-6.0% amount each month
months = months_to_payoff(300_000, 0.065, 2531.57)
print(round(months, 1)) # about 190 months, close to 15 yearsYou end up near the 15-year schedule, but the 30-year loan costs more in interest because its rate is higher. In exchange, the required payment stays low in any month when money is tight.
Choosing a term
Use these criteria in order:
- Can you afford the full housing payment? Include taxes, insurance, and any mortgage insurance. Do not pick a term based on principal and interest alone, since escrow items are added on top of the payment shown here.
- Is your income stable? Variable income favors a lower required payment.
- What else could the money do? Money paid to a mortgage earns a guaranteed return equal to the loan rate, in the form of interest avoided. Compare that to your other options, such as retirement contributions with an employer match or paying off higher-rate debt first.
- How long will you keep the loan? Many borrowers sell or refinance within 7 to 10 years. In that case, the lifetime interest figure matters less than the balance remaining at that point, which falls faster on shorter terms.
Common errors
- Comparing totals across different rates and ignoring the time value of money. Interest paid over 30 years is spread across a longer period, so the dollar totals overstate the difference somewhat in today's terms. The ranking of the terms stays the same.
- Treating the term as fixed. A refinance starts a new term. If you are seven years into a 30-year loan and refinance into another 30-year loan, you have restarted the clock, which can raise total interest even if the rate falls. Choose a term that matches your remaining time, or keep paying at the old payment amount.
- Confusing the amortization period with the rate-reset period. On an adjustable-rate loan, the term is the repayment period, but the rate can change sooner. A 30-year ARM is often fixed for only the first 5, 7, or 10 years.
- Forgetting the upfront cost of a shorter term. The higher payment also raises your debt-to-income ratio, which can reduce the loan amount you qualify for, and so the home price you can afford.
Exercise
A $300,000 loan at 6.00% has a 30-year payment of $1,798.65 and a 15-year payment of $2,531.57. The 15-year loan costs about $732.92 more per month. Roughly how much total interest does it save, and why is the saving so much larger than the extra monthly cost would suggest?
Show answer
The 30-year loan costs about $347,515 in interest and the 15-year loan about $155,683, so the saving is about $191,832. The saving is large because the higher payment retires principal faster. Interest then accrues on a smaller balance each month, and the effect compounds over all 180 months. In addition, the 30-year loan keeps a large balance outstanding for 15 more years.
Exercise
A borrower has a 30-year loan and wants the safety of a low required payment but also wants to pay it off in about 15 years. What is the downside compared with a true 15-year loan, and what is the benefit?
Show answer
The downside is that the 30-year loan usually has a higher interest rate, so the total interest paid is higher even when the payoff time is about the same. The benefit is flexibility: the required payment is lower, so if income falls the borrower can drop back to the smaller payment without defaulting.