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.
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.
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.
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.
This compares money only. Stability, control, space and flexibility matter too, and they’re yours to weigh.
If you stay 30 years
—
—
One gap, three ways to measure it
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
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.
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: —.
Mortgage, PMI, property tax, insurance, repairs and HOA versus rent, renter’s insurance and other renter fees.
—
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.
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
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.
| Year | Owning costs | Renting costs | Difference invested | Per month (average) | Buyer’s wealth | Renter’s wealth | Who’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.
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.
M = 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.
Δ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.
Wᴮₙ = 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.
Wᴿₙ = PortfolioᴿₙThe renter starts by investing the buyer’s down payment and closing costs, then invests any monthly savings.
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.
Wᴮₙ − 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.
If you found it helpful or interesting, you can leave a tip to help keep it running.
Want to embed this calculator on your own site or use it with clients? Get in touch.