Skip to content

Free calculator

Rent vs. buy calculator

Compare the full cost of renting and buying over the years you plan to stay, counting equity, upkeep, selling costs, and what your down payment could earn if you kept renting.

Renting ahead over 7 years

$30,830

Breakdown of this estimate

Your numbers

Freddie Mac 30-year average, Sep 24, 2026.

What your down payment and savings could earn if you rent.

AssumptionsRent +3% and home value +3% a year, 3% to buy, 6% to sell, 30-year loan

Charged only with less than 20% down.

Your estimate

Over 7 years

Renting comes out ahead by about

$30,830

An estimate under the assumptions shown. Buying would pull ahead if you stayed about 14 years.

Renting

Rent paid$202,289
Minus: growth on invested cash−$49,614
Net cost to rent$152,675

Buying

Down payment and closing costs$92,000
Mortgage payments$179,375
Tax, insurance, and upkeep$82,755
Minus: back from selling, after costs and loan payoff−$170,625
Net cost to buy$183,505

After 7 years the home is worth about $491,950 and you'd owe $291,808. Net cost counts everything paid out minus what you'd get back, including what the cash could have earned. A negative net cost means you'd end up with more than you put in. Income taxes aren't included.

Estimates only, based on the numbers and assumptions shown. Not a loan offer or financial advice, and your lender's figures will differ. Disclaimers

Renting comes out ahead by about $30,830 over 7 years under these assumptions. Buying would pull ahead if you stayed about 14 years.

Leaning toward buying?

Before you shop, get an honest read on what you can afford. Buyer Check turns your income, debts, credit, and down payment into a price you can live with, with a full monthly breakdown.

Or stress-test a specific house (free beta, sign-in required). The calculators on this page never need an account.

How we compare renting and buying

The calculator follows two households month by month for the years you enter:

  • The buyer pays the down payment and closing costs up front, then the mortgage (and PMI while it applies), property tax, insurance, and upkeep. At the end they sell, pay selling costs, pay off the loan, and keep the rest.
  • The renter pays rent, which rises each year. They invest the cash the buyer put into the down payment and closing costs, and in any month renting costs less than owning, they invest the difference. (In months when owning costs less, the buyer invests the difference instead.)

At the end we compare what each household has: the buyer's sale proceeds plus any investments, against the renter's investments. The gap is the result. "Net cost" in the breakdown is the same comparison written as money out minus money back.

The investment return matters more than people expect. Money tied up in a down payment can't earn anything else, and leaving that out makes buying look better than it is, especially over short stays.

Default assumptions

You can change every one of these in the calculator: the investment return sits with the main inputs, and the rest are under Assumptions. Property tax, insurance, and maintenance rise with the home's value each year, and mortgage payments stop once the loan is paid off.

Default rent vs. buy assumptions
AssumptionDefault
Rent increase3% a year
Home value growth3% a year
Investment return5% a year
Property tax1.1% of value a year
Home insurance0.6% of value a year
Maintenance1% of value a year
Closing costs to buy3% of price
Selling costs6% of sale price
PMI (under 20% down)0.75% of loan a year
Loan30-year fixed

Worked example

$2,200 a month in rent against a $400,000 home with $80,000 down (20%) at 7%, using the default assumptions:

Rent vs. buy result by years stayed
Years you stayResult
3 yearsRenting ahead by $35,760
7 yearsRenting ahead by $30,049
12 yearsRenting ahead by $10,845
20 yearsBuying ahead by $63,505

Under these assumptions, buying pulls ahead after about 14 years. Short stays favor renting because about 9% of the home's value goes to buying and selling costs, and the down payment gives up years of investment growth.

What this estimate leaves out

  • Income taxes: the mortgage interest deduction, the tax break on selling a main home, and taxes on investment gains.
  • Renter's insurance, moving costs, and HOA dues.
  • Changes in rates or prices along the way. Real markets don't grow at a steady rate.
  • Everything that isn't money: stability, flexibility, and whether you want to own.

Thinking about a specific house? The affordability stress test (sign-in required) is a free beta that shows whether it still works if rates, taxes, or your income change.

Frequently asked questions

Is it better to rent or buy right now?

It depends on how long you'll stay, local prices and rents, your mortgage rate, and what your down payment could earn otherwise. There's no single answer for everyone, which is why this calculator lets you change every assumption. Try your own numbers and watch how the result shifts with the number of years.

How long do I need to stay for buying to come out ahead?

It varies a lot. In the example on this page ($2,200 rent against a $400,000 home with 20% down at 7%), buying pulls ahead after about 14 years. Buying and selling costs are a big reason: about 9% of the home's value goes to transaction costs, and it takes years of equity growth to cover them. Higher rents, faster price growth, or a lower rate shorten the wait.

Why does the calculator count investment returns for the renter?

Because the down payment and closing costs, plus any monthly savings from renting, could be invested instead. Leaving that out makes buying look cheaper than it really is. The default is 5% a year; set it to 0% to see the result without it.

What costs of owning do people forget?

Maintenance and repairs (1% of the home's value a year is a common rule of thumb), property tax and insurance that rise with the home's value, PMI with less than 20% down, and the 6% or more it can cost to sell. Closing costs to buy add another 2% to 5%.

Does this include the tax benefits of owning?

No. Most households take the standard deduction, so the mortgage interest deduction often doesn't help. Profit on selling your main home is usually tax-free up to $250,000 ($500,000 for married couples) if you've lived there two of the last five years, and investment returns may be taxed. A tax professional can tell you whether these change the answer for you.

Go further

More free calculators

See all mortgage calculators