Rent vs buy calculator

Compare buying a home with renting a similar one. The calculator tracks every month you plan to stay, invests whatever the cheaper option saves, and shows which leaves you with more money and when buying breaks even.

On this page

Rent or buy calculator

The starting figures describe a hypothetical $400,000 home and a $2,300 rental. The mortgage rate is Freddie Mac's 30-year average of 7.40% for October 15, 2026; use the rate you are quoted.

Share of the price
Per year, share of home value
Per year, share of home value
Per year
Commission and closing costs at sale
Per year
Per year, on money not spent on housing
Renting comes out ahead by
$23,872
After 7 years, in future dollars
Break-even year
Not within 7 years
First year-end when buying is ahead
First-year monthly cost
$3,066
To own, versus $2,300 rent
Wealth if you buy
$168,992
Home equity after selling costs, plus savings
Wealth if you rent
$192,863
Down payment and closing costs invested, plus savings

Formula: Buying wealth = home value × (1 − selling costs) − loan balance + invested savings. Renting wealth = down payment and closing costs invested + invested savings. Each month, whichever option costs less invests the difference.

Monthly cost to own is mortgage principal and interest, property tax, maintenance, insurance and HOA dues. Income taxes are left out. Starting figures are hypothetical examples, except where a section names its source. Results are screening estimates, not appraisals, loan approvals or investment advice.

All real estate calculators

How the rent vs buy calculator works

It compares two households with the same starting cash. One buys; the other rents and invests the down payment and closing costs. Here is the default example.

  1. Starting cash

    Buying the $400,000 home takes an $80,000 down payment and $12,000 of closing costs. The renter invests that $92,000 instead at 5% a year.

  2. First-year monthly costs

    A $320,000, 30-year loan at 7.40% costs $2,216 a month. Add property tax, maintenance and insurance and owning costs about $3,066 a month, against $2,300 rent. The renter invests the $766 difference each month.

  3. Values grow

    The home gains 3% a year and rent rises 3% a year. Both savings pots earn 5% a year. Owner costs tied to home value rise with it.

  4. Compare at the end

    After 7 years the home is worth about $491,950. After 6% selling costs and the $293,441 loan balance, the buyer has $168,992. The renter's portfolio is $192,863, so renting is ahead by $23,872.

  5. Find the break-even year

    With these inputs buying first comes out ahead at the end of year 12. After 30 years the buyer is ahead by about $435,000.

The break-even year moves a lot with the mortgage rate, price growth and how long you stay. Rerun the calculator with a lower rate or a longer stay and watch the result change.

How to read the result

Ahead by

The difference in total wealth between the two paths at the end of your stay, before income taxes. A small gap means the choice depends more on preferences than on money.

Break-even year

The first year-end when selling the home would leave you with more than renting and investing. Staying fewer years than this favors renting.

Price-to-rent ratio

For a quick market screen, divide the home price by a year of rent. $400,000 ÷ ($2,300 × 12) = 14.5. Our price-to-rent ratio guide explains how to read it.

What it leaves out

Income tax effects, mortgage insurance, moving costs and renters insurance. A home sale gain may also be partly tax-free under the IRS home sale exclusion; see our capital gains calculator.

Frequently asked questions

QUICK ANSWERS

How we reviewed this

Sources reviewed October 19, 2026. The mortgage rate is Freddie Mac's published weekly average; all other starting figures are hypothetical.

Sources