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.

Home and sale
For example, seller-paid agent commissions and qualifying transfer taxes.
If applicable, use the amount from IRS Publication 523’s worksheet, excluding depreciation gain.
Federal tax and eligibility
After deductions, excluding this sale and other preferential-rate income.
Enter your figures and select Estimate federal home sale tax.

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

Related calculators

2026 United States Tax & Financial Calculators

Explore official 2026 statutory planning tools for United States:

IRS / 2026 Statutory 2026 Home Sale Capital Gains Tax & Section 121 Calculator Estimate 2026 U.S. home sale tax, the $250,000 or $500,000 Section 121 exclusion, depreciati... IRS / 2026 Statutory 2026 HSA Calculator | $4,400 / $8,750 Limits & Shoebox Strategy Check 2026 HSA limits and HDHP rules, calculate Section 125 payroll tax savings, and compare... IRS / 2026 Statutory 2026 Inherited IRA 10-Year Rule & Annual RMD Schedule Calculator 2026 statutory calculator for 2026 Inherited IRA 10-Year Rule & Annual RMD Schedule Calculator. IRS / 2026 Statutory Inherited IRA 10-Year Rule, RMD & Form 5329 Calculator (2026) Estimate inherited IRA annual RMDs, the year-10 withdrawal, federal tax under two withdrawal...
Explore All 2026 Global Tax & Finance Calculators →