Renting out your home usually wins when the rent comfortably covers the mortgage and costs, you expect steady appreciation, and you can sell within about three years to keep the tax break. Selling wins when cash flow is thin or negative, or you'd rather invest the equity elsewhere. The calculator compares the after-tax net worth of each path.
The two paths, side by side
When you move out of a home you own, you face a fork: sell now and put the equity to work elsewhere, or keep it as a rental and collect income plus future appreciation. The honest comparison isn't rent vs. mortgage — it's the net worth each choice leaves you with at the end of your holding period, after tax.
- ·Sell + invest: net proceeds today (sale price − payoff − ~6–8% selling costs − any tax), grown at the return you'd earn investing it.
- ·Rent then sell: annual after-tax cash flow + mortgage paydown + appreciation, then a sale at the end — minus selling costs, capital-gains tax, and depreciation recapture.
The calculator runs both and reports the difference, plus the rental's cap rate and monthly cash flow so you can see whether it stands on its own as an investment.
The tax clock that changes everything
The biggest hidden variable is the Section 121 exclusion. If you owned and lived in the home at least 2 of the last 5 years, you can exclude up to $250,000 of gain (single) or $500,000 (married filing jointly) — tax-free. Because that 2-year use has to fall inside the 5-year window ending at sale, the practical effect is that you generally must sell within about 3 years of moving out to keep it.
A second tax applies no matter when you sell: the depreciation you take while renting (the building over 27.5 years) is recaptured at up to 25% at sale. It lowers your tax while renting, then comes back when you sell.
Does it actually cash-flow?
A former home often makes a mediocre rental, because the mortgage was sized to a purchase price, not to what the rent can support. Before counting appreciation, check the operating math: rent, minus vacancy (~5%), management (8–10% unless you self-manage), maintenance (~1% of value a year), taxes, insurance, and the mortgage. If that's negative, you're paying every month to hold the bet.
Use the cap rate as a reality check — a healthy US residential rental lands around 5–8%. For a deeper investment view, run it through the rental property ROI calculator, and price the sale side with the cost-to-sell calculator.
When each one wins
Lean toward renting if…
- ·The rent covers the mortgage and expenses with room to spare
- ·You expect strong appreciation and can hold for many years
- ·You have low or no mortgage, so cash flow is easy
- ·You might move back in, or want optionality in a market you'd re-enter
Lean toward selling if…
- ·Cash flow is negative and appreciation is uncertain
- ·You'd forfeit a large Section 121 exclusion by renting past ~3 years
- ·You want the equity diversified rather than concentrated in one property
- ·You have no appetite for tenants, repairs, and vacancy risk
Want the full framework, including the landlord-cost reality and the tax trap in plain language? Read the guide: Renting vs. Selling Your Home.
Methodology
The calculator compares after-tax net worth of selling-and-investing versus renting-then-selling over your chosen horizon, using the standard amortization formula and the Freddie Mac PMMS 30-year average (6.58%, week of July 23, 2026) where a rate default is shown. Tax modeling is federal only: the Section 121 exclusion ($250k/$500k) with the ~3-year post-move-out window, residential depreciation over 27.5 years on 80% of basis, depreciation recapture at 25%, and long-term capital gains at your entered rate. It does not model state taxes, nonqualified-use proration, or every circumstance. Educational only — not tax or investment advice; consult a CPA and IRS Publication 523.
Sources
- IRS Publication 523 — Selling Your Home (Section 121 exclusion) — accessed 2026-07-26
- IRS Topic 409 — Capital Gains and Losses (25% unrecaptured §1250 gain) — accessed 2026-07-26
- IRS Publication 527 — Residential Rental Property (27.5-year depreciation) — accessed 2026-07-26
- Freddie Mac — Primary Mortgage Market Survey (rate, week of July 23, 2026) — accessed 2026-07-26