Rent vs Buy Calculator

Compare the long-run cost of buying a home with renting and investing the difference, using today’s mortgage rate, and find the year when buying pulls ahead.

Education only, not financial advice. This calculator gives estimates from the numbers you enter. It is not a recommendation to buy, sell or hold anything. Check important decisions with a qualified professional. Everything runs in your browser; nothing you type is sent or stored.

Live benchmarks 30-year mortgage 7.28% (Freddie Mac, week of Nov 19, 2026). Rents: +2.8% over 12 months to Sep 2026, 4.2%/yr over 10 years (BLS CPI rent of primary residence). Home prices: +2.1% over 12 months to Aug 2026, 6.3%/yr over 10 years (Case-Shiller U.S. National Home Price Index). All via FRED.

Buying

Renting

Better choice over your stay—
Break-even year—
Owning cost, first month—
Net worth if you buy—
Net worth if you rent—

How the rent vs buy comparison works

Comparing a mortgage payment with rent is misleading: part of each mortgage payment builds equity, but owners also pay property tax, insurance, maintenance, closing costs and, eventually, selling costs, and the down payment could have been invested instead. This calculator tracks both paths month by month and compares the wealth each leaves you with:

  • If you buy: home value minus selling costs minus the remaining loan, plus any money you invest in months when owning costs less than renting.
  • If you rent: the down payment and closing costs are invested at your chosen return, and in each month that owning would cost more than renting, the difference is invested too.

The break-even year is the first year-end when buying leaves you with more. Because buying has large one-time costs (typically 2% to 5% to close and 5% to 6% to sell), buying usually loses over short stays and is more likely to win the longer you stay.

What moves the answer most

Try changing one input at a time. The biggest levers are usually how long you stay, the price-to-rent ratio (home price ÷ yearly rent; above about 20, renting tends to look better), the mortgage rate, home price growth and the return you could earn on invested savings. Keep growth assumptions modest: the national Case-Shiller index has risen at the 10-year rate shown above, but local markets and individual homes vary widely and prices can fall.

What is not included

Income taxes are left out: the mortgage interest and property tax deductions (useful only if you itemize), the home sale exclusion of up to $250,000 of gain ($500,000 for married couples), and taxes on investment returns. PMI on loans with less than 20% down, refinancing and moving costs are also not modeled. Check payments in detail with the mortgage calculator.

Frequently asked questions

Is it better to rent or buy a house?

It depends mostly on how long you will stay, local prices relative to rents, mortgage rates and what your savings would earn if invested. Buying tends to win over longer stays because the one-time costs of buying and selling are spread over more years.

What is the 5% rule for renting vs buying?

A rule of thumb that the unrecoverable costs of owning are about 5% of the home's value a year (roughly 1% property tax, 1% maintenance and 3% cost of capital). If yearly rent is below 5% of the price of a comparable home, renting may be cheaper. This calculator replaces the rule of thumb with your own numbers.

How long do I need to stay for buying to make sense?

Often five years or more, but it varies widely. Enter your own figures; the break-even year shows when buying first leaves you with more net worth than renting.

Does the calculator include taxes?

No. Mortgage interest and property tax deductions, the capital gains exclusion on a home sale and taxes on investment returns are left out, so treat the result as a pre-tax comparison.

Where do the default rates come from?

The mortgage rate is the latest Freddie Mac 30-year average. Rent and home price growth defaults are 3%, and the latest official rent inflation and Case-Shiller home price changes are shown above the inputs for reference, all from FRED.

Related tools and guides

Updated Nov 22, 2026. Built by the ECMSource team. Spot an error? Tell us.

Disclaimer: ECMSource tools are for general education. Results are hypothetical, assume constant rates, and ignore taxes, fees and other costs unless stated. Past returns do not predict future returns. See our full disclaimer and editorial policy.