Sub topic 2
Adjustable-rate mortgages: index, margin, and caps
This chapter assumes you know percentages, compound interest, and basic Python. You do not need to have read the earlier chapters.
An adjustable-rate mortgage (ARM) is a loan whose interest rate changes at set intervals. Each new rate equals an index plus a margin. The index is a public benchmark that moves with the market. The margin is a fixed percentage in your contract. For example, an index of 4.0% plus a margin of 2.5% gives a rate of 6.5%.
Caps limit how far the rate can move. A periodic cap limits each reset, and a lifetime cap limits the highest rate the loan can reach.
Calculating the monthly payment
The fixed payment M depends on principal P, monthly rate r, and number of payments n:
M = P·r / (1 − (1 + r)^−n)
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)
print(round(monthly_payment(300_000, 0.06, 30), 2)) # 1798.65Amortization: where each payment goes
Each payment first covers the interest on the current balance. The rest reduces principal. On the $300,000 loan at 6%, the first month's interest is 300,000 × 0.005 = $1,500. Only $298.65 reduces principal. Early payments are mostly interest, and the share going to principal grows over time.
Down payment and loan-to-value ratio
The loan-to-value ratio (LTV) is the loan divided by the property value. A $60,000 down payment on a $300,000 home leaves a $240,000 loan, so the LTV is 80%. Lenders usually require mortgage insurance when the LTV is above 80%.
Mortgage insurance and when it ends
Private mortgage insurance (PMI) protects the lender, not you. On conventional loans in the US, the lender must drop PMI automatically once the scheduled balance reaches 78% of the original home value. You can ask to cancel it at 80%.
Exercise
Using the $300,000 loan at 6% over 30 years, when does the balance reach 80% of the original $300,000 price, given the LTV rule above?
Show answer
The balance must fall to $240,000 for an 80% LTV. The loan starts at $240,000 after a 20% down payment, so PMI is already removed only if the balance was at or below 80% from the start. Here the $240,000 loan is exactly 80%, so you can request cancellation immediately, and the lender must drop it at 78%, which is $234,000.