—
Est. 2023
Payney.
Finance · Markets · Crypto
Home›Tools›Capital Gains Tax Calculator 2026
Calculator

Capital Gains Tax Calculator 2026

Estimate 2026 federal tax on a stock or crypto sale: 0%, 15% and 20% long-term rates, short-term gains as income, the 3.8% NIIT and room left at 0%.

Enter your other income and the gain you plan to realize in 2026. The calculator stacks long-term gains on top of ordinary income the way the IRS worksheet does, taxes short-term gains as ordinary income, and adds the 3.8% net investment income tax when your income crosses its threshold. It uses the IRS figures for tax year 2026.

Quick answers

Common cases, computed by this calculator with the assumptions listed under the method. Select one to load it above.

What is the tax on a $20,000 long-term gain with $60,000 of wages, filing single?
$2,168 10.8% of the gain Federal tax on these gains Open in the calculator
How much tax on a $100,000 long-term gain for a married couple with $150,000 of income?
$15,000 15.0% of the gain Federal tax on these gains Open in the calculator
What is the tax on a $10,000 short-term gain with $75,000 of wages, filing single?
$2,200 22.0% of the gain Federal tax on these gains Open in the calculator
How much long-term gain can a married couple with $60,000 of income realize at 0%?
$71,100 Long-term gain you could still realize at 0% Open in the calculator

How the tax is worked out

Taxable income is other income plus gains minus the larger of the 2026 standard deduction and your itemized deductions. The deduction comes off ordinary income first. Ordinary income and short-term gains are taxed through the 2026 brackets. Long-term gains sit on top of that income: the part below the 0% ceiling for your filing status is taxed at 0%, the part up to the 15% ceiling at 15% and the rest at 20%. As on the IRS worksheet, the result is never more than taxing everything as ordinary income.

The net investment income tax is 3.8% of the smaller of your gains and the amount by which income plus gains exceeds $200,000 (single or head of household), $250,000 (married filing jointly) or $125,000 (married filing separately). The tax on these gains is the difference between the total with and without them.

2026 thresholds used

0% up to $49,450 of taxable income for single filers, $98,900 married filing jointly, $66,200 head of household and $49,450 married filing separately. 15% up to $545,500, $613,700, $579,600 and $306,850. Standard deduction $16,100, $32,200, $24,150 and $16,100. Source: IRS Rev. Proc. 2025-32; see also IRS Topic 409 and Topic 559 on the NIIT.

What is left out

State tax, the alternative minimum tax, credits, the 28% rate on collectibles, the 25% rate on unrecaptured section 1250 gain, interest and dividends inside the NIIT base and the $3,000 limit on deducting net losses. Treat the result as an estimate, not tax advice.

Frequently asked
How much tax will I pay on a $20,000 long-term gain?
With $60,000 of wages, filing single, about $2,168, or 10.8% of the gain: $5,550 falls in the 0% band and $14,450 is taxed at 15%. Your figure depends on your income and filing status, so run it above.
How much can I sell at the 0% capital gains rate in 2026?
Long-term gains are taxed at 0% while taxable income, including the gain, stays at or below $49,450 for single filers or $98,900 for married couples filing jointly. With $60,000 of wages, a single filer has $5,550 of room left at 0% after the standard deduction; a married couple with the same income has $71,100.
Are short-term capital gains taxed differently?
Yes. Gains on assets held a year or less are added to ordinary income and taxed at your bracket rate, from 10% to 37%. Long-term gains get the 0%, 15% or 20% rates.
Does the 3.8% net investment income tax apply to me?
Only if your modified adjusted gross income is above $200,000 single, $250,000 married filing jointly or $125,000 married filing separately. It then applies to the smaller of your investment income and the excess.
Is crypto taxed the same way as stocks?
Yes for federal income tax: selling or swapping crypto realizes a capital gain or loss, long-term after more than one year. Each disposal needs its own cost basis.

Calculation notes updated .

Embed this calculator on your site

Free to use on any site. Paste this code where you want the calculator to appear; please keep the credit line.

All embeddable calculators

Related guides and calculators