Skip to main content
All Articles
Financial Guide
6 min read June 13, 2026
Verified June 2026

Short-Term vs Long-Term Capital Gains: How to Calculate Your Real Tax Rate

Most investors know the holding period rule. Few actually calculate what it costs them to get it wrong. A single premature sale can push your effective tax rate from 15% to 37% on the same profit.

Short-Term vs Long-Term Capital Gains: How to Calculate Your Real Tax Rate

Key Takeaways

  • Selling one day early on a $200,000 gain can cost $44,000 in additional federal tax at the top bracket.
  • Many investors miscalculate their holding period by counting calendar months instead of the exact day count, triggering short-term treatment unintentionally.
  • Stack your gross gain, apply your marginal ordinary income rate for short-term or the correct preferential rate tier for long-term, then subtract state tax before comparing net proceeds.
  • Tool: Calculate your exact capital gains tax liability now →

File Smarter This YearSPONSORED

Stop leaving money on the table. TurboTax finds every deduction automatically.

INTERACTIVE // Calculator
FULL SCREEN
LOADING Calculator...

The Classification That Changes Everything

The IRS draws a single line in the sand: 366 days. Hold an asset for 365 days or fewer and your gain is short-term. Hold it for 366 days or more and it qualifies as long-term. The dollar consequence of that one-day difference is not marginal. It is, in many cases, the largest single tax decision an investor makes in a given year.

Short-term capital gains receive no preferential treatment. The IRS taxes them as ordinary income, alongside wages, bonuses, and business income. That means your marginal rate applies directly. For a single filer with $600,000 in taxable income, that rate is 37%.

Long-term capital gains receive a preferential rate. The three federal tiers for 2025 are 0%, 15%, and 20%. A net investment income surtax of 3.8% applies on top when modified adjusted gross income crosses $200,000 for single filers or $250,000 for married filing jointly. The effective ceiling on long-term gains is therefore 23.8% at the federal level, before state tax.

The spread between the worst short-term outcome and the best long-term outcome is 37 percentage points.

How the Rate Tiers Actually Work

Short-Term Rates

Short-term gains fold directly into your ordinary income stack. They do not receive their own bracket. They sit on top of your other income and face whatever marginal rate applies at that income level.

The 2025 ordinary income brackets for single filers:

  • 10%: $0 to $11,925
  • 12%: $11,926 to $48,475
  • 22%: $48,476 to $103,350
  • 24%: $103,351 to $197,300
  • 32%: $197,301 to $250,525
  • 35%: $250,526 to $626,350
  • 37%: Above $626,350

A short-term gain does not face a flat rate. It faces the rate that applies to each dollar as it fills successive brackets from your existing income level upward. This stacking effect matters when you are projecting your true cost.

Long-Term Rates

Long-term capital gains use a parallel bracket system based on taxable income, not a separate rate applied to the gain in isolation.

The 2025 long-term capital gains thresholds for single filers:

  • 0%: Taxable income up to $48,350
  • 15%: $48,351 to $533,400
  • 20%: Above $533,400

Add 3.8% net investment income tax when MAGI exceeds $200,000. That produces an effective rate of 18.8% within the 15% zone above the MAGI threshold, and 23.8% within the 20% zone.

Most high-income investors with non-trivial asset portfolios land in the 15% or 20% long-term tier. Almost none of them pay the 0% rate on gains above a few thousand dollars once their other income fills the lower bracket space.

Worked Example 1: The Cost of Selling at Day 364

An investor purchased 1,000 shares of a technology stock on March 15, 2024 at $85 per share. Total cost basis: $85,000. By March 13, 2025, the stock trades at $172 per share. The investor sells. Gross proceeds: $172,000. Gross gain: $87,000.

The investor held the position for 364 days. That is one day short of the 366-day threshold. The gain is short-term.

The investor files as single. Existing W-2 income and other taxable income total $280,000 before this gain. The $87,000 gain stacks on top and falls in the 35% bracket ($250,526 to $626,350 at 2025 rates).

Federal tax on the short-term gain: $87,000 x 35% = $30,450.

Now assume the investor waited until March 16, 2025. Two additional trading days. The stock price is unchanged at $172. The gain is now long-term.

The investor's taxable income of $280,000 plus $87,000 gain equals $367,000. This exceeds the $200,000 MAGI threshold, so net investment income tax applies. Long-term rate: 15% + 3.8% = 18.8%.

Federal tax on the long-term gain: $87,000 x 18.8% = $16,356.

Difference: $30,450 minus $16,356 = $14,094 in additional federal tax paid by selling two days early.

At the state level, this gap widens further. California, for example, taxes all capital gains as ordinary income at rates up to 13.3%. New York adds up to 10.9%. In a high-tax state, the two-day decision can cost $20,000 or more on a single position.

