2026 Home Sale Capital Gains Tax & Section 121 Calculator
Estimate your $250,000 or $500,000 exclusion, depreciation tax, 3.8% NIIT and cash from a U.S. home sale.
Key takeaways
- Section 121 can exclude up to $250,000 of eligible gain, or $500,000 for qualifying joint filers.
- Depreciation allowed or allowable after May 6, 1997 can leave taxable gain even when the rest qualifies for exclusion.
- Taxable gain can face federal capital gains tax, NIIT and state tax. Your mortgage payoff reduces closing cash.
Calculate your home sale tax
Your 2026 estimate
- Estimated total sale tax
- Estimated §121 tax savings
- Estimated net cash at closing
- Estimated cash after sale tax
- Amount realized after selling costs
- Adjusted cost basis
- Realized gain or loss
- Section 121 exclusion limit
- Gain excluded under Section 121
- Taxable long-term gain at 0%, 15% or 20%
- Unrecaptured §1250 gain
- Federal long-term gain tax
- Federal tax on depreciation gain
- 3.8% net investment income tax
- Estimated state tax
- Estimated tax without the exclusion
Closing cash deducts selling costs and loan payoffs. After-tax cash also sets aside the estimated sale tax, which may be payable separately. A negative closing figure is cash you would need to bring.
Official 2026 U.S. tax parameters
| Filing status | §121 maximum | 0% LTCG through | 15% LTCG through | NIIT MAGI threshold |
|---|---|---|---|---|
| Single | $250,000 | $49,450 | $545,500 | $200,000 |
| Married filing jointly | $500,000 | $98,900 | $613,700 | $250,000 |
| Head of household | $250,000 | $66,200 | $579,600 | $200,000 |
| Married filing separately | $250,000 | $49,450 | $306,850 | $125,000 |
The 20% rate starts above the 15% ceiling. NIIT is 3.8% of the lesser of net investment income or MAGI above its threshold. The federal maximum rate for unrecaptured §1250 gain is 25%.
IRS sources for 2026 capital gains thresholds, home sale eligibility and basis, federal capital gains rates and NIIT.
How the estimate works
Adjusted basis equals purchase price plus eligible purchase costs and capital improvements, less depreciation. Your sale price minus selling expenses gives the amount realized. Gain is the portion of amount realized above adjusted basis.
The model removes depreciation gain before applying the exclusion, stacks the remaining taxable long-term gain above ordinary taxable income and estimates depreciation tax using a single marginal rate capped at 25%. Tax saved is the difference between the same sale with and without the exclusion, including any modeled changes to NIIT and state tax.
This planning estimate assumes property held more than one year. It uses taxable gain from this sale for NIIT and assumes the gain qualifies as net investment income. A tax return may require Schedule D or Form 8960 calculations for other gains or losses, bracket interactions, or investment income. Use IRS Publication 523 for nonqualified-use allocation, separate business portions and other basis adjustments.
Frequently asked questions
Who qualifies for the $250,000 or $500,000 home sale exclusion?
Generally, you must own and use the home as your main residence for at least two of the five years before the sale and have gone at least two years since a sale on which you claimed the exclusion. For the $500,000 joint limit, either spouse can meet the ownership test, both must meet the use test, and neither can have used the exclusion within the two-year period.
How does a partial Section 121 exclusion work?
A qualifying work move, health reason or unforeseen circumstance can allow a partial exclusion. Divide the shortest qualifying period of residence, ownership or time since a prior excluded sale by 24 months and multiply by the applicable cap. Twelve qualifying months gives a $125,000 single-filer limit.
Can I exclude gain from rental or home-office depreciation?
Gain attributable to depreciation allowed or allowable after May 6, 1997 remains taxable up to the amount of your gain. The calculator treats it as unrecaptured Section 1250 gain and estimates its federal tax at the entered ordinary marginal rate, capped at 25%.
When does the 3.8% NIIT apply to a home sale?
Gain excluded under Section 121 is outside NIIT. This estimate applies 3.8% to the smaller of the taxable sale gain and the amount by which MAGI after the taxable sale exceeds your filing threshold. Other investment income and adjustments can change the amount on Form 8960.
Does my mortgage balance change my gain or my closing proceeds?
Paying off your mortgage reduces the cash you receive at closing. Your taxable gain starts with sale price less eligible selling costs and adjusted basis. The calculator also shows what you could retain after setting aside the estimated sale taxes.
Related calculators
2026 United States Tax & Financial Calculators
Explore official 2026 statutory planning tools for United States: