Rent vs Buy Calculator

The total cost of renting against buying over the years you plan to stay, with the break-even year and a year by year table.

years

From 1 to 40. The home is sold at the end of this period.

Works in any currency.

% of price

%

years

% of value

Follows the home value as it grows. Leave empty if none.

Held flat. Optional.

% of value

1% of the home value a year is a common planning figure. Optional.

% of price

Fees, taxes and other one-off costs of buying. Optional.

% of sale price

Agent fees and other costs of selling. Optional.

%

A guess about the future, not a promise. Try 0 and 5 as well.

Taxes are left out. If you know your own saving, enter it here.

%

Optional.

%

The opportunity cost assumption: what the money not spent on the down payment and costs, and any monthly saving, could earn. It is the biggest swing in the result.

Over 7 years

Buying is cheaper

by 29,005.72

Net cost of buying
160,598.99
Net cost of renting
189,604.72
Break-even year
Year 5
Monthly: mortgage principal and interest
2,022.62
Monthly: property tax (year 1)
333.33
Monthly: home insurance
125.00
Monthly: maintenance (year 1)
333.33
Monthly cost of owning (year 1)
2,814.28
Monthly cost of renting (year 1)
2,516.67
Cash needed up front to buy
80,000.00 down plus 12,000.00 costs
Home value after 7 years
491,949.55
Mortgage left to repay
289,331.98
Selling costs
29,516.97
Equity you walk away with
173,100.59
Rent and renter’s insurance paid
231,273.87
Growth on the renter’s investments
41,669.15

Over 7 years, buying costs about 29,005.72 less, with a break-even of year 5. It assumes your investments earn 5% a year, and a small change to that number can flip the answer.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

Net position by year (a negative number means renting is ahead)

Net position by year (a negative number means renting is ahead)
YearNet cost of buyingNet cost of rentingBuying ahead by
154,914.6925,410.11-29,504.58
273,491.4451,307.78-22,183.66
391,711.2677,733.14-13,978.12
4109,553.98104,728.81-4,825.18
5126,998.22132,340.085,341.85
7160,598.99189,604.7229,005.72

How it works

The tool plays out two lives month by month. In one you buy: you pay the down payment and buying costs, then the mortgage, property tax, insurance and maintenance, and at the end you sell the home and pay selling costs. In the other you rent and invest the down payment and buying costs instead.

Each month the cheaper of the two lives puts the difference into investments that earn the return you enter. When owning costs more than renting, the renter invests the gap. When renting costs more, the gap counts in favour of buying at the same return. This keeps the comparison fair.

Net cost of buying is everything you spent on the home minus what you get back when you sell and repay the mortgage. Net cost of renting is the rent and renter’s insurance you paid minus the growth on the money you invested. The break-even year is the first year in which buying has cost less if you sold at the end of it.

The investment return is the opportunity cost of tying money up in a home, and it is the biggest swing in the answer. Raise it and renting looks better; lower it and buying does. The same goes for home price growth. Run a few values for both before you trust the result.

Check it by hand with the default numbers: a 400,000 home with 20% down means borrowing 320,000. At 6.5% over 30 years the payment is about 2,022.62 a month. Add property tax of 1% a year (333.33 a month), insurance of 1,500 a year (125) and maintenance of 1% a year (333.33), and owning costs about 2,814 a month. Renting at 2,500 plus 200 a year of renter's insurance costs about 2,517. Owning is dearer each month, so buying only wins if the equity it builds is worth more than what the down payment and closing costs would have earned elsewhere.

Monthly mortgage payment = L × r ÷ (1 − (1 + r)^−n)
Home equity at year t = price × (1 + g)^t × (1 − selling cost %) − mortgage balance
Renter’s pot each month = pot × (1 + i ÷ 12) + (monthly cost of owning − monthly cost of renting)
Buying has cost less when home equity is greater than the renter’s pot

The payment formula is the standard fixed-rate amortization formula. L = loan, r = yearly rate ÷ 12, n = number of payments, g = yearly home price growth, i = yearly investment return.

Worked example

A 400,000 home with 20% down (80,000) and 3% buying costs (12,000) leaves a 320,000 mortgage. At 6.5% over 30 years the payment is 2,022.62 a month. Property tax of 1% and maintenance of 1% are 333.33 a month each, and insurance of 1,500 a year is 125.00 a month, so owning costs 2,814.28 a month in year 1. Renting at 2,500 plus 200 a year of renter’s insurance costs 2,516.67 a month. Home prices and rent both grow 3% a year, and savings earn 5%.

After 7 years the home is worth 491,949.55. Selling costs of 6% (29,516.97) and the 289,331.98 still owed leave 173,100.59 of equity. Buying has a net cost of 160,598.99 and renting 189,604.72, so buying is cheaper by 29,005.72, and it first pulls ahead in year 5.

Change the investment return and the answer moves. At 3% buying wins by 47,384.56, and at 8% renting wins by 3,681.96.

Good to know

  • This is a model built on assumptions about the future, not financial advice. Home prices, rents, mortgage rates and investment returns are unknown, and small changes to them can flip the answer.
  • Income tax effects are left out, including any mortgage interest deduction, capital gains tax and property tax relief. If you know your own yearly tax saving from owning, type it in the optional field.
  • Insurance is held at the same amount every year, property tax and maintenance follow the home value, and the mortgage rate is fixed. Moving costs, rent deposits, HOA fees, mortgage insurance and vacancy are not included.
  • Money is not the whole decision. Stability, flexibility, space and risk matter too, and a sale in a falling market can cost more than shown here.

Questions people ask

Is it better to rent or buy a house?

It depends on how long you stay, the price, the rent, the mortgage rate and what your savings could earn elsewhere. Buying usually needs several years to recover its buying and selling costs. Enter your own numbers and read the break-even year.

How long do I need to stay for buying to beat renting?

The break-even year answers this for your inputs. Buying and selling costs of 3% and 6% mean the first few years usually favour renting unless rent is high compared with the price.

What return should I use for the down payment?

It is the yearly return you could reasonably expect if you invested the money instead. The default is 5%, which is an assumption and not a forecast. It changes the result more than any other input, so try values above and below it.

Why does the calculator include maintenance and property tax?

Owners pay them and renters do not. Maintenance of about 1% of the home value a year is a common planning figure, and property tax depends on where you live. Both rise with the value of the home here.

Are taxes included?

No. Tax rules differ by country and by person. If owning saves you a known amount of tax each year, enter it in the optional field and it lowers the cost of owning.

Does it work in other currencies?

Yes. Enter all prices in your own currency. Nothing is saved, and everything is calculated in your browser.

Why can buying win even when the monthly cost is higher?

In the default example owning costs about 2,814 a month in year 1 against 2,517 for renting, roughly 298 more. But after 7 years the home is worth 491,949.55 at 3% growth. Take off 29,516.97 of selling costs and the 289,331.98 still owed, and you walk away with 173,100.59. Renting leaves you only the growth on the money you kept invested. Buying comes out 29,005.72 cheaper in that example, from about year 5. Change the growth or the return and the answer can flip.

Part of the guide: Mortgage and loan calculators: payments, refinancing and how much you can borrow

Formulas and text last checked on 7 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.