Divorce Advisor Match

Divorce Home Calculator: Keep, Sell, or Buy Out Your Spouse

"Should I keep the house?" is the most financially consequential — and most emotionally charged — decision most divorcing individuals face. The right answer depends on whether you can actually afford to refinance on a single income, how much capital gains tax you'd owe if you sold, and whether the equity would grow faster in the home or invested elsewhere. This calculator models all three scenarios with your actual numbers.

The §1041 basis trap most people miss. Under IRC §1041, when your spouse transfers the marital home to you as part of divorce, the transfer itself is tax-free — but you inherit the original purchase-price basis, not today's fair market value.1 When you eventually sell, your capital gain is calculated from the original purchase price, not what the home was worth when you took it in the divorce. A $500,000 home awarded in divorce at $200,000 of equity could generate a $350,000+ taxable gain when you sell years later — before the §121 exclusion. The asset division should reflect this future tax liability.

What this calculator doesn't model — and why it matters

The NIIT (3.8% surtax)

If your modified adjusted gross income exceeds $200,000 (single), a 3.8% Net Investment Income Tax applies to the lesser of net investment income or the excess above the threshold.4 For a divorcing individual with a large capital gain, this can add thousands to the tax bill calculated above. Run the numbers with your CPA if your income is near this threshold.

Selling while still married vs. post-divorce

If you sell the marital home before the divorce is final and both spouses have used it as their principal residence for 2 of the last 5 years, you can claim the $500,000 MFJ §121 exclusion — $250,000 more protection than a single-filer gets post-divorce.2 For a couple with substantial appreciation, the timing of the sale relative to the final decree can change the tax bill by tens of thousands of dollars. This is a CDFA decision, not a guess.

The keep-and-rent-out scenario

Some divorcing individuals keep the home, move out, and rent it to generate income during the transition. This starts a depreciation clock and triggers passive activity rules — and if you later want to sell and claim the §121 exclusion, your vacancy period (non-personal-use years) counts against the 2-of-5-year test. The §121 exclusion is partially prorated for periods of non-qualified use after 2009.

State taxes

This calculator models federal tax only. Some states (California, New York, Massachusetts, etc.) have their own capital gains taxes at ordinary income rates — which can add 5–13% to the gain tax shown above. A complete analysis requires state-level numbers.

The §121 divorce exception — for the spouse who moves out

Under Reg. §1.121-4(b)(2), if the home is transferred to you under IRC §1041 (your spouse moves out and you keep the home), you can tack on your ex-spouse's ownership period to satisfy the 5-year ownership test — but each of you must still meet the use test independently based on your own residence in the home. If you're the one who left the marital home and your spouse stayed, you may not qualify for the §121 exclusion when the home is eventually sold.1

Why the home decision needs a specialist. The keep-vs-sell decision isn't just about today's equity — it's about the §1041 basis you're inheriting, the §121 exclusion you're trading away, the DTI you can qualify for on a single income, and how the home compares to a diversified portfolio over 10–20 years. A CDFA-credentialed fee-only advisor models these scenarios in the context of your full settlement — retirement accounts, alimony, liquid assets — so you're not giving up $100,000 of value by choosing the wrong asset.

Get your home decision modeled by a specialist

The calculator shows you the framework. A CDFA models your specific scenario — the §1041 basis you'd inherit, the §121 timing decision, your DTI picture with actual lender requirements, and whether trading the home for a larger retirement account produces more long-term wealth. Free match, no obligation.

Sources

  1. IRC §1041 — Transfers of property between spouses or incident to divorce (Cornell LII)
  2. IRS Topic No. 701 — Sale of Your Home (§121 exclusion, $250K/$500K, 2-of-5-year test, divorce exception)
  3. IRS Rev. Proc. 2025-32 — 2026 inflation adjustments including LTCG thresholds ($48,350 single 0%/$98,900 MFJ 0%)
  4. IRS — Net Investment Income Tax (3.8% surtax) — thresholds, scope, and capital gains treatment
  5. Treas. Reg. §1.121-4(b)(2) — §121 exclusion: divorce and separation rules for ownership and use testing

LTCG thresholds verified against IRS Rev. Proc. 2025-32 (2026 tax year). §121 exclusion amounts are statutory ($250K single / $500K MFJ) — not inflation-adjusted. The 15%/20% LTCG boundary for 2026 single filers is approximately $533,400 (estimated from 2025 value of $518,900 adjusted for inflation; TODO-verify against IRS pub when finalized). Refinance rates based on Freddie Mac PMMS 30-yr fixed as of April 23, 2026. This calculator is for directional analysis only — not tax, legal, or investment advice. Consult a CDFA and CPA for decisions of this magnitude. Values verified April 2026.