2026 US Home Sale Capital Gains Tax Calculator
A Section 121 home sale calculator estimates the federal tax on a US home sale after accounting for adjusted basis, any primary residence exclusion and taxable depreciation gain.
Home sale and income inputs
Use US dollars without commas. Use separate figures for taxable ordinary income and modified adjusted gross income (MAGI) before the sale.
How the estimate works
2026 federal planning estimate for a single property and sale with no other capital gains, losses, qualified dividends or net investment income items. The model assumes gain attributable to entered depreciation is unrecaptured Section 1250 gain when long-term. State tax, AMT, partial exclusions, separate business property, special basis adjustments and federal tax-table rounding are outside this estimate.
Subtract eligible selling expenses from the sale price. Add qualifying acquisition costs and capital improvements to the purchase price, then subtract depreciation allowed or allowable to determine adjusted basis in this model. Subtract that basis from net sale proceeds to get realized gain.
Full eligibility generally takes two years of ownership and two years of use as a principal residence during the five years before sale, plus no exclusion on another home during the prior two years. For the full joint limit, at least one spouse must meet the ownership test, both must meet the use test, and neither can have used the exclusion during the prior two years. For nonqualified use, use the taxable allocation from Publication 523.
Long-term gain uses the 2026 0%, 15% and 20% brackets. The top of the 0% and 15% bands is $49,450 and $545,500 for single filers, $98,900 and $613,700 for joint filers, $66,200 and $579,600 for heads of household, and $49,450 and $306,850 for separate filers. Unrecaptured Section 1250 gain follows the Schedule D worksheet limits up to 25%. Short-term gain is taxed at ordinary rates.
The 3.8% NIIT applies to the lesser of taxable gain from the sale or post-sale MAGI above the filing threshold. The threshold is $200,000 for single or head of household, $250,000 for joint filers and $125,000 for separate filers.
Frequently asked questions
How much gain can Section 121 exclude?
The full limit is generally $250,000, or $500,000 for a married couple filing jointly when the joint eligibility requirements are met. The selected exclusion never exceeds the eligible gain.
Can the exclusion cover depreciation for a former rental or home office?
Gain equal to depreciation allowed or allowable after May 6, 1997 is outside the exclusion. Qualifying long-term unrecaptured Section 1250 gain is taxed at up to 25%, with a lower ordinary rate applying in some cases.
Is excluded home-sale gain subject to the 3.8% NIIT?
Only the taxable portion of the gain enters the NIIT estimate. The estimated tax depends on modified adjusted gross income, filing status and the amount of net investment income.
Official sources
- IRS Publication 523 — Selling Your Home
- 26 U.S.C. § 121 — primary residence exclusion
- 26 U.S.C. § 1250 — depreciation on real property
- IRS Revenue Procedure 2025-32 — 2026 income tax and capital gain thresholds
- IRS Schedule D instructions — worksheet method for unrecaptured Section 1250 gain
- IRS Topic 559 — Net Investment Income Tax
Related calculators
2026 United States Tax & Financial Calculators
Explore official 2026 statutory planning tools for United States: