FullCalculator

Capital Gains Tax Calculator (Detailed)

Capital Gains Tax Calculator

Calculate federal capital gains tax on investment sales

$
$
$
%

Formula

Capital Gain = Sale Price - Cost Basis. Tax depends on holding period, income bracket, and filing status. NIIT = min(gain, max(0, total income - threshold)) x 3.8%

Frequently Asked Questions

What is the difference between short-term and long-term capital gains?
Short-term gains (assets held 1 year or less) are taxed as ordinary income (10-37%). Long-term gains (held more than 1 year) are taxed at preferential rates of 0%, 15%, or 20% depending on your income and filing status.
What is the Net Investment Income Tax (NIIT)?
The NIIT is an additional 3.8% tax on investment income (including capital gains) for individuals with modified AGI above $200,000 (single) or $250,000 (married filing jointly). It applies to the lesser of net investment income or the amount above the threshold.

You may also need