🧾Short-Term vs Long-Term Capital Gains Tax Calculator

Compare tax owed based on how long you held your investment, short-term versus long-term capital gains rates

$
months
%

Holding Period Alone Can Change Your Tax Bill

Two investors can sell the exact same stock for the exact same profit and owe very different amounts of tax, purely because of how long they held it. Sell within 12 months of purchase and the IRS treats the profit as a short-term capital gain, taxed at your ordinary income rate, which can run as high as 37% for top earners. Hold past that 12-month mark and the same gain becomes a long-term capital gain, taxed instead at 0%, 15%, or 20% depending on your taxable income, a gap that can be worth thousands of dollars on a single sale.

This calculator takes your capital gain amount, holding period in months, your ordinary income tax rate, and your applicable long-term rate, then automatically classifies the gain as short-term or long-term and applies the correct rate to show your estimated tax owed and net gain after tax. It's a fast way to see whether waiting a few extra weeks to cross the one-year mark is worth it before you sell.

This tool estimates federal capital gains tax only, based on the inputs you provide. It does not include state taxes, the Net Investment Income Tax that applies to some high earners, or wash sale rules. For a complete picture of your tax liability, consult a tax professional with your full financial situation.

Frequently Asked Questions

What's the difference between short-term and long-term capital gains?

If you hold an investment for 12 months or less before selling, the gain is short-term and taxed at your ordinary income tax rate. Holding it longer than 12 months qualifies for lower long-term capital gains rates of 0%, 15%, or 20% depending on income.

How do I know which long-term rate applies to me?

Your long-term capital gains rate depends on your taxable income and filing status, and most taxpayers fall into the 15% bracket. Check current IRS thresholds or consult a tax professional for your exact rate.

Does this include state taxes?

No, this calculator estimates federal capital gains tax only. Many states also tax capital gains as ordinary income, so your total tax liability may be higher than shown here.