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.

MB
Operated by Mustafa Bilgic
Independent individual operator
|Profit & LossEducational only

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.

Related Strategy Guides

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.

2026 Long-Term Capital Gains Tax Rates

Long-term capital gains (on assets held more than 12 months) are taxed at preferential rates: 0%, 15%, or 20% depending on your taxable income. For 2026, the 0% rate applies to singles with taxable income up to approximately $47,025 and married filing jointly up to $94,050. The 15% rate applies to income up to $518,900 for singles and $583,750 for married filers. The 20% rate only applies to income above these thresholds. Additionally, high earners may owe the 3.8% Net Investment Income Tax (NIIT), bringing the maximum effective rate to 23.8% — still significantly lower than the highest ordinary income tax rate of 37%.

The distinction between short-term and long-term holding periods can dramatically impact your tax bill. If you sell a stock after 11 months at a $10,000 profit and are in the 22% ordinary income bracket, you owe $2,200 in federal tax. Wait one more month (12+ months), and the same profit might be taxed at just 15%, costing only $1,500 — a $700 difference on a single trade. For larger gains, this difference is even more substantial. This is why tax-efficient investing always considers holding periods and uses tax-loss harvesting to offset gains.

State Capital Gains Taxes in 2026

Nine states have no income tax on capital gains: Alaska, Florida, Nevada, New Hampshire (no wage tax either), South Dakota, Tennessee, Texas, Washington (no income tax; note: has a 7% excise tax on long-term gains over $250,000 since 2022), and Wyoming. States with high capital gains taxes include California (up to 13.3%, treating capital gains as ordinary income), New York (up to 10.9%), Oregon (up to 9.9%), and Minnesota (up to 9.85%). Always factor in your state's tax rate when calculating net-of-tax investment returns, as state taxes can add 5-13 percentage points to your effective rate.

~
Opportunity Zones for Capital Gains Deferral

If you have large realized capital gains, investing in a Qualified Opportunity Zone (QOZ) Fund within 180 days of the sale allows you to defer taxes on those gains until 2026 and potentially reduce them by 10-15%. Gains from the QOZ investment itself are completely excluded from tax if held for 10+ years. This is one of the most powerful legal tax deferral strategies available for large capital gains.

Recommended Reading

Affiliate

As an Amazon Associate, we earn from qualifying purchases.

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

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>

More Picks You Might Like

Affiliate

As an Amazon Associate, we earn from qualifying purchases.