HousingEquation

Buying vs. renting, compared fairly

Is buying a home really better than renting?

It depends, and this calculator shows you on what. It follows two identical households for the same number of years. One buys a home. One rents a similar place. Whoever spends less on housing each month invests the difference. At the end, we add up what each household owns.

You’ve heard “Renting is throwing money away.”

Rent pays for a place to live. Owners pay for that too: mortgage interest, property tax, insurance and repairs are money an owner never gets back either.

You’ve heard “A home is the best investment you’ll ever make.”

Home equity is real. But the down payment and any extra monthly costs could have been invested instead. The question is which pile ends up bigger.

What the math says Neither one wins automatically.

Depending on prices, rents, interest rates and how long you stay, either can come out ahead. This tool shows you where the line is for your situation.

The testBuyer’s wealth at the end − renter’s wealth at the endAbove zero, buying came out ahead. Below zero, renting did.

This compares money only. Stability, control, space and flexibility matter too, and they’re yours to weigh.

If you stay 30 years

—

—

—

Checking the math…
Buyer’s wealth at the end——
Renter’s wealth at the end——
Buying’s lead, worth today—What you’d need to invest today, at your investment return, to end up with the same lead. Below zero means renting leads.
First month’s housing cost—Owner vs. renter

One gap, three ways to measure it

—in dollars 30 years from now
—in today’s dollars, after inflation
—worth today: the amount you’d need to invest now, at your investment return, to grow into the same lead

All three describe the same result. Prices rise over time, so future dollars buy less; the middle number corrects for that. The last number asks a different question: how much money, invested today, would grow into the same lead? Economists call it net present value (NPV).

The fair comparison

How the investing part works

7% annual return

The calculator doesn’t assume only renters invest, and it doesn’t treat mortgage payments as savings. Both households get the same money. Whatever one doesn’t spend on housing, it invests.

1
Same starting cash

The buyer spends the down payment and closing costs. The renter invests that same amount on day one, minus a security deposit and any move-in fees: —.

2
Compare every month’s full housing bill

Mortgage, PMI, property tax, insurance, repairs and HOA versus rent, renter’s insurance and other renter fees.

3
Invest the difference

—

4
Same return for both

Both investment accounts earn the same return. Rent is paid at the start of each month and the mortgage at the end, as in real life, and the math accounts for that.

Why the return matters so much

A higher return helps whichever household has more money to invest early on. In the example, that’s the renter, who keeps the buyer’s down payment and has lower costs at first. A lower return makes giving up that cash less costly, which helps buying.

If both sold everything that year

Wealth over time

BuyerRenter

Point at the chart (or tap it, or use the arrow keys) to see each year. Buyer’s wealth is their investments plus what they’d keep from selling the home, after selling costs and paying off the mortgage. Renter’s wealth is their investments plus the security deposit. Shown in future dollars.

Show the year-by-year table

Each year’s housing costs for both households, how much the household that spent less invested, and where each stands if both sold everything at the end of that year. Amounts are in future dollars.

YearOwning costsRenting costsDifference investedPer month (average)Buyer’s wealthRenter’s wealthWho’s ahead

“Start” is the up-front cash: the buyer’s down payment and closing costs, and the renter’s security deposit and move-in fees. Rent is paid at the start of each month, so the difference invested includes one month of investment growth on rent and can differ slightly from simply subtracting the two cost columns.

Timing matters

Who’s ahead if you move in year…

—

Each bar is the buyer’s advantage if the home were sold at the end of that year, in today’s dollars. Buying usually starts behind because of closing and selling costs.

Tipping points

Break-even points

Each box is the point where the winner flips if you change only that one number and leave everything else as you entered it.

Home price growth——
Starting rent——
Investment return——
Maintenance and repairs——
Years to stay——

How to read the map

Each square runs the same calculation with a different starting rent (left to right) and home price growth (bottom to top). Green means buying ends up ahead; orange means renting does. Darker means a bigger lead. The outlined square is your scenario, and the edge where the colors meet is the break-even line.

One change at a time

What moves the result?

Each row changes just one number in your scenario and shows how far the result would move, in today’s dollars. A green bar to the right means that change helps buying; an orange bar to the left means it helps renting. Longer bars matter more.

Check our work

How the math works

Both households need somewhere to live, so neither gets credit for “free” housing. The calculator tracks every dollar each one spends on housing, month by month, and invests every dollar one spends less than the other.

Mortgage paymentM = L · i(1+i)ⁿ / ((1+i)ⁿ−1)

Each payment is split into interest i·Bₜ₋₁ and principal. Only principal lowers the loan balance. i is the annual rate ÷ 12.

