Rent vs Buy Calculator

Compare buying a home with renting and investing the difference. See which leaves you wealthier and how many years it takes for buying to pay off.

Updated November 2026 Formulas tested
$
%
%
years
years
$
% a year
% a year
$a year
% a year

About 1% of the home value a year is a common estimate.

% a year
% of price
% of price

Agent fees and closing costs when you sell.

% a year

Quick answer: Buying usually wins only if you stay long enough. With a $400,000 home, 20% down, a 6.5% mortgage and $2,200 rent, buying overtakes renting after about 9 years in this calculator, once home growth and equity outweigh buying and selling costs.

Comparing a rent check with a mortgage payment is misleading. Owners also pay property tax, insurance, maintenance and large one-off costs to buy and sell, but they build equity and benefit if the home rises in value. Renters can invest the down payment instead. This calculator follows both paths month by month and compares the wealth each leaves you with.

How the comparison works

  • Buyer: pays the down payment and buying costs, then the mortgage, property tax, insurance and maintenance each month. At the end, the home is sold, selling costs and the remaining loan are paid, and what is left is the buyer’s wealth.
  • Renter: invests the down payment and buying costs instead, pays rent, and also invests the difference in any month when owning would have cost more than renting.
  • Whichever path ends with more money is the better financial choice for those assumptions.

Example: $400,000 home vs $2,200 rent

Years you stayBuying: wealthRenting: wealthBetter
5about $136,000about $156,000Rent
7about $173,000about $182,000Rent
10about $234,000about $221,000Buy
15about $355,000about $285,000Buy

20% down, 6.5% for 30 years, 1.1% tax, $1,500 insurance, 1% maintenance, 3% home growth, 3% buying and 6% selling costs, 3% rent increases and 5% investment return.

What tips the balance

  • Time: buying and selling costs are spread over more years the longer you stay.
  • Price-to-rent ratio: where homes are expensive compared with rents, renting often wins.
  • Home growth vs investment return: if homes rise slowly and investments do well, renting gains.
  • Interest rate: a higher rate makes owning more expensive in the early years.

Common mistakes to avoid

  • Comparing rent with the mortgage payment alone. Tax, insurance, maintenance and transaction costs change the answer.
  • Ignoring what the down payment could earn if invested.
  • Assuming home prices always rise quickly. Test a lower growth rate to see the risk.
Please note. Results are estimates for planning and use the numbers and simplified assumptions you enter. They are not financial advice. See our disclaimer.

Frequently asked questions

Is it better to rent or buy a house?

It depends mainly on how long you will stay and on local prices and rents. In many cases buying wins only after 5 to 10 years, because buying and selling costs take time to recover.

What is the 5% rule for renting vs buying?

A shortcut that estimates the yearly unrecoverable cost of owning as about 5% of the home value (property tax, maintenance and the cost of capital). If yearly rent is less than that, renting may be cheaper. This calculator does the full comparison instead.

Does it include tax deductions?

No. Mortgage interest deductions only help if you itemize, which many people do not, so they are left out to keep the comparison conservative.

What return should I use for investing?

Use a realistic long-term return for how you would actually invest the money, such as a savings account rate or a diversified fund estimate.

People also search for this as: rent or buy calculator, is it better to rent or buy, buy vs rent calculator, renting vs owning calculator, should I buy a house or keep renting.

Sources and further reading

Formulas on this page are checked by automated tests. See how we test our tools.

Press Esc to close