Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Rent vs buy calculator

Compare where you'd stand after renting or buying, counting every cost of owning and what your money could earn if you rent and invest instead. Written for US buyers (US closing costs, PMI and federal tax rules).

Ownership costs

Private: calculated on your device. Nothing you type is sent anywhere.

Estimates for planning, not financial, tax or legal advice. Figures use US rules unless the page says otherwise.

Next: Leaning toward buying? Work out the cash to close with the down payment calculator.

How the comparison works

The calculator follows both choices month by month and compares your net worth at the end of each year.

  • If you buy, you pay the down payment and closing costs upfront. Each month you pay the mortgage, property tax, insurance, maintenance and HOA.
  • If you rent, the cash you would have spent on the down payment and closing costs is invested instead. Each month you pay rent.
  • Investing the difference: whichever choice costs less that month invests the difference at the return you set. That keeps the comparison fair.
Buy: net worth = home value × (1 − selling costs) − loan balance + invested savings
Rent: net worth = upfront cash + monthly savings, all grown at the investment return

Assumptions, stated plainly

  • Rent, insurance and HOA rise each year by the rent growth rate.
  • Property tax and maintenance are a percent of the home's value, which grows by the appreciation rate each year.
  • Investment returns compound monthly, at the monthly equivalent of the yearly rate.
  • The buyer sells at the end of each year shown, paying the selling costs. Those costs are why buying usually loses in the first few years.
  • Not included: income taxes (mortgage interest deduction, tax on investment gains, the home-sale exclusion), renter's insurance, moving costs and PMI. Add PMI to the HOA box if you'll pay it.

Worked example

With the starting numbers ($2,400 rent rising 3% a year against a $400,000 home with 20% down at 6.5%, 3% appreciation and 6% investment returns), owning costs about $2,870 a month at first, more than rent. Renting stays ahead for the first 7 years. Buying pulls ahead in year 8, and after 10 years the buyer is about $25,287 ahead.

Small changes matter. At $2,200 rent, renting is still ahead after 10 years; at $2,500 rent, buying pulls ahead in year 6.

Limitations

  • Nobody knows future home prices, rents or investment returns. Try a pessimistic and an optimistic case. FHFA's house price index shows how much prices have varied by region.
  • The renter only comes out ahead if they actually invest the difference every month.
  • Owning has benefits money can't show, like stability and control, and costs it can't either, like being less free to move.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • $2,400 rent vs $400,000 home, 10 years: buying pulls ahead in year 8 ✓
  • Same: buyer about $25,287 ahead after 10 years ✓
  • $2,500 rent: buying pulls ahead in year 6 ✓
  • Short stay, flat prices: renting ahead by $145,589 after 3 years ✓
  • 50 years is rejected ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

Is it better to rent or buy?

It depends mostly on how long you'll stay. Buying and selling costs often take 5 or more years to recover. Enter your numbers to find your break-even year.

What is the break-even year?

The first year in which selling the home would leave you with more net worth than renting and investing the difference would.

Why does renting win in the first years?

Closing costs when you buy and selling costs when you sell come to around 9% of the price with the starting numbers. Your equity has to grow past that first.

Does this include the mortgage interest tax deduction?

No. Since the 2017 tax law raised the standard deduction, most households don't itemize, so the deduction doesn't help them. Taxes on investment gains aren't included either.

Related calculators