Rent vs Buy Calculator: Should You Rent or Buy a Home?

Compare the full cost of owning against renting and investing the difference. Pick a city to start from its median home value and rent, then adjust anything.

Default mortgage rate: 7.28% (Freddie Mac 30-year fixed average, November 19, 2026) · Prices: Census ACS 2020–2024 · Updated December 2026

Buying
Renting

How the calculator works

Each month we add up what a buyer pays (mortgage, property tax, insurance, maintenance and HOA) and what a renter pays (rent and renters insurance). Whoever pays less invests the difference at your investment return, and the renter also invests the down payment and closing costs a buyer would have spent. At the end we compare net worth: for the buyer, the home's value minus selling costs and the remaining loan, plus any investments; for the renter, their investments.

Taxes on investment gains and the mortgage interest deduction aren't included. Most households now take the standard deduction, so the interest deduction rarely changes the answer.

Where renting or buying makes more sense

Price-to-rent ratio = median home value ÷ a year's median rent, for cities with 100,000+ people. Under 15 tends to favor buying; above 20 tends to favor renting.

Renting tends to win (highest ratios)

  1. Berkeley, CA 55.2
  2. Sunnyvale, CA 49.4
  3. San Francisco, CA 46.9
  4. San Mateo, CA 43.8
  5. Santa Clara, CA 43.7
  6. Bellevue, WA 43.4
  7. Boulder, CO 42.9
  8. Glendale, CA 42.1

Buying tends to win (lowest ratios)

  1. Detroit, MI 6.5
  2. Jackson, MS 8.8
  3. Cleveland, OH 9.0
  4. Dayton, OH 9.1
  5. Toledo, OH 10.6
  6. Akron, OH 10.6
  7. Rochester, NY 10.8
  8. Lansing, MI 10.8

Frequently asked questions

Is it better to rent or buy a house in 2026?

It depends on how long you'll stay and local prices. With 30-year mortgage rates around 7.28% (November 19, 2026), buying usually needs 5 to 10 years to beat renting, and longer in high-cost coastal cities where home prices are 25+ times annual rent. In cheaper Midwest and Southern cities, buying can pay off in 3 to 5 years.

What is the price-to-rent ratio?

Home price divided by a year's rent. Under about 15 usually favors buying, 15 to 20 is a toss-up, and above 20 usually favors renting unless you'll stay a long time. The tables below show it for big US cities using Census medians.

What does the calculator include?

Down payment, closing costs, mortgage interest and principal, property tax, homeowners insurance, maintenance, HOA fees, home price growth, selling costs, rent growth and renters insurance. It also assumes whoever spends less each month invests the difference, so the comparison is fair.

Does it include the mortgage interest tax deduction?

No. Since the 2017 tax law roughly doubled the standard deduction, most homeowners don't itemize, so the deduction doesn't help them. If you do itemize, buying looks a little better than shown.

How long do I need to stay to make buying worth it?

The calculator's break-even year is the first year buying leaves you with more net worth than renting and investing. If you might move before then, renting is usually the safer choice.

Related tools and guides