Loan Lyze

US federal · Tax year 2026

Capital Gains Tax Calculator

Estimate recognized gain, short- or long-term federal tax, bracket stacking, and the 3.8% Net Investment Income Tax.

Rules reviewed November 7, 2026 · Educational estimate

2026 federal estimate

Describe the sale and gain

Eligible improvements or acquisition costs not already in basis.

Enter only an exclusion you have independently confirmed.

Taxable income after deductions, excluding this gain.

MAGI before this gain, used only for the NIIT estimate.

Holding period

Estimated tax on this gain

Total estimated federal tax

$14,250

Regular gain tax plus estimated NIIT.

After-tax recognized gain

$80,750

Effective rate 15.0%.

Regular capital gains tax

$14,250

Estimated NIIT

$0

Adjusted basis$255,000
Realized gain or loss$95,000
Recognized taxable gain$95,000
Gain in 0% band$0
Gain in 15% band$95,000
Gain in 20% band$0
Excludes depreciation recapture, collectibles, qualified small business stock, loss carryovers, credits, state taxes, and special property rules.

How the estimate works

Adjusted basis is subtracted from sale proceeds, then any entered eligible exclusion reduces the recognized gain. Long-term gains stack above other taxable income across the 2026 0%, 15%, and 20% bands. Short-term gains use ordinary brackets.

Recognized gain = max(0, sale price − adjusted basis − eligible exclusion)

Official sources

Important limitations

  • Does not calculate depreciation recapture, collectibles or qualified small business stock rates, installment sales, wash sales, or capital loss carryovers.
  • Any home-sale or other exclusion must be entered only after eligibility is independently confirmed.
  • NIIT uses entered modified AGI and treats this recognized gain as net investment income; Form 8960 can differ.
  • Excludes state taxes, credits, estimated-payment rules, and tax already paid.

Frequently asked questions

How are long-term gains taxed?

Long-term gains stack above other taxable income and fill the 0%, 15%, and 20% capital-gain bands in order.

How are short-term gains taxed?

Short-term recognized gains are added to other taxable income and taxed through the ordinary income brackets.

What is adjusted basis?

This estimate adds entered improvements and selling costs to original basis. Actual basis rules depend on the asset and transaction.

What is NIIT?

The 3.8% Net Investment Income Tax can apply to the lesser of net investment income or modified AGI above the filing-status threshold.