Buying vs Renting (And Investing): The Real Math
September 25, 2024 · Alexander Whaley

In 2016, I was paying $1,200/month in rent for a 2-bedroom apartment. My friend Mike was paying $1,800/month for a mortgage on a similar place. “You’re throwing money away,” he told me. “You should buy.”
I almost did. I had $30,000 saved for a down payment. I could afford the mortgage. Everyone said buying was a no-brainer.
But I ran the numbers. And the numbers told a different story.
If I’d bought that $250,000 house in 2016, I’d have paid $1,800/month (mortgage, taxes, insurance, maintenance). Over 5 years, that’s $108,000 in housing costs. I’d have built $25,000 in equity (principal paydown + appreciation). But I’d have spent $83,000 on interest, taxes, insurance, and maintenance — money I’d never get back.
Instead, I kept renting for $1,200/month and invested the $600/month difference. Over 5 years, that $600/month invested at 7% grew to $42,000. I spent $72,000 on rent — but I gained $42,000 in investments. My net housing cost was $30,000.
Mike spent $83,000 on housing costs he couldn’t recover. I spent $30,000. I was $53,000 ahead — by renting and investing.
Here’s what I learned after studying real estate and investing for 10 years: buying vs. renting isn’t a simple decision. It’s a mathematical one — and the math depends on your specific situation. Buying can build wealth — but only if you stay in the house 7+ years, the market appreciates, and you can afford the hidden costs. Renting can be smarter — if you invest the difference. This article walks through the real math on buying vs. renting — with the numbers most real estate agents won’t show you.
The real cost of buying a home
Most people only think about the mortgage payment when they’re deciding whether to buy. But the mortgage is just one part of the cost. Here’s the full picture:
Upfront costs
- Down payment: 3-20% of the home price. On a $250,000 home, that’s $7,500-$50,000.
- Closing costs: 2-5% of the home price. On a $250,000 home, that’s $5,000-$12,500.
- Immediate repairs/furnishings: $2,000-$10,000 (new appliances, furniture, repairs).
- Total upfront: $14,500-$72,500 on a $250,000 home.
Monthly costs
- Mortgage payment (principal + interest): On a $250,000 home with 20% down ($200,000 loan) at 6.5% for 30 years = $1,264/month.
- Property taxes: 1-2% of home value per year. On a $250,000 home = $208-$417/month.
- Homeowners insurance: $100-$200/month.
- Private mortgage insurance (PMI): If you put down less than 20%, 0.5-1% of loan amount per year. On a $200,000 loan = $83-$167/month.
- HOA fees: $0-$500/month (depending on the neighborhood).
- Maintenance and repairs: 1-2% of home value per year. On a $250,000 home = $208-$417/month.
- Total monthly: $1,863-$3,165/month on a $250,000 home.
Hidden costs people forget
- Maintenance: Roofs last 20-30 years ($10,000-$20,000). HVAC systems last 15-20 years ($5,000-$10,000). Water heaters last 10-15 years ($1,500-$3,000). You’re responsible for all of it.
- Property tax increases: Property taxes go up every year — often faster than inflation. Your mortgage payment stays the same (if you have a fixed-rate mortgage), but your taxes keep rising.
- Special assessments: If your HOA needs to replace the roof or repave the parking lot, you’ll get a special assessment — often $5,000-$20,000.
- Opportunity cost: Your down payment and monthly payments could be invested. If you invest $50,000 (down payment) + $500/month (difference between mortgage and rent) at 7% for 10 years, that’s $145,000.
The real cost of renting
Most people only think about the rent payment when they’re deciding whether to rent. But there are other costs — and benefits:
Monthly costs
- Rent: $800-$2,000/month (depending on location and size).
- Renter’s insurance: $15-$30/month.
- Total monthly: $815-$2,030/month.
Benefits of renting
- Flexibility. You can move easily if you get a new job, want a different neighborhood, or need more/less space. No need to sell a house.
- No maintenance responsibility. When the roof leaks or the HVAC breaks, the landlord pays. You just call and it gets fixed.
- No property tax increases. Your rent might go up, but you’re not on the hook for property tax increases.
- Lower upfront costs. First month’s rent + security deposit ($1,000-$4,000) vs. down payment + closing costs ($14,500-$72,500).
- Opportunity to invest the difference. If rent is $500/month less than a mortgage, you can invest that $500/month.
Downsides of renting
- No equity. You’re paying someone else’s mortgage — not building your own wealth.
- No appreciation. You don’t benefit if property values go up.
- No tax benefits. You can’t deduct mortgage interest or property taxes.
- Less control. You can’t remodel, paint, or make changes without the landlord’s permission.
- Rent increases. Your rent can go up every year — sometimes by a lot.
The math: when buying makes sense
Buying makes sense if all of the following are true:
- You’re staying in the home 7+ years. It takes 5-7 years to break even on the upfront costs (closing costs, realtor fees, moving costs). If you sell sooner, you’ll lose money.
- You can afford the full cost (not just the mortgage). Can you afford property taxes, insurance, maintenance, and repairs — not just the mortgage payment?
- You have a 20% down payment. Otherwise, you’re paying PMI (private mortgage insurance), which is a waste of money.
- You have a stable job and income. If you lose your job, can you still afford the mortgage? Can you sell the house quickly if you need to?
- You’re in a market with reasonable prices. In some markets (San Francisco, New York), buying is much more expensive than renting. In other markets (Midwest, South), buying is often cheaper.
The break-even calculation
Here’s how to calculate whether buying or renting is cheaper in your area:
Example: $250,000 home, 20% down, 6.5% mortgage rate
- Monthly mortgage payment: $1,264 (principal + interest)
- Property taxes: $313/month (1.5% of home value)
- Homeowners insurance: $150/month
- Maintenance: $313/month (1.5% of home value)
- Total monthly cost of buying: $2,040/month
Comparable rent: $1,500/month
Monthly difference: $540/month more to buy
Upfront costs of buying: $50,000 (down payment) + $7,500 (closing costs) = $57,500
Equity built per month: $500/month (principal paydown + appreciation)
Break-even calculation:
- Monthly cost difference: $540/month more to buy
- Equity built: $500/month
- Net monthly cost: $40/month more to buy (after equity)
- Upfront costs: $57,500
- Break-even time: $57,500 / ($500 equity – $40 net cost) = 125 months = 10.4 years
In this example, you’d need to stay in the home for 10+ years to break even on buying vs. renting. (Source: NYT Buy vs. Rent Calculator)
The math: when renting makes sense
Renting makes sense if any of the following are true:
- You’re staying in the area less than 7 years. You won’t break even on the upfront costs of buying.
- You can’t afford a 20% down payment. PMI is a waste of money — it doesn’t build equity.
- You need flexibility. You might get a new job, move to a different city, or want to downsize/upsize.
- You’re in an expensive market. In some cities, buying is much more expensive than renting — even with a 20% down payment.
- You’d rather invest the difference. If you can invest the $500/month difference between rent and mortgage at 7%, you’ll build more wealth than buying.
The opportunity cost of buying
Here’s the calculation most real estate agents won’t show you:
Scenario: Buy a $250,000 home with 20% down
- Upfront costs: $57,500 (down payment + closing costs)
- Monthly costs: $2,040/month (mortgage, taxes, insurance, maintenance)
- Over 10 years: $2,040 × 120 = $244,800 in housing costs
- Equity built: $100,000 (principal paydown + appreciation)
- Net cost: $244,800 – $100,000 = $144,800 (plus $57,500 upfront = $202,300 total)
Scenario: Rent for $1,500/month and invest the difference
- Monthly rent: $1,500/month
- Monthly difference vs. buying: $540/month
- Invest the $540/month + the $57,500 you would have used for down payment
- Over 10 years at 7%: $57,500 + ($540 × 120 months) = $57,500 + $64,800 = $122,300 invested
- With compound growth: $57,500 grows to $113,000 + $64,800 grows to $92,000 = $205,000
- Net cost: $1,500 × 120 = $180,000 in rent
- Investment gains: $205,000 – $122,300 = $82,700
- Net cost after investment gains: $180,000 – $82,700 = $97,300
In this example, renting and investing costs you $97,300 over 10 years. Buying costs you $202,300. You’re $105,000 ahead by renting and investing.
Of course, this assumes the market returns 7% per year — which is the historical average. If the market does better, you’re even more ahead by renting and investing. If the market does worse, buying might be better.
The bottom line
Buying vs. renting isn’t a simple decision. It’s a mathematical one — and the math depends on your specific situation.
Buy if:
- You’re staying in the home 7+ years
- You can afford the full cost (not just the mortgage)
- You have a 20% down payment
- You have a stable job and income
- You’re in a market with reasonable prices
Rent if:
- You’re staying in the area less than 7 years
- You can’t afford a 20% down payment
- You need flexibility
- You’re in an expensive market
- You’d rather invest the difference
The key insight: Buying builds equity — but it also comes with huge costs (interest, taxes, insurance, maintenance). Renting doesn’t build equity — but if you invest the difference, you can build more wealth than buying.
I almost bought a house in 2016. I’m glad I didn’t. I kept renting for $1,200/month and invested the $600/month difference. Over 5 years, I built $42,000 in investments. My friend Mike bought a house and spent $83,000 on costs he couldn’t recover. I was $53,000 ahead — by renting and investing.
That’s not to say buying is always wrong. If you’re staying in one place for 10+ years, buying can be a great way to build wealth. But if you’re not sure you’ll stay that long — or if you’re in an expensive market — renting and investing can be smarter.
Run the numbers for your specific situation. Don’t just listen to what everyone says. The math doesn’t lie.
That’s what I learned. Now you know it too.
