Rent vs. buy calculator

Rent or buy: which leaves you wealthier?

The real question isn't renting vs. a mortgage payment — it's buying vs. renting and investing the difference. This compares your wealth either way at the year you'd move on, and tells you which wins and when it flips.

By SterlingCat · Last updated · Method verified against reference cases (how we calculate)

The key points

  • Buying wins sooner the longer you stay, the faster homes appreciate, and the more rent rises.
  • Renting wins when your down payment could earn more invested, or you'll move within a few years and pay transaction costs twice.
  • Below, the verdict is conditional: change any assumption and watch the answer — and the year it flips — change with it.
Decision guideRent vs. Buy: When Does Buying Actually Win?

Your details

Save your figures here to reuse them across the calculators and switch between scenarios. They stay in this browser — never sent anywhere — and you can export or clear them anytime.

The home

The purchase price you're weighing.

$

The share of the home price you pay up front.

% down

A rough guess is fine — a lender or rate site has today's.

%
How long a mortgage?
Renting instead

Monthly rent for a comparable home.

$

Your assumption for annual rent increases.

% a year
How long you'll stay

Buying needs time to catch up with renting.

years
Costs of owning We'll use typical figures — adjust any you know.
% a year
$
$
% a year
%
%
Growth you're assuming Your assumptions, not our forecast.
% a year
% a year
US tax benefit Only if you itemize — most people take the standard deduction.
%

With your numbers

—

Buy —
Rent & invest the difference —

Your wealth over time, either way

Buy Rent & invest Your horizon

Recommendation

—

Which scenarios?

A scenario projection based on stated assumptions — not a forecast or guarantee.

How we calculate this

We run your numbers month by month over your horizon and compare whole-balance-sheet wealth: the buyer's home equity (net of selling costs) plus any investments, against the renter's investment balance. Both start from the same money and the same monthly housing budget — whoever spends less each month invests the difference, so the comparison is fair.

The mortgage payment

Monthly principal & interest use the standard amortization formula:

M=P ⁢ r(1+r)n (1+r)n−1
M
monthly payment
P
loan amount (price − down payment)
r
monthly rate (annual ÷ 12)
n
number of payments (years × 12)

In your numbers: a — loan at — over — years works out to — a month. Payments stop the month the loan is paid off — they never accrue past the term.

What's included, and what isn't

Included: amortization, property tax (with an optional assessment cap), insurance, HOA, maintenance, PMI on a down payment under 20% (charged until the loan balance falls to 80% of the purchase price), closing and selling costs, home appreciation, rent growth, and the opportunity cost of invested capital. US mortgage-interest and property-tax itemizing is modeled when you supply your marginal rate and standard deduction, with the property-tax deduction capped at the SALT limit.

Declared omissions (so the tool's claims stay honest): adjustable rates and refinancing, the $750k mortgage-interest limit, the SALT cap's high-income phasedown and its scheduled 2030 drop back to $10,000 (the current cap is held for every year), the primary-residence capital-gains exclusion and investment-side taxes, AMT, and lumpy maintenance. Three rules of the 2025 tax law that apply from tax year 2026 are also left out: mortgage insurance premiums treated as deductible interest, the reduction of itemized deductions for income in the 37% bracket, and state income or sales tax, which shares the SALT cap with property tax (the calculator applies the whole cap to property tax). Expected appreciation and investment returns are your assumptions, not our forecasts — which is why the recommendation is conditional and shows what would flip it.

Full protocol: computational inventory, reference cases, and accounting identities in the project's V&V record. The recommendation is a separate step from the numbers — a scoped outcome claim only when one option wins every scenario we test around your inputs, otherwise an explicit "it depends."

Terms, in plain words

Opportunity cost
What your down payment and monthly savings could have earned if you'd invested them instead of putting them into a house.
Equity
The part of the home you actually own — its value minus what you still owe and minus the cost of selling.
PMI
Private mortgage insurance: insurance you might be required to buy on a conventional loan with a down payment under 20%. You can ask the servicer to cancel it on the date the balance is scheduled to fall to 80% of the home's original value, and the servicer must end it at 78% (CFPB). This calculator charges it until the balance falls to 80% of the purchase price.
SALT cap
The yearly limit on deducting state and local taxes (including property tax) on your US federal return — $40,400 for 2026 (the 2025 tax law raised it from the earlier $10,000 cap).
Amortization
How a fixed mortgage payment splits between interest and principal over time — mostly interest early on, mostly principal near the end.

A sensible next step

Whatever the verdict, test it against how long you will stay: enter a low and a high number of years and see whether the answer holds.

Common questions

Why does renting "win" even when I'd build equity?

Because the fair comparison isn't equity vs. nothing — it's equity vs. investing the down payment, the closing costs, and any monthly savings. When markets do well or you move soon, that invested money can beat the equity, net of the costs of buying and selling.

Do you store what I enter?

We never receive it. Everything is computed in your browser, and nothing you type is sent to us. If you turn on "Remember in this browser", your figures are saved in this browser only, and you can export or clear them. There are no accounts.

Is this financial advice?

No. It's a model based on the numbers you enter — a scenario projection based on stated assumptions, not a forecast or guarantee, and not financial, legal, or tax advice.

Sources

Grounded in authoritative primary sources:

More SterlingCat calculators