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
$
Tax Calculator
Free income tax calculator. Estimate your federal and state income tax for the current year. See your effective tax rate and tax bracket.
Finance$
Tax Loss Harvesting Calculator
Free tax loss harvesting calculator. See how much you can save by offsetting capital gains with realized losses, including the $3,000 ordinary income deduction.
Finance$
Stock Return Calculator
Free stock return calculator. Calculate profit, loss, and ROI on stock investments including dividends and fees.
Finance