Finance · housing

Rent vs Buy Calculator

Net cost of buying vs. renting and investing the difference — the real comparison.
Opportunity-cost model
$400k home · $2,200 rent · 7yr
Region United States. Buying costs follow US conventions (closing costs, property tax as a percentage of value). Stamp duty and other transaction taxes are not modelled.

Buying

$
%
%
%
%
$
%
%

Renting & investing

$
%

Time horizon

Net cost after N years

—
Buying
$0
Renting + investing
$0

Net cost over time

buy (net of equity) rent (net of investment growth)

How sure is that verdict?

buy wins rent wins ★ your current assumptions

What would have to be true

Each is found by holding everything else where you have it and moving one assumption until the two net costs meet at your horizon. If either sits close to your own guess, the verdict is a coin toss and the honest answer is "it depends".
Important Not financial advice. Every figure here is an illustrative estimate for general information and education. It is not financial, investment, tax, mortgage or legal advice, not a personal recommendation, and not a quote or an offer. Rules of Thumb is not authorised or regulated by the Financial Conduct Authority and does not carry out regulated activities. Rates, fees and thresholds change and may be out of date. Before acting on anything here, speak to a qualified financial adviser, mortgage broker, accountant or your lender, who can take your own circumstances into account. See the Terms of Use.
How it works

Comparing net cost, not monthly payment

Buying

Down payment, closing costs, every mortgage payment, property tax, insurance and maintenance, minus the equity built (home value less loan balance, less selling costs). That is the net cost.

Renting

Total rent paid, minus what the cash a buyer would have tied up would have grown to if invested at a market return. Also a net cost.

Net cost, not payment

A mortgage payment against a rent figure misses most of the real cost on both sides. Whichever net cost is lower is the better deal for the assumptions entered.

A framework, not a verdict

Small, entirely reasonable changes in assumed investment return or home appreciation can flip which option wins. Test your own assumptions rather than trusting the defaults.

Worked example. A $400,000 home, 20% down, 6.5% mortgage, against $2,200 rent with the down payment invested at 7%. Renting is the cheaper net position through year 15 ($229k against $253k), but buying overtakes it by year 20 ($276k against $338k) as accumulated equity and appreciation compound past the ongoing cost of rising rent. Lower is better.
Field notes

Why “rent is throwing money away” misses the point

The down payment is parked, not spent

Buying converts cash into home equity; it does not make the deposit disappear. Renting means that same cash could be invested elsewhere, which is exactly the comparison this tool tries to make honest.

6–8%of the sale price

Selling costs are real and often forgotten

Realtor commissions and closing costs on the sale side typically run 6–8%. Skipping them in a rent-versus-buy comparison systematically favours buying, especially over short horizons.

Rent grows every year too

A 3% annual rent increase feels small year to year but compounds significantly over a decade or two. The renting side of this comparison is not a flat number: it grows every year, just as a variable-rate mortgage would.

Questions

What people ask

Why does renting often win over shorter horizons?

Buying has large upfront costs (down payment, closing costs) and selling costs at the end — over a short horizon, those fixed costs aren't amortized over enough years to be beaten by the relatively slow, compounding advantage of home equity and appreciation.

Why does the investment return assumption matter so much?

It's crediting the renter with what the down payment would have earned elsewhere — a higher assumed return makes renting look better since that opportunity cost of a buyer's tied-up cash grows faster; a lower one narrows or eliminates renting's advantage.

Isn't rent "throwing money away" compared to building equity?

Only if you ignore what the money not spent on a down payment, closing costs, property tax, insurance and maintenance could otherwise be doing — a renter who actually invests that difference isn't losing it, they're compounding it elsewhere instead of in home equity.

What does this model leave out?

Mortgage interest tax deductions, rent control or lease-renewal uncertainty, the value of not having a landlord, moving costs, and any change in interest rates or home prices beyond a single steady assumption — all real factors this simplified comparison doesn't capture.

Rent grows every year here. Why don’t the ownership costs?

Because they are held flat by default, and that is the single biggest assumption on this page — which is why it is now a slider. Property tax, maintenance and insurance are all worked out from the price you paid and, at 0%, never move again, while rent compounds at whatever growth rate you set. Half the comparison is escalated and half is not until you say otherwise.

Part of that is right: a fixed-rate mortgage payment really is flat, and some places cap how fast a tax assessment can rise. But maintenance on a house that is appreciating is not flat, and insurance has outrun general inflation for a decade. Escalating those three at the same 3% this page already applies to rent moves the break-even from year 19 to year 30; at 4% a year, buying never catches up inside thirty years at all. The default seven-year verdict barely moves — but the break-even year, which is the number most people actually want, swings by more than a decade. Drag the slider and watch it. Measured in rentbuy_model.py.

What are the “flip points”?

The value of one assumption at which the two net costs tie at your horizon, with everything else held where you have it. The sensitivity grid shows the same thing as a picture; the flip points say it as a number: buying wins if the house appreciates faster than this, renting wins if your investments return more than that. If either is within a point of your own guess, you are not looking at a verdict, you are looking at a coin.

What is the sensitivity grid actually showing?

The exact same calculation this page already runs, repeated across a range of home-appreciation and investment-return guesses instead of just your one chosen pair — both genuinely uncertain numbers nobody can know in advance. A grid that's mostly one colour means the verdict barely depends on getting those guesses right; a mixed grid means the "answer" is really just one plausible outcome among several, and the honest response to "should I buy or rent" is "it depends which of these turns out true."

Highly sensitive to your assumptions. Small changes in the investment return or appreciation rate can flip the answer. Run this with your own honest numbers, not defaults, before treating the result as a recommendation.
Version history · 2 releases
  1. v0.752026-07-27Rent vs Buy: both sides now invest the monthly difference (real bias fixed). Trigonometry: general triangle solver with the ambiguous SSA case
  2. v4.022026-08-23Rent grows every year in the comparison; the ownership costs never do, and that is worth eleven years

Releases in which this page changed, newest last. Derived from the archived copy of every release, not from notes written afterwards — so it reflects what actually shipped. Site-wide passes are left out; they are in the full changelog.

Rules of thumb are approximations, offered to get you to the right order of magnitude fast. Check anything load-bearing against its source or the exact tool. Privacy · Terms

© 2026 Rules of Thumb · Runs entirely in your browser