Capital Gains Tax Calculator (2026)
A common question before a sale is how much federal tax the gain might owe. Enter the sale price, cost basis, holding period and other income to see an estimate of the tax by bracket and what remains after tax.
Capital gains estimate (2026)
How this estimate works
Estimates only. Not tax advice. Schroeder Capital Management, a fee-only advisor.
Estimates only. Not tax advice, and not a recommendation to sell, hold or defer a sale. Figures use 2026 federal ordinary brackets, the 2026 basic standard deduction and the 2026 long-term capital gains 0%, 15% and 20% taxable-income thresholds from IRS Revenue Procedure 2025-32. The 3.8% net investment income tax under Internal Revenue Code section 1411 is included when modified AGI is over the statutory threshold ($200,000 if you file single or as a head of household, $250,000 if you file jointly or as a qualifying surviving spouse, $125,000 if you file separately). Other income is treated as adjusted gross income before the sale and as not net investment income. The estimate uses the basic standard deduction only, assumes one sale and no other gains or losses, and does not include the additional standard deduction for age 65 or older or the senior deduction. State tax, if shown, is a flat rate applied to the gain and is only a rough stand-in. The exclusion for a principal residence, qualified small business stock, collectibles, unrecaptured depreciation, installment sales, opportunity zones, wash sales, transaction costs and itemized deductions are not included. Schroeder Capital Management, a fee-only advisor.
Capital Gains Checklist
How is the gain figured?
The estimate subtracts the cost basis you enter from the sale price. A positive result is a gain. A negative result is a loss. Transaction costs, wash sales and adjustments to basis are not included.
How is the federal tax estimated?
Long-term gains (held more than one year) use the 2026 0%, 15% and 20% rates, stacked on top of other taxable income after the 2026 standard deduction. Short-term gains are taxed as ordinary income using the 2026 ordinary brackets. The 3.8% net investment income tax is added when modified AGI is over the statutory threshold. The estimate uses the basic standard deduction only, and does not include the additional standard deduction for age 65 or older or the senior deduction.
What is the 3.8% net investment income tax?
It might apply when modified AGI is over $200,000 if you file single or as a head of household, $250,000 if you file jointly or as a qualifying surviving spouse, or $125,000 if you file separately. The estimate is 3.8% of the lesser of this gain or the amount over the threshold. Other investment income is not included.
How is state tax estimated?
If you enter a flat rate, that rate is applied to the gain. It is only a rough stand-in. Most states that tax the gain treat it as ordinary income, which a flat rate does not model. Leave the rate blank to skip state tax.
Does this include the sale of a home, qualified small business stock or a collectible?
No. The exclusion for a principal residence, the qualified small business stock exclusion, the 28% collectibles rate and the 25% rate on unrecaptured real estate depreciation are left out of this estimate.
Does this compare selling all at once with spreading a sale?
No. This page estimates the tax on one sale. A separate calculator on this site estimates selling a large position all this year versus spreading it over several years.