Short-Term vs Long-Term Capital Gains Tax Calculator

This calculator helps individuals and financial planners estimate capital gains tax liabilities for both short-term and long-term asset sales. It factors in purchase price, sale price, holding period, and applicable tax rates to provide a clear breakdown. Use it to plan asset sales and optimize tax outcomes for your portfolio.

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

Estimate tax liabilities for asset sales based on holding period

Please enter a valid purchase price (must be positive)
Please enter a valid sale price (must be positive)
Please enter a valid holding period (1 month or longer)
Please enter a valid rate (0-100%)

Short-term gains are taxed as ordinary income; use your marginal tax rate

Please enter a valid rate (0-100%)

Long-term rates are typically 0%, 15%, or 20% for most filers

📊 Tax Calculation Breakdown
Asset Purchase Price$0.00
Asset Sale Price$0.00
Total Capital Gain$0.00
Holding Period0 months
Gain ClassificationN/A
Applicable Tax Rate0%
Estimated Tax Liability$0.00
After-Tax Proceeds$0.00

How to Use This Tool

Follow these steps to generate an accurate capital gains tax estimate:

  • Enter the original purchase price of your asset (stocks, real estate, crypto, etc.) in the Purchase Price field.
  • Input the final sale price you received (or expect to receive) for the asset.
  • Add the total holding period in months: count from the asset acquisition date to the sale date.
  • Select your tax filing status to align with IRS rate brackets.
  • Enter your marginal ordinary income tax rate for short-term calculations (short-term gains are taxed as regular income).
  • Input the applicable long-term capital gains tax rate (typically 0%, 15%, or 20% for most U.S. filers).
  • Click Calculate Tax Liability to view your detailed breakdown, or Reset Form to clear all inputs.

Formula and Logic

This calculator uses IRS-aligned rules for capital gains tax classification:

  • Capital Gain = Sale Price - Purchase Price: This is your total profit (or loss) from the asset sale.
  • Holding Period Classification: Assets held for 12 months or longer are classified as long-term; anything shorter is short-term.
  • Short-Term Tax Liability = Capital Gain × Short-Term Tax Rate: Short-term gains are taxed at your ordinary income marginal rate (10% to 37% for 2024).
  • Long-Term Tax Liability = Capital Gain × Long-Term Tax Rate: Long-term gains use preferential rates (0%, 15%, 20% for most filers, with additional 3.8% Net Investment Income Tax for high earners).
  • After-Tax Proceeds = Sale Price - Tax Liability: This is the net amount you keep after paying taxes.

Note: This calculator assumes capital gains are net (no deductions for losses from other assets). Consult a tax professional for complex scenarios involving multiple asset sales or loss carryforwards.

Practical Notes

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

  • Long-term capital gains rates are significantly lower than short-term rates for most income brackets: holding assets for at least 12 months can reduce your tax bill by thousands of dollars.
  • Short-term capital gains are added to your ordinary income, which may push you into a higher tax bracket. Factor this in if you plan to sell large assets near the end of the tax year.
  • High earners (single filers with MAGI over $200,000, married joint over $250,000) may be subject to an additional 3.8% Net Investment Income Tax on top of capital gains rates.
  • Capital losses can offset capital gains: if your losses exceed your gains, you can deduct up to $3,000 of net losses against ordinary income per year, with remaining losses carried forward.
  • State taxes are not included in this calculation: many states tax capital gains as ordinary income, which can add 5-13% to your total tax liability depending on your state of residence.

Why This Tool Is Useful

This calculator helps individuals and financial planners make informed decisions about asset sales:

  • Compare tax outcomes for selling an asset now (short-term) vs. waiting until it qualifies for long-term rates.
  • Estimate tax liabilities in advance to set aside enough funds for quarterly estimated tax payments.
  • Optimize portfolio rebalancing by identifying which assets to sell to minimize total tax exposure.
  • Plan year-end tax strategies by modeling how asset sales will impact your overall tax bracket.
  • Provide clear, detailed breakdowns to share with tax advisors or financial planners during planning sessions.

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 12 months, and are taxed at your ordinary income tax rate (the same rate as your wages or salary). Long-term capital gains apply to assets held for 12 months or longer, and are taxed at preferential lower rates (0%, 15%, or 20% for most U.S. taxpayers).

How do I find my marginal tax rate for short-term gains?

Your marginal tax rate is the highest tax bracket your income falls into for the tax year. You can find current IRS tax brackets on the official IRS website, or check your most recent tax return to see the rate applied to your last dollar of ordinary income.

Are capital gains taxes due immediately when I sell an asset?

Not always. If you owe more than $1,000 in total taxes (including capital gains) beyond what is withheld from your paycheck, you may need to make quarterly estimated tax payments to the IRS. For most individual filers, capital gains taxes are settled when you file your annual tax return.

Additional Guidance

For more accurate results, consider these additional factors:

  • Adjust your purchase price for any improvements made to the asset (e.g., home renovations for real estate) to reduce your taxable gain.
  • Account for transaction fees (brokerage commissions, closing costs) by subtracting them from your sale price or adding them to your purchase price to lower your capital gain.
  • If you inherited the asset, your holding period is automatically considered long-term, and your cost basis is the fair market value of the asset on the date of the original owner's death.
  • Always consult a certified public accountant (CPA) or tax attorney for complex scenarios, including sales of business assets, collectibles (which have a 28% long-term rate), or assets held in tax-advantaged accounts (401(k), IRA) where capital gains taxes may not apply.