🏛️§121 primary residence exclusion
If you lived in the home as your primary residence for 2 of the last 5 years before sale, you can exclude up to $250k of capital gain ($500k married). Convert to a rental and the 5-year clock starts running — sell within 3 years and you keep the full exclusion. Hold longer and you lose it.
📉Depreciation recapture
When you rent the property, the IRS lets you depreciate the building (not the land) over 27.5 years. That shields rental income from tax — but when you sell, the IRS takes 25% of every dollar you depreciated. There's no way around it, even with §121.
🔄Why reinvestment rate matters
Selling isn't free — you have to do something with the cash. We model it earning the reinvestment rate (default 7%, roughly long-run S&P 500). Lower this if you'd just park it in a savings account. Higher if you're an active investor.
📊The two scenarios
Sell now: home value − selling costs − loan payoff − tax = cash. Invest that lump sum at the reinvestment rate. Rent then sell: collect annual cash flow (rent minus all expenses) reinvested at same rate, plus the after-tax sale proceeds at year N.
⚠️What this calculator can't predict
Property appreciation, rent growth, and investment returns are estimates — actual outcomes will diverge. Vacancies happen in clumps, not as a smooth %. A bad tenant or burst pipe can wipe out a year of returns. Use a 5-year horizon at the shortest for any real decision.
🧮Disclaimer
This is a planning tool, not tax advice. Real-world tax treatment depends on your specific facts, state taxes (not modeled here), NIIT, AMT, prior depreciation, and other variables. Run the numbers with a CPA before pulling the trigger either way.