Compare the $500,000 married exclusion vs the $250,000 single/divorced exclusion on your home sale. Calculate tax savings from selling before divorce is finalized.
All calculations are private — nothing leaves your browser
$
$
$
$
yrs
yrs
Married Filing Jointly — Capital Gains Tax
No Tax Owed
Total Capital Gain$340,000
Married Exclusion$340,000
Taxable Gain$0
Tax Rate15%
Net Proceeds After Tax$705,000
Residency RequirementMet (2-of-5 years)
Result copied to clipboard
Capital Gains Tax on Home Sale: Married vs. Divorced
When selling a home, married couples filing jointly can exclude up to $500,000 of capital gains, while single and divorced taxpayers can only exclude $250,000. This $250,000 difference is one of the most significant tax implications of divorce timing for homeowners.
To qualify for either exclusion, you must pass the 2-of-5 year rule: you must have owned the home for at least 2 years and lived in it as your primary residence for at least 2 of the last 5 years before the sale. Special partial exclusion rules apply for divorce, job relocation, and health emergencies.
Capital Gains Formula
Adjusted Basis = Purchase Price + Improvements + Selling Costs
Capital Gain = Sale Price − Adjusted Basis
Exclusion:
Married Filing Jointly (2-of-5 yr rule met): Up to $500,000 excluded
Single or Divorced (2-of-5 yr rule met): Up to $250,000 excluded
Exclusion not met: $0 excluded
Taxable Gain = Max(0, Capital Gain − Exclusion)
Capital Gains Tax Rates (2026):
0%: Taxable income ≤ $89,250 (MFJ) / $44,625 (single)
15%: Most taxpayers
20%: Taxable income > $553,850 (MFJ) / $492,300 (single)
Example Calculation
Example: $750,000 Home, $320,000 Original Purchase
Sale price$750,000
Purchase price$320,000
Improvements$45,000
Selling costs (6%)$45,000
Total capital gain$340,000
Married exclusion ($500K)$340,000 fully excluded
Married tax owed$0
Single exclusion ($250K)$90,000 taxable
Single tax at 15%$13,500
In this example, selling the home before finalizing divorce saves $13,500 in capital gains taxes. For higher-gain homes, the savings can exceed $50,000.
Frequently Asked Questions
To qualify for the Section 121 home sale exclusion, you must have owned the home and used it as your primary residence for at least 2 of the 5 years immediately before the sale. The 2 years of residency do not need to be consecutive. You can claim the exclusion once every 2 years. There are exceptions for divorce, job relocation, health, and unforeseen circumstances that allow a partial exclusion.
From a tax perspective, selling while still legally married preserves the $500,000 exclusion vs. $250,000 after divorce. However, this must be weighed against property settlement goals, market timing, and logistical realities. If one spouse keeps the home post-divorce, they should track their basis carefully and consider whether they can meet the 2-of-5 year rule when they eventually sell.
If you receive the house in a divorce settlement and continue living there, you can qualify for the $250,000 single exclusion when you eventually sell — provided you meet the 2-of-5 year residency rule. Your basis for calculating gain is typically the same carryover basis from when you and your ex bought the home. One important rule: if you received the home via divorce settlement, the time your ex-spouse owned it counts toward the 2-year ownership requirement.
Yes. Capital improvements — additions, renovations, new systems, landscaping — that add value and last more than one year increase your adjusted basis, directly reducing your taxable capital gain. Keep receipts and records of all significant home improvements. Regular maintenance and repairs (painting, fixing a leak) do not increase your basis.
Selling costs that reduce your taxable gain include: real estate agent commissions (typically 5–6%), attorney fees for the sale, title insurance and settlement fees, transfer taxes and recording fees, and any amounts you paid to repair or fix up the home specifically for sale. Staging costs and home inspection repairs made as part of the sale negotiation may also qualify.
Four-scenario exclusion comparison chart, married vs. divorced sale tax impact side-by-side, and gain breakdown visualization.
+
Open Advanced Calculator — Scenario Chart & Married vs. Divorced Comparison
Home Sale Details
$
$
$
yrs
yrs
%
Net Proceeds by Exclusion Scenario
Net ProceedsCapital Gains Tax
Gross Gain & Exclusion Eligibility
$385,000 gross capital gain
2-of-5 Year TestMet (7 years)
No Exclusion$57,750 tax
Single ($250K)$20,250 tax
Married ($500K)No tax
Partial Hardship$20,250 tax
Professional
Adjusted cost basis builder with improvements and depreciation, 1031 exchange with boot calculation, installment sale analysis (IRC §453), and state capital gains rates.
+
Open Professional Calculator — Cost Basis, 1031 Exchange & Installment Sale