Short-Term vs Long-Term Capital Gains Tax Calculator

This tool helps individuals and financial planners estimate tax liabilities on investment and asset sales. It compares short-term and long-term capital gains tax rates based on your income bracket and filing status. Use it to plan asset sales and minimize tax obligations.

Short-Term vs Long-Term Capital Gains Tax Calculator

Compare tax liabilities for asset sales held under or over 1 year

Please select a filing status
Please enter a valid non-negative ordinary income
Please enter a valid non-negative cost basis
Please enter a valid non-negative sale price

Tax Liability Comparison

Total Capital Gain
$0.00
Short-Term Capital Gains Tax (taxed as ordinary income)
$0.00
Long-Term Capital Gains Tax (preferential rate)
$0.00
Potential Tax Savings (Long-Term vs Short-Term)
$0.00

How to Use This Tool

Follow these steps to calculate and compare short-term and long-term capital gains tax liabilities:

  1. Select your tax filing status from the dropdown menu.
  2. Enter your taxable ordinary income (before adding any capital gains) in dollars.
  3. Input the asset’s cost basis (purchase price plus any associated fees or improvements).
  4. Enter the total sale price of the asset.
  5. Click the Calculate Tax Liability button to view your comparison results.
  6. Use the Reset Form button to clear all inputs and start a new calculation.

You can copy your full results to your clipboard using the Copy Results button for easy record-keeping.

Formula and Logic

This calculator uses 2024 U.S. federal tax brackets and rates to estimate liabilities. The core calculations are:

  • Total Capital Gain = Asset Sale Price - Asset Cost Basis
  • Short-Term Tax: Calculated by adding the capital gain to your ordinary income, then applying ordinary income tax brackets. The tax on the gain is the difference between total tax (ordinary + gain) and tax on ordinary income alone. Short-term gains apply to assets held for less than 1 year.
  • Long-Term Tax: Applies to assets held for 1 year or longer, taxed at preferential 0%, 15%, or 20% rates based on your total taxable income (ordinary + gain) and filing status.
  • Tax Savings: The difference between short-term and long-term tax liabilities for the same gain.

Capital losses (when sale price is below cost basis) are not taxed, and up to $3,000 of net capital losses can offset ordinary taxable income per year.

Practical Notes

Keep these finance-specific tips in mind when using this calculator:

  • Cost basis includes not just the purchase price, but also commissions, fees, and improvement costs for the asset. Failing to include these will overstate your gain and tax liability.
  • Short-term capital gains are taxed as ordinary income, which means they can push you into a higher tax bracket. This is especially important for large gains.
  • Long-term capital gains rates are lower than ordinary income rates for most taxpayers, making holding assets for over 1 year a common tax planning strategy.
  • This calculator estimates federal tax only. State and local capital gains taxes may apply, and some states tax capital gains as ordinary income.
  • Net capital losses can be carried forward to future tax years to offset future gains or up to $3,000 of ordinary income annually.

Why This Tool Is Useful

Individual investors and financial planners use this tool to:

  • Plan asset sales to minimize tax obligations by timing holdings to qualify for long-term rates.
  • Estimate tax liabilities before selling investments, real estate, or other assets.
  • Compare the tax impact of selling an asset now (short-term) versus holding it for 1 year (long-term).
  • Adjust financial plans to account for expected capital gains tax payments.

Frequently Asked Questions

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

Short-term capital gains apply to assets held for less than 1 year, and are taxed as ordinary income at your marginal tax rate. Long-term capital gains apply to assets held for 1 year or longer, and are taxed at lower preferential rates of 0%, 15%, or 20% for most taxpayers.

How do I calculate cost basis for an asset?

Cost basis is the original purchase price of the asset plus any additional costs like commissions, legal fees, and improvement expenses. For inherited assets, cost basis is typically the fair market value of the asset on the date of the original owner’s death.

Can I deduct capital losses on my taxes?

Yes. If your capital losses exceed your capital gains, you can deduct up to $3,000 of the net loss against your ordinary taxable income per year. Any remaining net loss can be carried forward to future tax years indefinitely.

Additional Guidance

Always consult a qualified tax professional before making major financial decisions based on these estimates. Tax laws change frequently, and individual circumstances (such as other deductions, credits, or alternative minimum tax) can significantly impact your actual liability. Keep detailed records of all asset purchases, sales, and improvements to accurately calculate cost basis and gain/loss for tax filing purposes.