Finance

Rent vs buy calculator

A rent vs buy calculator compares how much wealth you would have after a number of years if you bought a home or kept renting and invested the money you would otherwise put into the house. Enter the home price, your down payment and mortgage rate, ownership costs, the rent on a similar home and your expected returns, to see which option comes out ahead and the year buying starts to win.

$
$
%
%
years
years
%
%
%
%
$
$
%
%
%

Runs in your browser. Nothing you type is sent to us.

Better choice over your stay

Renting

Ahead by about $24,614.60 after 7 years

Your wealth if you buy
$185,589.11
Your wealth if you rent
$210,203.71
Buying pulls ahead in
Not within 7 years
Mortgage payment (principal + interest)
$2,182.96
First month cost of owning
$3,032.96
First month rent
$2,200.00
Cash needed to buy
$92,000.00
Home value when you leave
$508,911.71
Total rent paid
$205,376.36
Total spent owning (before sale)
$354,718.94

Ignores income tax effects such as the mortgage interest deduction and capital gains tax. Both sides invest any monthly savings at the same return.

Wealth by year: buy vs rent

YearBuyRentBuy minus rent
1$72,257.14$107,787.56−$35,530.41
2$89,207.04$123,939.94−$34,732.90
3$106,883.22$140,458.65−$33,575.43
4$125,321.07$157,344.57−$32,023.50
5$144,557.96$174,597.89−$30,039.93
6$164,633.40$192,218.07−$27,584.67
7$185,589.11$210,203.71−$24,614.60

Key facts

  • The comparison counts every cost of owning (mortgage interest, property tax, insurance, upkeep, buying and selling costs) against rent, and assumes the renter invests the down payment and any monthly savings.
  • For a $400,000 home with 20% down at a 7.25% mortgage rate versus $2,200 a month in rent, renting comes out about $24,600 ahead after 7 years with the default assumptions.
  • With the same assumptions, buying pulls ahead in year 13; at a 6% mortgage rate it pulls ahead in year 6.
  • The single biggest factor is how long you stay: buying and selling costs of around 9% of the price take years of appreciation to recover.
  • Freddie Mac’s average 30-year fixed mortgage rate was 7.28% in its survey of November 19, 2026.

How the comparison works

Each month, the calculator adds up the cost of owning: the mortgage payment plus property tax, insurance, HOA fees and maintenance. It compares that with the rent for a similar home. Whoever spends less that month invests the difference at your expected return. The renter also invests the cash the buyer would have used for the down payment and closing costs.

At the end of each year it compares net worth:

  • Buying: the home's value minus selling costs and the remaining mortgage, plus any investments.
  • Renting: the investment portfolio.

How to use the rent vs buy calculator

  1. Enter the home price and the monthly rent for a comparable home.
  2. Enter your down payment, mortgage rate and term.
  3. Enter how many years you expect to stay.
  4. Set expected home price growth, rent increases and investment returns.
  5. Fill in property tax, insurance, HOA fees, maintenance, buying costs and selling costs.

Step-by-step examples: renting vs buying

Home price $400,000, 20% down, 7.25% for 30 years, so a $2,183 mortgage payment. Property tax 1.1%, insurance $1,800 a year, maintenance 1%, buying costs 3%, selling costs 6%. Rent $2,200 rising 3.5% a year; home prices also rise 3.5%; investments return 6%.

The first month of owning costs about $3,033 against $2,200 of rent, and buying needs $92,000 of cash up front. After 7 years, the buyer's net worth is about $185,600 and the renter's about $210,200, so renting is ahead by about $24,600.

How long you stay changes everything

Years in the homeBetter choiceGap
3RentingAbout $33,600
5RentingAbout $30,000
7RentingAbout $24,600
10RentingAbout $12,100
15BuyingAbout $24,100

In this example buying pulls ahead in year 13. Drop the mortgage rate to 6% and it pulls ahead in year 6.

