Short-Term vs Long-Term Capital Gains Tax Comparison

A short-term vs long-term capital gains tax comparison tool is a free online tool that compares tax rates by holding period. It shows how short-term and long-term capital gains tax rates affect your after-tax return. Free, no sign-up required.

Capital Gains Comparison Inputs

?Enter your gain amount.
?Enter your annual income (excl. gain).
?Your state income tax rate.

NIIT applies when MAGI exceeds $200k single / $250k married. State tax applies to the gain in both scenarios.

End of inputs

Short-Term vs Long-Term Capital Gains

Metric
Short-Term Gains
Held 1 year or less — taxed as ordinary income.
Long-Term Gains
Held more than 1 year — taxed at 0% / 15% / 20%.
Effective Tax Rate31.55%20.00%
Federal Tax$13,273.25$7,500.00
NIIT (3.8%)$0.00$0.00
State Tax$2,500.00$2,500.00
Total Tax$15,773.25$10,000.00
After-Tax Gain$34,226.75$40,000.00
Holding for >1 year keeps $5,773.25 more after tax (11.55% of the gain).
Key Insights
Holding the asset for more than one year saves $5,773.25 in tax — a 31.55% short-term rate vs 20.00% long-term rate.
Your short-term marginal rate is 28.00% (ordinary income); your long-term marginal rate is 15.00% (preferential).
Your MAGI of $130,000.00 is below the $200,000.00 NIIT threshold — no Net Investment Income Tax applies.
State tax of 5.00% adds $2,500.00 to both scenarios — most states do not preferentially tax long-term gains.

Guide

How to Use This Calculator

  1. 1Enter your capital gain amount — the profit you realized (or expect to realize) from selling an asset.
  2. 2Select your filing status (single or married filing jointly). This determines which federal brackets apply.
  3. 3Enter your annual income excluding the capital gain (wages, interest, dividends, etc.). The calculator stacks the gain on top of this income to determine the applicable long-term rate.
  4. 4Set your state tax rate (e.g. 5% for a moderate-tax state, 9.3%+ for California, 0% for Texas/Florida).
  5. 5Review the side-by-side comparison: tax rate, federal tax, NIIT, state tax, total tax, and after-tax gain for short-term vs long-term holding periods.
  6. 6The AI insight explains the rate differential, the NIIT impact, and how much extra you keep by holding the asset for more than one year.
Formula

How It's Calculated

Short-Term vs Long-Term Capital Gains Tax

SHORT-TERM (held 1 year or less):
  Taxed as ORDINARY INCOME at progressive federal brackets.
  FederalTax = ProgressiveBrackets(AnnualIncome + Gain)
  NIIT = 3.8% of gain if MAGI > $200k single / $250k married
  StateTax = Gain x StateRate
  TotalTax = FederalTax + NIIT + StateTax
  AfterTaxGain = Gain - TotalTax

LONG-TERM (held more than 1 year):
  Taxed at PREFERENTIAL RATES: 0% / 15% / 20%.
  Stack AnnualIncome first, then apply thresholds to gain:
    0%   bracket: income up to ~$48,475 single / $96,950 married
    15%  bracket: up to ~$441,350 single / $556,650 married
    20%  bracket: above those thresholds
  NIIT = 3.8% of gain if MAGI > $200k single / $250k married
  StateTax = Gain x StateRate
  TotalTax = LongTermFederal + NIIT + StateTax
  AfterTaxGain = Gain - TotalTax

2026 projected ordinary brackets (TCJA sunset):
  10/15/25/28/33/35/39.6%

CANONICAL SCENARIO:
  $50,000 gain, single, $80,000 annual income, 5% state rate
  Short-term: 25% bracket -> ~$12,500 federal + $0 NIIT + $2,500 state
            = $15,000 total tax, $35,000 after-tax
  Long-term: 15% bracket -> $7,500 federal + $0 NIIT + $2,500 state
           = $10,000 total tax, $40,000 after-tax
  Holding >1 year saves $5,000 (33% less tax)
Glossary

Key Terms

FAQ

Frequently Asked Questions

Related Calculators