Worked Example 2: The Net Proceeds Comparison on a Larger Position

A married investor filing jointly sold a concentrated stock position in January 2025. Cost basis: $150,000. Proceeds: $650,000. Gross gain: $500,000.

Combined household income before the gain: $320,000. Total taxable income with the gain: $820,000.

Scenario A: Short-term gain (held 10 months)

The gain stacks on top of $320,000 in ordinary income. Income from $320,001 to $501,050 faces the 32% bracket. Income from $501,051 to $626,350 faces 35%. Income above $626,350 faces 37%.

Approximate breakdown on the $500,000 gain:

  • $181,050 at 32% = $57,936
  • $125,300 at 35% = $43,855
  • $193,650 at 37% = $71,651

Total short-term federal tax on the gain: approximately $173,442. Effective rate on the gain: 34.7%.

Scenario B: Long-term gain (held 13 months)

For married filing jointly, the 20% long-term rate kicks in above $600,050 in taxable income. MAGI exceeds $250,000, so the 3.8% surtax applies.

The full $500,000 gain qualifies as long-term. Taxable income of $820,000 places the entire gain in the 20% bracket.

Long-term federal tax on the gain: $500,000 x 23.8% = $119,000.

Net difference: $173,442 minus $119,000 = $54,442 saved by waiting three additional months.

The investor's stock position would need to fall by more than 8.4% during that three-month window to make early sale the better decision. That is the break-even calculation worth running before you sell.

How to Calculate Your Real Effective Rate

The headline rates are not your real rates. Your real rate on a capital gain depends on four inputs:

  1. Your total taxable income before the gain
  2. The size of the gain
  3. Whether the gain is short-term or long-term
  4. Your state of residence

Step 1. Establish your taxable income excluding the gain. Use your most recent return as the baseline and adjust for expected changes.

Step 2. Determine holding period precisely. Count from the day after the acquisition date to the sale date, inclusive. Do not count months. Count days.

Step 3. Apply the correct rate structure. For short-term gains, stack the gain on top of your existing income and identify which bracket dollars fall into at each level. For long-term gains, apply the tiered preferential rate, then add 3.8% if your MAGI clears the threshold.

Step 4. Add your state rate. Most states tax short-term and long-term gains identically as ordinary income. Seven states have no income tax. California and New Jersey apply their top marginal rates without any preferential long-term treatment.

Step 5. Calculate net after-tax proceeds for both scenarios. The comparison is not rate versus rate. It is net dollars received versus net dollars received, accounting for any price movement during the additional holding period.

Offsetting Gains: The Role of Tax-Loss Harvesting

Capital losses offset capital gains dollar for dollar. Short-term losses first offset short-term gains. Long-term losses first offset long-term gains. Net losses in one category then offset net gains in the other.

If you hold losing positions in the same tax year, realizing those losses before year-end directly reduces your taxable gain. A $30,000 realized loss against a $100,000 short-term gain reduces your taxable short-term gain to $70,000. At 35%, that is $10,500 in federal tax saved on the loss harvest alone.

Losses that exceed gains in a given year carry forward indefinitely. They do not expire. A $50,000 carry-forward loss from 2024 reduces your 2025 capital gains tax liability by $50,000 in gross gain before applying any rate.

State Tax Is Not an Afterthought

Federal rates dominate the discussion. State rates determine whether the long-term wait is worth it.

In California, every capital gain, regardless of holding period, faces rates up to 13.3%. A long-term gain taxed at 23.8% federally plus 13.3% in California produces an effective combined rate of 37.1%. The same gain in Texas, Florida, or Nevada costs 23.8%.

For California residents in the top bracket, short-term versus long-term produces less dramatic savings than the federal comparison suggests, because the state never offers a preferential rate. The federal savings still exist. They are simply compressed relative to the total tax burden.

Run Your Own Numbers Before You Sell

The scenarios above illustrate the magnitude. They do not substitute for calculation against your specific income profile. The decision to sell early, wait for long-term treatment, or harvest losses to offset a gain requires your actual numbers: your W-2 income, other investment income, existing carry-forward losses, state of residence, and the current unrealized gain on each position.

The CalcMoney income tax calculator handles this calculation directly. Enter your existing taxable income, the gain amount, the holding period, and your state. The tool outputs your short-term tax liability, your long-term tax liability, and the net dollar difference. That number tells you exactly what waiting costs or saves.

You Might Also Like

Calculate your capital gains tax liability now →
FEATURED PARTNERFIDELITY

Put These Numbers to Work

Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.

Run the Numbers →
or

One money insight per week.

Calculator deep-dives, rate alerts, and financial analysis written for real decisions. Unsubscribe anytime.

1 email/week. No spam. Unsubscribe in one click.

Free Tools

Run the actual numbers

Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.

Open Free Calculators