Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Buy or Rent Home explained: formula, worked example and common mistakes

The instalment, the price your income can carry and the buy against rent comparison, in one run. Free, no sign-up.

Updated

What the buy or rent home calculator works out

Three things in one page. It works out the loan instalment and total interest for the home you are looking at. It works out the highest instalment your income can carry, and the loan and property price that instalment supports. And it runs a month by month comparison of buying against renting and investing the difference, over the years you choose. You type the property price, the down payment share, the loan rate and term, any extra paid with each instalment, take-home income, instalments already being paid, the share of income allowed for instalments, the rent today and its yearly rise, the yearly price growth, an upkeep share, the return on investments, the years to compare and the cost of selling. The three parts stand on their own, so the affordability rows are worth reading even before any comparison is run.

The formula

loan = price × (1 − down payment share)
instalment = loan × r × (1 + r)^n ÷ ((1 + r)^n − 1), r = rate ÷ 12
highest instalment = income × share − instalments already paid
buy side, a month: the home grows at the yearly growth rate; cost = instalment + upkeep
rent side, a month: cost = rent, raised once a year
the side that spends less invests the difference at the typed return
net worth, buy = home value × (1 − selling cost) − loan balance + savings
net worth, rent = investments, starting from the down payment

The instalment line is the standard amortizing payment for the loan, and the affordability line works from take-home pay, not gross. Each side’s net worth is read at the end of the comparison period, and the table repeats that reading for every year along the way. The savings that the cheaper side builds up grow at the investment return you type, and that rate is where the two sides pull apart most: it is applied every month to whatever the cheaper side has left over, so a small monthly difference compounds along with everything else.

A worked example

The default run: a 7,500,000 home with 20 per cent down at 8.5 per cent over 20 years, against 25,000 rent rising 5 per cent a year, compared over 15 years with 5 per cent price growth, 1 per cent upkeep, a 10 per cent investment return and a 6 per cent cost of selling.

down payment = 1,500,000, loan = 6,000,000
instalment = 52,069
total interest over the term = 6,496,655
highest instalment = 150,000 × 40% = 60,000
loan that instalment repays = 6,913,850
property price it buys = 8,642,313

after 15.0 years:
net worth if you buy = 12,118,520
net worth if you rent = 18,125,188
gap = 6,006,668

The headline reads: “After 15.0 years, renting leaves you 6,006,668 ahead: 18,125,188 against 12,118,520 for buying.” In year 1 the table shows the home at 7,875,000, the loan at 5,880,586, and net worth of 1,521,914 for buying against 2,077,825 for renting; by year 2 the four cells read 8,268,750, 5,750,617, 2,022,008 and 2,704,480, and the gap between the two net worth columns widens in each of the first five years. Renting coming out ahead here follows from the inputs typed — 5 per cent price growth against a 10 per cent investment return — and not from any general rule.

What changes the answer

  • Higher price growth lifts the buy side through the home value.
  • A higher investment return lifts the rent side through the invested difference.
  • A higher loan rate raises the instalment and the total interest.
  • A higher rent today, or a faster yearly rise, pulls the rent side down.
  • A longer comparison period gives both sides more time to compound, while the upkeep share and the selling cost always weigh on the buy side.

When to use it, and when not to

Use it when the question is what each side leaves you with after a fixed number of years, not just which payment is smaller this month. The comparison side is where the page earns its keep, because the difference each month is not spent or lost but invested, and that reinvestment is what the ending net worth counts. The page applies no tax rules and no stamp or transfer costs, and it knows nothing about tax treatment of interest, gains or the home; the only exit charge is the selling cost you type. It also leaves out maintenance beyond the typed upkeep share, and any subsidy or support scheme. It stores no growth or return figures of its own: price growth, rent rises, the investment return and the selling cost are all yours to type. The house affordability calculator works the budget side on its own, and the rent calculator covers the renting side alone.

Common mistakes people make

  1. Treating one run as the verdict. Move price growth or the investment return a little and the winner can swap; the page flags runs where the two ends sit within 5 per cent.
  2. Leaving upkeep at 0 and the selling cost out. Both come off the buy side, so leaving them out flatters it.
  3. Typing gross income. The affordability line works on take-home pay and the instalments already being paid.
  4. Forgetting the rent rises. A rent that never rises tilts the comparison towards renting.
  5. Reading the loan balance as progress. In the early years most of the instalment is interest; year 1 of the table still shows 5,880,586 owed on a 6,000,000 loan.
  6. Comparing over too few years. Short runs are dominated by early interest and one-off costs, and the gap between the sides moves around a lot.

Frequently asked questions

How is the comparison worked out each month?

Buying costs the instalment plus upkeep, and the home grows at the price growth you typed. Renting costs the rent, which rises once a year. Whichever side spends less invests the difference at the investment return you typed.

What does the net worth of each side include?

Buying is the home value less the selling cost, less the loan balance, plus any savings invested. Renting is the investments, which start as the down payment.

How is the highest instalment worked out?

Take-home income times the share of income you allow for instalments, less the instalments you already pay. The page also shows the loan that instalment repays and the property price it buys with your down payment.

Does the page include tax or stamp costs?

No. It applies no tax rules and no stamp or transfer costs. The selling cost you type is the only exit charge it counts.

Why does renting come out ahead in the default run?

Because of the numbers typed: price growth of 5 per cent against an investment return of 10 per cent. Change those two and the other side can come out ahead.

What does the close call flag mean?

That the two ends are within 5 per cent of each other, so a small change in growth or returns can flip the result.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Buy or Rent Home Calculator”. Updated 2026-11-06. https://investmentmathcalculator.com/guides/buy-or-rent-home-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.