Sub topic 1
Why monthly payment alone is the wrong comparison
Most people start the rent-versus-buy question by comparing two monthly numbers: the rent and the mortgage payment. That comparison feels natural because both arrive as a bill each month. It is also misleading, and this chapter explains why. It sets up the framework used in the rest of the tutorial.
Prerequisites
This chapter assumes you can:
- Work with percentages and compound growth, for example how $1,000 grows at 5% per year.
- Read a monthly budget and tell fixed costs from variable ones.
- Describe a mortgage (a loan secured by the home) and a lease (a contract to rent for a set period) in a sentence each.
- Read short Python functions. The code here uses only the standard library.
Later chapters cover each topic in detail. Here you only need the overall picture.
The tempting comparison
Suppose you can rent a home for $2,000 per month, or buy a similar $400,000 home with a 20% down payment and a 30-year fixed mortgage at 6%. The loan is $320,000, and the payment on it is about $1,918.56 per month.
The mortgage payment looks lower than the rent, so buying seems cheaper. Three problems make that conclusion unreliable:
- The mortgage payment is not the full cost of owning. Taxes, insurance and maintenance come on top of it.
- Part of each payment is not a cost at all. The principal portion reduces your debt, so it builds something you own.
- The comparison ignores the cash you must have before the first payment, and what that cash could have earned elsewhere.
A monthly comparison mixes costs that disappear (interest, rent) with spending that you get back (principal repaid). It also leaves out money that never appears on a monthly bill, such as the down payment and the fees you pay when you sell.
Compare wealth, not payments
A better question is: "After N years, which choice leaves me with more net wealth?" Net wealth is everything you own minus everything you owe.
- A renter ends up with whatever they invested instead of buying.
- An owner ends up with the home's sale price, minus selling costs, minus the remaining loan.
The two paths must also start from the same budget. If the owner spends $2,585 per month and the renter spends $2,000, the renter has $585 left over. That money goes into the renter's investments. A fair comparison counts it. Without that step, you are comparing a household that spends more with one that spends less and discarding the difference.
What the monthly number leaves out
The table lists each item, whether the monthly payment comparison captures it, and the chapter in this tutorial that treats it.
| Item | Shows up in the payment comparison? | Why it matters |
|---|---|---|
| Interest on the loan | Yes, inside the payment | A true cost, never recovered |
| Principal repaid | Yes, inside the payment | Not a cost. It raises your equity (the part of the home you own outright) |
| Property tax, insurance, maintenance | No | Often 1% to 3% of the home's value each year |
| Down payment and closing costs | No | Large one-time cash, and that cash could have been invested |
| Home price changes | No | Can add to or subtract from your wealth |
| Selling costs | No | Commonly several percent of the price, paid when you leave |
| Rent increases | No | Rent usually rises each year, while a fixed-rate payment does not |
| Investment returns on spare cash | No | The renter's main source of wealth growth |
Two items point in opposite directions. Principal repaid makes buying look worse than it is (a part of the payment is savings). Missing ownership costs and the opportunity cost of the down payment make buying look better than it is. Because the errors push both ways, you cannot fix the comparison by adjusting the monthly number up or down by a rule of thumb. You need to count everything.
A worked first-month example
The code below takes the example from this chapter and builds the owner's first-month picture in two ways. The first way is the bill you receive. The second is the economic cost, which counts only what you do not get back and adds the cost of tying up your cash.
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)
price = 400_000
down_pct = 0.20
mort_rate = 0.06
term = 30
carry_rate = 0.02 # tax, insurance and maintenance per year, as a share of value
invest_return = 0.05 # what the down payment could earn if invested instead
appreciation = 0.03 # assumed yearly price growth (uncertain)
rent = 2_000
down = price * down_pct
loan = price - down
pay = monthly_payment(loan, mort_rate, term)
interest = loan * mort_rate / 12
principal_paid = pay - interest
carry = price * carry_rate / 12
bill = pay + carry
print("Monthly bill to the owner:", round(bill, 2))
print("Rent:", rent)
print("Bill difference (owner - rent):", round(bill - rent, 2))
# Money that is gone for good each month, not counting the unused cash
gone = interest + carry
print("Interest + carry (gone):", round(gone, 2))
print("Principal repaid (becomes equity):", round(principal_paid, 2))
# Add the return the down payment could have earned elsewhere
opportunity = down * invest_return / 12
# Subtract the expected monthly gain in the home's value
gain = price * appreciation / 12
economic_cost = gone + opportunity - gain
print("Opportunity cost of the down payment:", round(opportunity, 2))
print("Expected price gain this month:", round(gain, 2))
print("Economic cost of owning:", round(economic_cost, 2))Running it prints these values (rounded to cents):
- The owner's monthly bill is about $2,585.23, which is $585.23 more than the $2,000 rent.
- The money that is gone is interest ($1,600.00) plus carrying costs ($666.67), which is $2,266.67. Principal repaid is only about $318.56, because early payments are mostly interest.
- The down payment's opportunity cost is $333.33 per month, and the assumed price gain is $1,000.00 per month.
- The economic cost of owning comes to $1,600.00 per month, which is below the $2,000 rent.
The conclusion depends on the sign you give each piece. The bill says buying costs $585 more per month. The economic view says buying costs $400 less per month, but only if prices rise 3% every year and the down payment would earn only 5%. Change either assumption and the answer changes. The payment alone could not have shown you that.
Common errors
These mistakes come up repeatedly when people compare only monthly payments.
- Treating the whole payment as lost. Principal is equity. Calling it "throwing money away" overstates ownership costs. But calling it "free savings" ignores that early payments are mostly interest, so equity builds slowly.
- Forgetting the renter's savings. If the owner pays more per month, the renter keeps the difference. If the renter pays more, the owner invests the gap. Either way, the difference must be tracked in both directions.
- Leaving out the down payment's alternative use. $80,000 locked into a house is $80,000 not in an investment account. This is true even if you already have the cash.
- Using today's rent for all future years. A fixed-rate mortgage payment stays constant while rent tends to rise. A comparison that holds rent flat understates renting costs over a long stay.
- Comparing at an arbitrary point in time. Buying has large up-front and exit costs. A short stay spreads them over few months, so the same house can lose to renting at three years and win at fifteen. The result depends on how long you stay.
- Mixing nominal and real values. Mix today's dollars and future dollars carelessly and you add up numbers that are not comparable. Pick one convention and keep it.
How the rest of the tutorial builds on this
The framework from this chapter is: compare net wealth at a specific time, give both households the same budget, and count every cost, including cash that is tied up. Each following chapter fills in one piece:
- What renting really costs, and what owning costs beyond the mortgage.
- Down payment, closing costs and the opportunity cost of cash.
- How a mortgage payment is built, and how equity grows.
- Selling costs and the break-even time horizon.
- Taxes and incentives, which vary by location.
- A simple simulation, and a test of which assumptions matter most.
- Flexibility, risk and lifestyle factors that numbers do not capture.
Exercise
A household can rent for $2,000 per month or buy with a mortgage payment of $1,800 plus $600 per month in taxes, insurance and maintenance. A friend says buying is cheaper because the mortgage payment is below the rent. Give two reasons the friend's comparison is incomplete, and say what the owner's $2,400 monthly outlay still leaves out.
Show answer
First, the friend left out the $600 of taxes, insurance and maintenance. The true monthly outlay is $2,400, which is $400 more than the rent. Second, the friend ignored that part of the $1,800 payment is principal, which builds equity. So the real cost of owning is lower than $2,400 by the amount of principal repaid, but it is also higher once you add the opportunity cost of the down payment. The $2,400 still leaves out the down payment and closing costs, the return those funds could have earned, any change in the home's price, and the selling costs paid when you leave. A fair comparison puts both households on the same budget (the renter invests the difference) and compares net wealth at a chosen time horizon.
Exercise
In the worked example, why does the owner's economic cost of $1,600 per month look lower than the $2,585 bill? Name the two adjustments and say which one you trust less.
Show answer
Starting from the $2,585 bill, the first adjustment removes principal repaid (about $318.56), because that becomes equity rather than a lost cost. The second subtracts the expected monthly price gain of $1,000, and the opportunity cost of the down payment ($333.33) is added back as a cost. The price gain is the least reliable, because it is an assumption about the future that you realize only when you sell, and prices can be flat or fall.