Capital Gains Tax Calculator 2026

Estimate the tax on your investment profits. Compare short-term vs. long-term capital gains rates, see if the 3.8% Net Investment Income Tax applies, and calculate your state tax impact.

Investment Details

Tax Information

Your ordinary income (wages, salary) before capital gains

Enter your investment details to estimate capital gains tax

Understanding Capital Gains Tax

When you sell an investment for more than you paid, the profit is a capital gain. The IRS taxes these gains based on how long you held the asset and your total taxable income. Long-term gains (assets held over one year) are taxed at preferential rates of 0%, 15%, or 20%, while short-term gains are taxed as ordinary income at your regular tax bracket.

High-income earners may also owe the 3.8% Net Investment Income Tax (NIIT) on their gains if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).

Frequently Asked Questions

Advertiser Disclosure: Some of the products featured on this page are from our partners who may compensate us. This may influence which products we write about and where they appear on the page. However, this does not influence our evaluations. Our opinions are our own.

Tax Planning Tools

File Taxes Online

Free federal filing

Free federal filing for simple returns. State filing from $29.

File Now

Open a Roth IRA

No minimums

No account minimums. Thousands of commission-free ETFs and mutual funds.

Open IRA

Top Cash Back Card

2% unlimited cash back

Earn unlimited 2% cash back on every purchase with no annual fee.

Apply Now

Subject to credit approval.

Related Resources