Long-Term Capital Gains Calculator

Calculate your preferential tax rate on investments held over one year. See your 0%, 15%, or 20% rate based on income and filing status.

SC
Written by Sarah Chen, CFP
Certified Financial Planner
JW
Fact-checked by Dr. James Wilson, PhD
Options Strategy Researcher
Profit & LossFact-Checked

Input Values

$

Total long-term capital gain.

$

All other taxable income.

Federal tax filing status.

%

State income tax rate on capital gains.

Results

LTCG Rate
0.00%
Federal Tax
$0.00
State Tax$0.00
NIIT (3.8%)$0.00
Total Tax$0.00
After-Tax Gain$0.00
Results update automatically as you change input values.

What Are Long-Term Capital Gains?

Long-term capital gains are profits from selling assets held for more than one year. The US tax code provides preferential rates for long-term gains to encourage long-term investment. The rates are 0%, 15%, or 20%, depending on your taxable income, significantly lower than ordinary income rates of up to 37%.

This preferential treatment represents one of the most significant tax advantages available to investors. Understanding where your income falls within the long-term capital gains brackets is essential for tax planning, retirement planning, and investment strategy.

i
The 0% Rate Opportunity

Single filers with taxable income up to $47,025 (including the gain) pay 0% on long-term capital gains. This means a retiree with $40,000 in income could realize $7,025 in long-term gains completely tax-free at the federal level.

2026 Long-Term Capital Gains Brackets

Long-Term Capital Gains Tax Rates by Filing Status
RateSingleMarried Filing JointlyHead of Household
0%$0 - $47,025$0 - $94,050$0 - $63,000
15%$47,026 - $518,900$94,051 - $583,750$63,001 - $551,350
20%Over $518,900Over $583,750Over $551,350
Long-Term Capital Gains Tax
Federal Tax = Long-Term Gain × LTCG Rate (0%, 15%, or 20%)
Where:
Long-Term Gain = Profit from assets held over 1 year
LTCG Rate = Rate based on total taxable income
Long-Term Gains Tax Example
Given
Gain
$30,000
Other Income
$80,000
Filing Status
Single
State Rate
5%
Calculation Steps
  1. 1Total taxable income = $80,000 + $30,000 = $110,000
  2. 2At $110,000 (single): 15% LTCG rate
  3. 3Federal tax = $30,000 × 15% = $4,500
  4. 4State tax = $30,000 × 5% = $1,500
  5. 5NIIT: income below $200K, so $0
  6. 6Total tax = $4,500 + $1,500 = $6,000
  7. 7After-tax gain = $30,000 - $6,000 = $24,000
  8. 8If this were short-term (24% bracket): $7,200 + $1,500 = $8,700
Result
The $30,000 long-term gain incurs $6,000 in total taxes (20% effective rate). If this had been a short-term gain, taxes would have been $8,700, costing $2,700 more.

Maximizing Long-Term Gains Tax Advantages

1
Plan Your Income Levels
If your income will be lower in a particular year (sabbatical, retirement, career transition), that is the ideal time to realize long-term gains at a lower rate, potentially 0%.
2
Use the 0% Bracket
Retirees and low-income years present opportunities to realize long-term gains in the 0% bracket. Calculate how much gain you can realize while staying under the threshold.
3
Harvest Gains Strategically
Instead of realizing all gains at once, spread them across tax years to stay in lower brackets. This is especially effective near bracket boundaries.
4
Pair with Tax-Loss Harvesting
Offset long-term gains with long-term losses first. This directly reduces the taxable gain amount, regardless of your rate.
  • The 15% LTCG rate covers the vast majority of investors
  • High earners pay an additional 3.8% NIIT on investment income above $200K/$250K
  • Collectibles (art, coins) have a special 28% maximum LTCG rate
  • Real estate may be subject to depreciation recapture at 25%
  • LTCG rates apply to qualified dividends as well, not just asset sales
!
State Taxes Add to the Burden

Most states do not differentiate between short-term and long-term gains. California, for example, taxes all capital gains at ordinary income rates up to 13.3%. A $30,000 gain at 15% federal + 13.3% state = 28.3% total tax rate. Plan for state taxes in your calculations.

Frequently Asked Questions

0% for income up to $47,025 (single) / $94,050 (married). 15% for income up to $518,900 / $583,750. 20% above those thresholds. Plus 3.8% NIIT for MAGI above $200K/$250K. State taxes may add 0-13.3% on top.

Sources & References

  • U.S. Securities and Exchange Commission (SEC) - Investor Education
  • Options Clearing Corporation (OCC) - Options Education
  • Chicago Board Options Exchange (CBOE) - Options Strategies
  • Hull, J.C. "Options, Futures, and Other Derivatives" (11th Edition, 2021)

Embed This Calculator on Your Website

Free to use with attribution

Copy the code below to add this calculator to your website, blog, or article. A link back to CoveredCallCalculator.net is included automatically.

<iframe src="https://coveredcallcalculator.net/embed/long-term-capital-gains-calculator" width="100%" height="500" frameborder="0" title="Long-Term Capital Gains Calculator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:600px;"></iframe>
<p style="font-size:12px;color:#64748b;margin-top:8px;">Calculator by <a href="https://coveredcallcalculator.net" target="_blank" rel="noopener">CoveredCallCalculator.net</a></p>