Short-Term vs Long-Term Capital Gains Tax Calculator

This calculator helps investors compare tax implications between short-term and long-term capital gains on asset sales. It’s designed for individuals planning stock trades, real estate transactions, or other investment decisions. Understanding these differences can significantly impact your after-tax returns and financial planning strategy.

📊 Capital Gains Tax Comparison

Compare short-term vs long-term tax rates on your investment gains

How to Use This Tool

Enter the sale price and purchase price of your investment to calculate the capital gain. Select your holding period (short-term or long-term) and filing status to determine applicable tax rates. Input your taxable income and state tax rate for accurate calculations. Click "Calculate Tax" to see federal and state tax obligations, then compare scenarios by changing the holding period.

Formula and Logic

The calculator uses the following formulas:

  • Capital Gain = Sale Price - Purchase Price
  • Federal Tax = Capital Gain × Applicable Federal Rate
  • State Tax = Capital Gain × State Tax Rate
  • Total Tax = Federal Tax + State Tax
  • After-Tax Proceeds = Sale Price - Total Tax

Federal rates vary by holding period: short-term gains are taxed as ordinary income (10%-37%), while long-term gains receive preferential rates (0%, 15%, or 20% plus 3.8% net investment tax for high earners).

Practical Notes

When planning investment sales, consider the tax implications of timing. Holding investments for more than one year can significantly reduce your tax burden. Keep detailed records of purchase dates and prices for accurate cost basis calculations. State tax rates vary widely—from 0% in states like Florida and Texas to over 13% in California. Consider tax-loss harvesting to offset gains with losses. Remember that tax rates are progressive, so your marginal rate depends on your total taxable income.

Why This Tool Is Useful

This calculator helps investors make informed decisions about when to sell assets by quantifying the tax impact of different holding periods. It enables comparison shopping between investment options based on after-tax returns rather than pre-tax gains. Financial planners can use it to demonstrate the value of patience in investment timing. The tool also helps budget for tax obligations, preventing surprises during tax season.

Frequently Asked Questions

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

Short-term capital gains apply to assets held for one year or less and are taxed at ordinary income tax rates (10%-37%). Long-term gains apply to assets held for more than one year and receive preferential tax rates of 0%, 15%, or 20% depending on your income level, plus a possible 3.8% net investment income tax for high earners.

How does my filing status affect capital gains tax rates?

Your filing status determines which income tax brackets apply to your capital gains. Married couples filing jointly have higher income thresholds before reaching higher tax rates compared to single filers. Head of household filers fall between these two. The calculator adjusts rates based on your selection to provide accurate estimates.

Can I offset capital gains with capital losses?

Yes, up to $3,000 of capital losses can offset ordinary income annually, with any excess carried forward to future years. If you have more losses than gains in a year, you can use them to offset up to $3,000 of other income per year until exhausted. This strategy, called tax-loss harvesting, can significantly reduce your tax burden.

Additional Guidance

Consider consulting a tax professional for complex situations involving multiple investments, alternative minimum tax implications, or state-specific rules. Keep documentation of all transactions for at least seven years. When in doubt, err on the side of conservative estimates for tax planning purposes. The Tax Cuts and Jobs Act provisions affecting capital gains are set to expire after 2025, which may impact future tax rates.