Skip to content
ToolGrym
Taxes calculator

2026 Capital Gains Tax Calculator

Estimate 2026 federal tax attributable to net short- and long-term capital gains by stacking them above ordinary taxable income.

Formula
Shown below
Data
Stays private
Result
Updates live

Written by the ToolGrym Editorial Team

Last reviewed:

Calculation workspace

Enter your numbers

No submit button — results update as you type.

$

After deductions; exclude these gains

$
$

Estimated 2026 federal tax on gains

$1,583

Incremental regular tax attributable to the entered gains

Tax on short-term gain
$0
Tax on long-term gain
$1,583
Effective rate on entered gains
7.9%

Long-term gain rate bands

$20,000

Long-term gain stacked above ordinary income and short-term gain

Taxed at 0%
$9,450
Taxed at 15%
$10,550
Taxed at 20%
$0

This simplified federal estimate excludes capital-loss netting mechanics, carryovers, qualified dividends, collectibles, unrecaptured Section 1250 gain, Section 1202, Net Investment Income Tax, state tax, and AMT.

How the 2026 capital-gain estimate works

Capital gains do not use one flat federal rate. Net short-term gain generally behaves like ordinary taxable income. Net long-term gain is stacked above ordinary taxable income and short-term gain, then allocated across the 0%, 15%, and 20% long-term bands.

For 2026, the top of the 0% band is $49,450 for single and married-filing-separately returns, $98,900 for married filing jointly, and $66,200 for head of household. The top of the 15% band is $545,500 for single filers, $306,850 for married filing separately, $613,700 for married filing jointly, and $579,600 for heads of household. Long-term gain above the applicable 15% ceiling is placed in the 20% band.

Worked example: a gain crossing the 0% line

Assume a single filer has $40,000 of ordinary taxable income and $20,000 of net long-term gain. The first $9,450 of long-term gain fills the remaining room below the $49,450 zero-rate ceiling. The remaining $10,550 falls into the 15% band, producing approximately $1,583 of long-term capital-gain tax before other rules.

The entire $20,000 is not taxed at 15%. Stacking preserves the unused zero-rate space first. The same logic can split larger gains across three rates.

Short-term gains use ordinary layers

The calculator estimates tax attributable to short-term gain as the difference between regular federal tax on ordinary taxable income alone and regular tax after adding short-term gain. That incremental method recognizes that a short-term gain can cross several ordinary brackets.

If deductions have not yet been applied, estimate ordinary taxable income first with the federal income tax calculator. Do not enter gross income in the ordinary-taxable-income field.

Important exclusions

Real Schedule D calculations net gains and losses by holding period and account for carryovers. Different maximum rates may apply to collectibles and unrecaptured Section 1250 gain. Qualified dividends share the preferential-rate worksheet, while the 3.8% Net Investment Income Tax may apply separately at higher income levels. The sale of a home, business property, qualified small-business stock, or an opportunity-zone investment may involve additional rules.

This tool is a transparent scenario estimate, not a substitute for Form 8949, Schedule D, or professional advice on a transaction.

Frequently asked questions

What is the difference between short- and long-term capital gains?
A gain is generally short term when the asset was held one year or less and long term when held more than one year. Short-term gains generally use ordinary income rates.
Can part of one long-term gain be taxed at different rates?
Yes. Long-term gains stack above other taxable income, so portions of the same net gain can occupy the 0%, 15%, and 20% bands.
Should ordinary income be gross income?
No. Enter ordinary taxable income after applicable adjustments and deductions, excluding the short- and long-term gains entered in the other fields.
Does this include the Net Investment Income Tax?
No. The 3.8% NIIT, state tax, qualified dividends, collectibles, unrecaptured Section 1250 gain, Section 1202, AMT, and special transactions are excluded.

Written by

ToolGrym Editorial Team

The ToolGrym editorial team builds and maintains every calculator on this site. Each tool’s formulas are implemented as tested code and verified against authoritative sources such as the CFPB, Federal Reserve, IRS, and BLS.