The factors that matter most

  • Time: the longer you stay, the more buying and selling costs are spread out.
  • Mortgage rate: higher rates make owning far more expensive in the early years, when payments are mostly interest.
  • Price-to-rent ratio: in cities where homes cost many years of rent, renting often wins; where homes are cheap relative to rent, buying wins sooner.
  • Home price growth vs investment returns: if homes appreciate slowly and markets do well, renting and investing is hard to beat.
  • Discipline: renting only wins if the renter really invests the difference.

What the calculator leaves out

It ignores income taxes, including the mortgage interest deduction, which helps fewer buyers since most households take the standard deduction, and capital gains tax on investments. US homeowners can usually exclude up to $250,000 of gain ($500,000 for married couples) when selling a main home, which favours buying slightly. It also leaves out the non-financial side: the stability and freedom to renovate that owning brings, and the flexibility of renting.

Before you decide

Check how much home you can comfortably afford with the home affordability calculator, look at the full monthly cost with the mortgage calculator, and run this comparison with a few different holding periods and rates.

The economics behind rent versus buy

Economists compare the two with the price-to-rent ratio: home price divided by a year’s rent for a similar place. The New York Times rent-or-buy model and research by Robert Shiller, whose Case-Shiller index tracks US home prices, both stress that the answer depends on how long you stay, because buying and selling costs (often 6% to 10% of the price combined) take years to recover.

Selling costs changed in the US after the National Association of Realtors (NAR) settled the commission lawsuits that followed the 2023 Sitzer/Burnett verdict. Since August 17, 2024, buyers sign a written agreement with their agent before touring homes, and offers of buyer-agent pay can no longer appear on the MLS, so commissions are more openly negotiated. Enter the selling cost you expect rather than assuming the old 5% to 6%.

The renter’s side of the comparison assumes the down payment and any monthly savings are invested, which is the opportunity cost that simple "rent is throwing money away" arguments leave out. On the owner’s side, mortgage interest is partly offset by principal paid down and by home price growth, but property tax, insurance and maintenance (a common rule of thumb is 1% of the home’s value a year) never come back. Check what you can borrow with the home affordability calculator, model the loan itself with the mortgage calculator, and see the cash needed upfront with the down payment calculator.

How this calculator works

  • Simulates both paths month by month over the years you plan to stay.
  • Owner wealth = home value minus loan balance and selling costs; renter wealth = invested down payment and closing costs plus any monthly difference invested.
  • Home value grows at your appreciation rate; rent rises each year at your rent increase rate.
  • Owner costs include mortgage interest, property tax, insurance, maintenance and HOA; principal paid counts as wealth, not cost.
  • Investment returns are applied monthly at your chosen rate. Taxes on gains and any mortgage interest deduction are not modelled.

Frequently asked questions

Is it better to rent or buy a house?

It depends mainly on how long you stay, the mortgage rate, local prices relative to rent and what you would earn investing instead. Buying usually wins if you stay long enough to recover the costs of buying and selling.

How long do I need to stay for buying to make sense?

Often five to ten years, but it varies widely. With a 7.25% rate and the default assumptions, buying pulls ahead in year 13; at 6%, in year 6.

What costs of owning should I include?

Mortgage interest, property tax, homeowners insurance, HOA fees, maintenance (often about 1% of the home value a year), closing costs and selling costs.

Does the calculator include the mortgage interest deduction?

No. Most US households take the standard deduction, so the deduction helps fewer buyers than it used to. Tax effects are left out for both sides.

What is the price-to-rent ratio?

The home price divided by a year of rent for a similar home. A high ratio tends to favour renting; a low ratio tends to favour buying.

Why does the renter invest the down payment?

Because that money would otherwise be tied up in the house. A fair comparison lets it earn a return for the renter.

What return should I assume on investments?

Use a cautious long-term figure for a diversified portfolio, then test lower and higher values to see how sensitive the answer is.

Is buying always a good investment?

No. Over short periods, transaction costs, interest and upkeep can outweigh price gains. A home is also a place to live, which is worth something beyond the numbers.

Sources

  1. Freddie Mac: Primary Mortgage Market Survey
  2. Mortgage rates average 7.28% (Freddie Mac, November 19, 2026)
  3. IRS Topic 701: Sale of your home

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Rent vs buy calculator." calcroster.com/rent-vs-buy-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.