📊 Mortgage Information

Select your state and county of residence to auto-populate median home price

Metro areas often have more accurate pricing for urban regions
Filter median price by housing structure type
Down payment set to 20.0% of home price (editable)
Years
Months (0-11)

🏠 Home Ownership Costs

🏢 Rental Costs

📊 Alternative Investments

If renting, how would you invest the down payment and the monthly savings compared to owning?

Based on S&P 500 avg annual return 2016-2025 (source: Statmuse/Macrotrends)
Calculated as: Monthly ownership cost - Monthly rental cost

Cost Comparison Summary

Fill in the Home Ownership and Rental Costs tabs on the left to see the comparison.

Amortization Table

Enter mortgage details and click "Calculate" to generate the amortization table.

Total Cost of Home Ownership

Fill in the Home Ownership tab on the left to see total ownership costs.

Total Rental Costs

Fill in the Rental Costs tab on the left to see total rental costs.

Investment Returns When Renting

Fill in the inputs to see investment return comparison.

How the Rent vs Buy Calculator Works

This calculator answers the question "should I rent or buy?" for your specific numbers rather than the national averages that most online guides use. It takes the home price, your down payment, mortgage rate, property tax, insurance, HOA, maintenance, and expected home appreciation on the buying side, and on the renting side it takes your rent, renters insurance, rent growth, and the return you'd earn by investing the down payment instead. It then runs both scenarios side by side and tells you which comes out ahead at the end of your planned time in the home.

What "true cost of ownership" means

The sticker price of a home dramatically understates what you actually spend. A realistic cost of ownership includes:

How renting is scored fairly

Comparing rent to a mortgage payment alone is misleading. In the renting scenario the calculator invests the money you didn't spend — the down payment plus the gap between the all-in ownership cost and rent in any month where owning is more expensive — and compounds it at the return rate you choose (a high-yield savings rate for the safe case, something closer to historical equity returns for the aggressive case). That's the only honest way to run the comparison.

Core formulas

Monthly mortgage payment:

P = L × c(1 + c)n / ((1 + c)n − 1)

Net equity at exit (buying side):

Equity = Sale Price − Loan Balance − Selling Costs

Portfolio value at exit (renting side):

V = Down × (1 + r)t + Σ monthly_savings × (1 + r)(t − month)

The 5-year rule, and why it isn't universal

A common shorthand says you need to stay in a home at least five years for buying to beat renting, because the 7%–12% round-trip cost of buying and selling takes that long to earn back through equity and appreciation. That's a decent rule of thumb for average markets, but the real break-even depends on three things: your price-to-rent ratio (home price ÷ annual rent — under 15 favors buying, over 21 favors renting), your mortgage rate, and your expected appreciation. In high-cost coastal metros the break-even can stretch to 7–10 years; in affordable Midwestern markets it can be as short as 3.

Worked example

Frequently asked questions

Should I rent or buy a home?

The decision depends on how long you plan to stay, local price-to-rent ratios, mortgage rates, your down payment, and the return you could earn by investing the money instead. In most markets you need to stay about 5 years for buying to beat renting after closing costs, maintenance, and selling costs. The calculator runs that break-even for your specific numbers.

What is the true cost of home ownership?

True ownership cost includes mortgage principal and interest, property taxes, homeowners insurance, HOA fees, maintenance (typically 1%–2% of home value per year), utilities, buying closing costs (2%–5%), selling costs (5%–7%), and the opportunity cost of your down payment. The calculator accounts for all of these.

What investment return should I use when renting?

A conservative baseline is a high-yield savings account at roughly 4%–5% APY. A more aggressive comparison uses the long-run S&P 500 average of about 10% nominal before taxes. The calculator lets you pick a rate so you can model both.

How does home appreciation change the math?

Appreciation builds equity, which is one of the biggest advantages of buying. The historical US average is around 3%–4% per year, but it varies widely by metro. The calculator applies your chosen appreciation rate and then subtracts selling costs so the comparison is apples-to-apples.

What is the 5-year rule for rent vs buy?

The 5-year rule is a shorthand that says buying usually only pays off if you stay in the home for at least five years, because closing and selling costs (combined 7%–12%) take that long to be offset by equity and appreciation. Your actual break-even depends on local rents, home prices, and rates.

Related calculators