How capital gains tax is estimated
The calculator starts with amount realized, subtracts adjusted basis, applies any eligible home-sale exclusion, and then estimates federal tax using long-term or short-term capital gains treatment.
Capital gains tax calculator
Estimate federal capital gains tax for a home sale, rental property, stock sale, or other asset sale using 2026 IRS threshold assumptions.
Last reviewed: September 22, 2026
2026 federal estimate
Estimate US federal capital gains tax for a home, rental property, stock, or other asset sale. The default scenario is a primary residence sale.
Amount realized equals sale price minus selling costs. Adjusted basis equals purchase price plus improvements minus depreciation taken.
The calculator starts with amount realized, subtracts adjusted basis, applies any eligible home-sale exclusion, and then estimates federal tax using long-term or short-term capital gains treatment.
For a home or property sale, selling costs and capital improvements can reduce the gain. Rental or business use can add depreciation recapture, which this calculator separates as a planning estimate.
Most assets held more than one year use long-term capital gains rates. Assets held one year or less are generally taxed as ordinary income, so the estimate uses 2026 ordinary income brackets for short-term gains.
Higher-income taxpayers may owe the 3.8% Net Investment Income Tax. State capital gains treatment varies, so the state field is an optional rate-based estimate rather than a state-specific legal conclusion.
Taxable gain = sale price - selling costs - adjusted basis - eligible home-sale exclusion
Adjusted basis is estimated as purchase price plus improvements minus depreciation taken. This simplified model does not handle installment sales, like-kind exchanges, collectible gains, qualified small business stock, AMT, passive-activity rules, or every state-specific rule.
Possibly. IRS rules may allow an exclusion up to $250,000, or up to $500,000 for many married couples filing jointly, if ownership and use tests are met. The calculator only applies the exclusion when you turn that setting on.
It provides a simplified unrecaptured depreciation estimate by taxing depreciation taken at up to 25%. Rental real estate can involve more rules, so use it as a planning estimate.
No. Final capital gains tax can depend on your complete return, losses, carryovers, depreciation history, forms, state rules, and filing facts. Use official IRS guidance or a tax professional for filing decisions.
This calculator cites official IRS pages for core rules and uses 2026 inflation-adjusted thresholds from IRS Revenue Procedure 2025-32 as published in Internal Revenue Bulletin 2025-45.
This calculator provides estimates only. It does not decide your final tax liability, filing position, eligibility for a home-sale exclusion, depreciation treatment, state tax, or reporting forms. Capital gains rules can vary by asset type, holding period, filing facts, losses, carryovers, and state law.