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

Calculate your home sale tax

Section 121 eligibility

Use full if you meet the ownership, use and prior-exclusion tests. See the eligibility FAQ below.

Home sale and adjusted basis

Include broker commissions, seller transfer taxes and eligible direct selling expenses such as staging.

Include basis-eligible charges such as recording fees and owner's title insurance.

Include improvements still part of the home, such as an addition or a roof replacement.

Enter depreciation allowed or allowable after May 6, 1997. Use 0 if it does not apply.

Income and tax rates

Use income after deductions. The long-term gain brackets stack above this amount.

Use MAGI for NIIT. The calculator adds the taxable portion of this sale.

The model applies this rate to unrecaptured §1250 gain, capped at 25%.

Optional. This flat-rate estimate assumes your state follows the federal exclusion.

Official 2026 U.S. tax parameters

Federal thresholds by filing status, in U.S. dollars
Filing status§121 maximum0% LTCG through15% LTCG throughNIIT 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.

2026 United States Tax & Financial Calculators

Explore official 2026 statutory planning tools for United States:

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... IRS / 2026 Statutory 2026 US Installment Sale Calculator | IRS Form 6252 Calculate your Form 6252 gross profit ratio, year-one depreciation recapture, and estimated ...
Explore All 2026 Global Tax & Finance Calculators →