TaxAndLoans

Capital Gains Tax Calculator

Calculate federal long-term and short-term capital gains tax, NIIT surcharge, and state capital gains tax.

Tax year

Long-term capital gains tax

$2,250

15% federal rate on $15,000

Total capital gains tax

$2,250

On $15,000 in total gains

Effective rate on gains

15.0%

Total tax ÷ total gains

Show the math

Long-term capital gains are taxed at 0%, 15%, or 20% depending on your total taxable income including the gains. Short-term gains are added to ordinary income and taxed at the same bracket rates (10%–37%).

LT gains tax = $15,000 × 15% = $2,250

Total gains tax = $2,250 = $2,250

Your effective rate on $15,000 of total gains is 15.0% after all federal and state taxes.

Frequently asked questions

No data storedUpdated June 2026
Read our complete guide →