Short-Term vs Long-Term Capital Gains Calculator

Compare short-term and long-term federal capital-gains tax treatment using 2026 IRS brackets and long-term gain thresholds.

$
$
Short-Term Tax
$8,986.00
Rate: 24%
Long-Term Tax
$6,000.00
Rate: 15%
Tax Savings by Holding Long-Term
$2,986.00
33.2% less tax

After-Tax Proceeds Comparison

Short-term
$31,014.00
Tax: $8,986.00
Long-term
$34,000.00
Tax: $6,000.00
Short-TermLong-TermDifference
Tax Rate24%15%9%
Tax Owed$8,986.00$6,000.00$2,986.00
After-Tax Proceeds$31,014.00$34,000.00$2,986.00
Long-term gain breakdown: $0.00 at 0%, $40,000.00 at 15%, and $0.00 at 20%.
Disclaimer: This estimate uses 2026 federal ordinary-income brackets and 2026 long-term capital-gains thresholds. It does not include NIIT, state taxes, or wash-sale issues.
Planning notes, formulas, and examples

About the Short-Term vs Long-Term Capital Gains Calculator

The Short-Term vs Long-Term Capital Gains Calculator compares the federal tax effect of selling an asset now (short-term) versus holding it long enough for long-term treatment. It shows the estimated tax owed, after-tax gain, and the dollar savings from the holding-period change.

Short-term gains are taxed through the ordinary-income bracket stack. Long-term gains use the preferential 0%, 15%, and 20% federal rate structure, with the gain layered on top of your other taxable income. The difference can be meaningful when a sale spans multiple ordinary brackets or when your ordinary income still leaves room inside the 0% or 15% long-term capital-gains bands.

Use this calculator as a federal planning worksheet before rebalancing, harvesting gains, or deciding whether waiting past the one-year mark materially changes the after-tax result. It does not include state tax or the 3.8% Net Investment Income Tax (NIIT).

When This Page Helps

Holding period can change the federal tax result by thousands of dollars, especially when a short-term gain pushes part of the sale into a higher ordinary bracket. This calculator quantifies that difference with bracket-by-bracket math instead of treating the whole gain as if it were taxed at one flat ordinary rate.

How to Use the Inputs

  1. Enter the capital gain amount you are comparing.
  2. Select your filing status.
  3. Enter your other taxable income for the year.
  4. Review the federal short-term and long-term tax estimates side by side.
  5. Use the savings figure to decide whether the holding-period difference matters enough to wait.
Formula used
Short-Term Tax = Federal tax on (Ordinary Income + Gain) - Federal tax on Ordinary Income Long-Term Tax = 0% Portion x 0 + 15% Portion x 0.15 + 20% Portion x 0.20 Tax Savings = Short-Term Tax - Long-Term Tax After-Tax Gain = Gain - Tax Owed

Example Calculation

Result: ST tax: $8,986 | LT tax: $6,000 | Savings: $2,986

With $75,000 of other taxable income, a $40,000 short-term gain fills the rest of the 22% bracket and spills part of the gain into the 24% bracket, creating about $8,986 of federal tax. The same gain qualifies entirely for the 15% long-term band, so the long-term tax is $6,000. The holding-period difference is about $2,986 before state tax or NIIT.

Tips & Best Practices

  • The one-year boundary is measured from the day after purchase to the day of sale.
  • If your ordinary taxable income is low enough, part of a long-term gain may fall in the 0% band.
  • A short-term gain can spill across ordinary brackets, so flat-rate estimates often understate or overstate the real federal tax.
  • State income tax and NIIT can materially change the final after-tax comparison.
  • If you are selling a loss, wash-sale rules matter more than the short-term versus long-term rate spread.

Why the Comparison Matters

Short-term gains are not always taxed at one flat rate. If the gain straddles two ordinary brackets, part of the gain can be taxed at one rate and the rest at the next. Long-term gains work differently: they use the long-term capital-gains bands after your ordinary taxable income has already occupied part of those thresholds.

What This Worksheet Models

This calculator estimates federal tax only. It applies the current bracket schedule for ordinary income, then compares that result with the federal 0% / 15% / 20% long-term capital-gains structure using the same filing status and other taxable income input.

What It Leaves Out

The result does not include state tax, NIIT, wash-sale rules, basis adjustments, or the separate treatment of collectibles and Section 1250 gain. Use it as a holding-period worksheet, then confirm the final tax picture with your broader return context.

Sources & Methodology

Last updated:

Methodology

This calculator compares two federal scenarios for the same gain. In the short-term scenario, it computes federal tax on ordinary taxable income with and without the gain, then uses the difference as the short-term capital-gains tax. In the long-term scenario, it layers the gain on top of the entered ordinary taxable income and allocates that gain through the 2026 long-term capital-gains thresholds for the selected filing status.

It is a federal planning worksheet only. It does not include NIIT, state tax, collectibles rates, Section 1250 recapture, loss netting, or basis adjustments.

Sources

Frequently Asked Questions

  • You generally must hold the asset for more than one year. The holding period starts the day after acquisition, so selling exactly one year after purchase is still short-term.