Monthly differenceΔCFₜ = Rentₜ·(1+r) − Owner costₜ

Positive: the buyer invests the savings. Negative: the renter does. Rent is paid at the start of the month, so it carries one month of return r; owner costs are paid at month-end.

Buyer’s wealth at the endWᴮₙ = Portfolioᴮₙ + Homeₙ(1−s) − Balanceₙ

The home is counted once, at what it would sell for after selling costs s. Mortgage principal is never counted as income.

Renter’s wealth at the endWᴿₙ = Portfolioᴿₙ

The renter starts by investing the buyer’s down payment and closing costs, then invests any monthly savings.

Value of buying today (NPV)NPV = −I₀ + Σ ΔCFₜ/(1+r)ᵗ + Equityₙ/(1+r)ⁿ

I₀ is the down payment plus closing costs. Equity is after selling costs and paying off the loan.

Timing checkWᴮₙ − Wᴿₙ = NPV · (1+r)ⁿ

Checked on every update. It confirms the month-by-month totals and the present-value total use the same timing. It can’t catch a cost entered wrongly, so the model is also tested against a separate, independently written version.

Conventions

Rent rises by your chosen amount at each lease renewal (every 12 months by default), and property tax, insurance, repairs and HOA change once a year, so the amounts you enter are what you’d pay at the start. Property tax rises with the home’s value (home price growth), since it’s based on assessed value; insurance, repairs and HOA rise with owner cost increases. Renter’s insurance rises with rent. Investment returns, home prices and inflation compound monthly at the equivalent of the yearly rate you enter. PMI is charged on the original loan until the balance is paid down to 80% of the home’s original price, where lenders commonly let you request cancellation; the calculator assumes you do. FHA and other mortgage-insurance programs work differently. Values in between are just scenarios. Your lender’s terms decide what actually happens, and FHA and other mortgage-insurance programs work differently.

What’s included

Mortgage payments, down payment, closing and selling costs, PMI, property tax, insurance, maintenance, HOA, rent, renter’s insurance, other renter fees, security deposit (returned in full at the end), move-in fees, cost increases, home price growth and investment growth.

What’s left out

Income taxes and deductions, capital-gains rules, utilities, renovations beyond normal maintenance, moving costs, differences in risk, how easily you can get at your money, and nonfinancial reasons to own or rent. These depend on the household, so they aren’t built into a general example.

Which way the omissions lean

Leaving out taxes isn’t neutral. Profit from selling a home you live in is often taxed lightly or not at all, while gains in a regular investment account usually are taxed, and many households don’t itemize, so mortgage interest often doesn’t lower their taxes. For many people, then, leaving out taxes tilts the comparison toward renting, unless the renter invests through tax-advantaged retirement accounts. How this works for you depends on your situation; a tax professional can tell you. Charging selling costs to someone who might never sell also leans slightly toward renting.

Where local numbers come from

If you enter a place, the calculator fills in numbers for the most local area that has reliable data, and says which one it used (ZIP code, city, county or state). Property tax is total property taxes paid divided by the total value of owner-occupied homes, from the U.S. Census Bureau’s American Community Survey (5-year estimates). To keep a few unusual years or one neighborhood’s transformation from dominating a 30-year projection, home price growth uses the county (not the single ZIP code) and takes the middle of its 10-, 20- and 30-year averages, and rent increases use the average since 2000. You can pick another window in the Local numbers card. Home price growth is the average yearly change in the FHFA House Price Index, which tracks repeat sales of the same homes; ZIP-level figures are labeled experimental by FHFA. Rent increases come from Census median rents: the 2000 Census compared with the latest 5-year survey (about 24 years), with the last 10 years available as an option. ZIP codes are matched using Census ZIP code areas, which closely follow postal ZIP codes. The mortgage rate is the U.S. weekly average from Freddie Mac.

Return presets

The presets are quick examples, not recommendations. The 7–10% stock range reflects commonly cited long-run historical averages. The 4% cash-like option is only an illustration; savings rates change, so use the rate actually available to you. Sources: Investor.gov, U.S. Treasury daily rates, CFPB on removing PMI, IRS Topic 701 (sale of your home).

About this site

I’m Bryan. I’m an information professional and an MBA student, and I’m passionate about helping people improve their lives through better access to information.

I built HousingEquation because most calculators focus on how much home or rent you can afford, while choosing between the two is still left largely to anecdotal experience and conventional wisdom. I wanted to give people an honest comparison of the two so they can make informed, long-term decisions about how to use their money.

There’s no price you can put on calling someplace home, but there is a cost to having it.