When to sell the house in a divorce can change the tax by six figures. Sell while still married and file jointly, sell after and each report a share, or one of you keeps it and sells later alone. Enter your numbers to see your tax under all three.
By Hans Goldstein, EA, founder, Retirement Literacy Foundation. 2026 federal law, every rate sourced below.
Free calculator
Enter your numbers. Your results show right on the page.
Worked example
A California couple divorcing in 2026 owns a home worth $1,600,000 that they bought for $500,000 and improved by $100,000. Selling costs are $90,000. One earns $120,000, the other $60,000, and they own it 50/50.
| Line | Amount |
|---|---|
| Your tax on the home sale | $56,275 |
| Total gain on the house | $910,000 |
| Carryover basis (what you paid plus improvements; IRC 1041) | $600,000 |
| Sell before the divorce is final, joint return: your share of the tax | $56,275 |
| Same, tax for the two of you | $112,550 |
| Sell after the divorce, split 50/50: your tax | $54,565 |
| Same, your ex's tax | $51,148 |
| You keep the house and sell it later alone: your tax | $214,597 |
Computed October 13, 2026 with the same engine the calculator uses: 2026 federal brackets (IRS Rev. Proc. 2025-32), state rates as coded for 2026. Illustrative; your numbers will differ.
How it works
Common questions
Often before the divorce is final, in a year you can still file jointly, because the $500,000 exclusion covers the whole gain on one return. After the divorce, two $250,000 exclusions on your two shares can do as well when the gain is split evenly. Keeping it and selling alone later usually costs the most.
No. A transfer incident to divorce is tax free under IRC 1041. Your ex takes your old basis, so the tax waits until they sell.
Yes, if your former spouse keeps living there under the divorce or separation instrument: their use counts as yours (IRC 121(d)(3)(B)). You still need 2 years of ownership in the 5 before the sale.
By ownership. Each of you reports the gain on your share and claims your own exclusion. On a joint return the gain and the exclusion are combined.
Most states follow the federal exclusion and IRC 1041. The calculator applies your state's 2026 rates to the taxable part.
Related: Home sale capital gains calculator · Step-up in basis calculator · Capital gains tax calculator · Widow's penalty calculator · Estimated tax after a sale · Mortgage over basis calculator
Free seller tax calculators
Audit trail
Reviewed for the Retirement Literacy Foundation, a 501(c)(3) education nonprofit. Prepared by Hans Goldstein, EA, retirement educator. Admitted to practice before the IRS. Informational only. Not tax, legal or investment advice. Every figure below cites its source so your CPA or attorney can check it.
Figures are 2026 federal amounts unless stated. Examples are illustrative and rounded; your numbers will differ. By Hans Goldstein, EA, founder, Retirement Literacy Foundation. Last reviewed .
Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS.