Sub topic 2
Fees and the total cost of a loan
This chapter assumes you can compute percentages, read a monthly budget, and follow a short Python script. The examples use the standard amortization formula for fixed-rate loans.
Fees and the total cost of a loan
A loan's total cost is everything you pay beyond the amount you borrowed: all scheduled payments plus upfront fees, minus the principal. Compare offers on this number, not on the monthly payment alone.
def monthly_payment(principal, annual_rate, years):
r = annual_rate / 12
n = years * 12
if r == 0:
return principal / n
return principal * r / (1 - (1 + r) ** -n)
def total_cost(principal, annual_rate, years, upfront_fees=0.0):
payment = monthly_payment(principal, annual_rate, years)
return payment, payment * years * 12 + upfront_fees - principal
for name, rate, fee in [("Loan A", 0.07, 0), ("Loan B", 0.065, 800)]:
pay, cost = total_cost(20000, rate, 5, fee)
print(f"{name}: payment {pay:.2f}, total cost {cost:.2f}")Loan B has the lower rate and the lower payment, yet it costs about 4,280 in total against about 3,760 for Loan A.
Longer terms: lower payments, higher total cost
Stretching a loan over more years lowers the payment and raises the total interest. Run the same function with 7 years instead of 5 to see the effect.
Credit cards and the minimum-payment trap
Credit card interest compounds monthly on the unpaid balance. A minimum payment often covers little more than the month's interest. At 22% APR, a 5,000 balance paid at 100 a month takes about 11 years to clear and adds roughly 8,700 in interest.
Secured versus unsecured debt
Secured debt is backed by collateral, such as a house or car, which the lender can seize on default. Unsecured debt, such as most credit cards, has no collateral. Lenders charge more for unsecured debt because they recover less after a default.
Why your credit history changes your rate
Lenders price risk. A record of late payments or high utilization signals a higher chance of default, so the offered rate rises. The same loan can carry several percentage points more for a weaker borrower.
Inflation and the real cost of borrowing
Inflation lowers the real cost of fixed-rate debt because you repay with money that buys less. A 7% loan with 3% inflation has a real rate of about 4%. Variable-rate debt does not gain this benefit when rates rise.
A framework for good debt and bad debt
Judge a debt by four questions: does it produce expected return, what does it cost in interest, does it buy an asset that holds value, and how much risk does it add.
| Question | Helpful sign | Harmful sign |
|---|---|---|
| Expected return | Income or savings exceed the interest | Buys a depreciating good |
| Interest cost | Rate below the expected return | Rate above the likely return |
| Asset value | Asset holds or grows value | Asset loses value quickly |
| Risk | Payment fits your budget with a cushion | Payment depends on a best-case income |
Exercise: A 3,000 card balance at 24% APR is paid off at 150 a month. Which is the stronger reason to pay it first, the interest rate or the balance?
Exercise
A 3,000 card balance at 24% APR is paid off at 150 a month. Which is the stronger reason to pay it first, the interest rate or the balance?
Show answer
The interest rate. At 24%, the card costs about 2% a month, far more than most investments return after risk. Balance size alone does not change the cost, but the rate determines how fast the debt grows.