Capital Gains Tax Calculator 2026 – Free IRS Tool & Guide

Calculate your 2026 capital gains tax liability instantly with our free IRS-compliant calculator.

What Is Capital Gains Tax in 2026?

Capital gains tax is the federal tax you owe when you sell an investment asset for more than you paid for it. The profit—or gain—is what the IRS taxes. Whether you're selling stocks, real estate, cryptocurrency, or mutual funds, understanding your tax obligation is critical for proper tax planning.

In 2026, the IRS maintains two categories of capital gains with dramatically different tax rates: long-term capital gains (assets held over 1 year) and short-term capital gains (assets held 1 year or less). Short-term gains are taxed as ordinary income, while long-term gains receive preferential rates of 0%, 15%, or 20% depending on your income level.

Most US taxpayers benefit significantly from holding investments longer than 12 months, as the tax savings on long-term gains can be substantial. For example, if you're in the 35% tax bracket, a long-term gain is taxed at only 20% instead—a 15 percentage point difference on every dollar gained.

2026 Capital Gains Tax Brackets & Rates

The 2026 tax brackets have been adjusted for inflation by the IRS. Capital gains rates depend on your total taxable income, filing status, and whether your gains qualify as long-term or short-term.

Tax RateSingle FilersMarried Filing JointlyHead of Household
0%Up to $47,025Up to $94,050Up to $62,975
15%$47,025–$518,900$94,050–$583,750$62,975–$551,350
20%Over $518,900Over $583,750Over $551,350

These brackets apply exclusively to long-term capital gains. If you sell an asset you've held for 12 months or less, your gain is taxed at your ordinary income rate—potentially as high as 37% for top earners in 2026.

The difference between long-term and short-term treatment can mean thousands of dollars. A trader earning $300,000 with a $100,000 short-term gain owes approximately $37,000 in federal tax, while the same gain held long-term would cost only $15,000—a $22,000 difference.

How to Use Our Capital Gains Tax Calculator

Our free capital gains tax calculator takes the guesswork out of calculating 2026 tax liability. Here's how to use it for accurate results:

  1. Enter your filing status – Select Single, Married Filing Jointly, Head of Household, or Married Filing Separately. This determines which tax bracket thresholds apply to you.
  2. Input your other taxable income – Include W-2 wages, 1099 contract income, business profits, rental income, and any other ordinary income. This establishes your baseline taxable income before capital gains are added.
  3. Add your long-term capital gains – Enter the total profit from assets held over 12 months. These receive favorable 0%, 15%, or 20% rates.
  4. Add your short-term capital gains – Include profits from assets sold within 12 months. These stack on top of ordinary income and are taxed at regular rates (10% to 37% in 2026).
  5. Claim deductions if applicable – Apply capital loss carryforwards, investment expenses, or net capital losses (up to $3,000 against ordinary income annually).
  6. Review your results – See your total federal tax liability, effective tax rate, and tax breakdown by category.

The calculator accounts for Net Investment Income Tax (NIIT) of 3.8% on high-income earners, state taxes, and accounts for stacking rules that determine when gains push you into higher brackets.

Capital Gains Tax Examples for 2026

Example 1: Long-Term Gain (Married Filing Jointly)

Sarah and Tom earn $150,000 in combined W-2 wages. They sell a rental property with a $80,000 long-term capital gain. Their total taxable income becomes $230,000. Using 2026 brackets, the first $94,050 of gains is taxed at 0%, and the remaining $85,950 is taxed at 15% = $12,892.50 federal capital gains tax. Their effective rate on the gain is only 16.1%.

Example 2: Short-Term Gain (Single Filer)

Marcus is single, earns $65,000 in salary, and realizes a $25,000 short-term gain from day trading. His total taxable income jumps to $90,000. The first $47,025 of income (including some wages) qualifies for the 0% long-term rate, but short-term gains stack as ordinary income at his marginal rate of 22% = $5,500 in tax on the gain alone. Compare this to if he'd held the same asset 13 months: only $3,750 (15% rate).

Example 3: Net Capital Losses

Jessica has a $35,000 long-term gain and a $50,000 short-term loss. The loss first offsets the gain ($35,000), leaving a $15,000 net loss. She can deduct $3,000 against her ordinary income this year and carry the remaining $12,000 forward to future tax years, potentially saving thousands in tax.

Critical Tax Strategies to Reduce Your 2026 Tax Bill

Intelligent capital gains planning can save you significant money. Here are proven strategies used by savvy investors:

1. Hold Assets Long-Term When Possible – The tax rate difference between short-term (37% potential) and long-term (20% maximum) can exceed $17,000 per $100,000 gain. Patience literally pays.

2. Harvest Tax Losses – Sell underperforming positions to realize losses that offset gains. You can deduct up to $3,000 against ordinary income annually, with unlimited carryforwards. This is especially powerful in down markets.

3. Time Your Income and Gains – If you're near a tax bracket threshold, consider delaying gains into the next tax year or accelerating losses into the current year. Moving $50,000 of gains from the 15% bracket to the 0% bracket saves $7,500.

4. Use Spousal Coordination – Married couples filing jointly can strategically realize gains in the 0% bracket (up to $94,050 combined in 2026) by coordinating timing with both spouses.

5. Donate Appreciated Securities to Charity – Instead of selling and paying tax, donate the stock directly to qualified charities. You avoid capital gains tax entirely and claim a charitable deduction at fair market value—a win-win.

6. Utilize Tax-Advantaged Accounts – Gains within IRAs, 401(k)s, and 403(b)s are never taxed at the federal level (for traditional accounts, taxes are deferred to withdrawal). Max out these accounts before trading in taxable accounts.

Understanding Long-Term vs Short-Term Capital Gains

The holding period—the time between purchase and sale—determines whether your gain receives preferential tax treatment or ordinary income rates. This single distinction can change your tax liability by tens of thousands of dollars.

Long-Term Capital Gains (12 months + 1 day)

Once you've held an asset for more than 12 months, gains qualify for long-term rates: 0%, 15%, or 20%. For most middle-income Americans, the 15% rate applies. There's virtually no downside to holding longer; the IRS rewards patience.

Short-Term Capital Gains (0–12 months)

These are taxed as ordinary income at your marginal tax bracket rate (10%, 12%, 22%, 24%, 32%, 35%, or 37% in 2026). A short-term gain of $50,000 could cost $18,500 in federal tax for a high earner, versus $10,000 if held long-term.

Important note: The holding period starts the day after you purchase and ends on the day you sell. If you buy on January 15, 2025 and sell on January 15, 2026, it's still short-term because you haven't completed 12 full months.

Use our free calculator to see exactly how holding period affects your specific situation—the difference might surprise you.

Try TaxCalcTools Calculator →

Frequently Asked Questions

What's the capital gains tax rate for 2026?

Long-term capital gains are taxed at 0%, 15%, or 20% depending on income and filing status. Short-term gains are taxed as ordinary income (10–37%). For example, a single filer with $60,000 income benefits from the 15% long-term rate, while short-term gains would be taxed at 22%.

How do I know if my capital gain is long-term or short-term?

You must hold an asset for longer than 12 months (more than one year) for it to qualify as long-term. The holding period starts the day after purchase and ends on the day of sale. If you buy on March 1, 2025 and sell on March 1, 2026, it's still short-term; you need to sell March 2, 2026 or later.

Can I use capital losses to offset capital gains?

Yes. Capital losses first offset capital gains dollar-for-dollar. Any excess losses can reduce ordinary income by up to $3,000 per tax year, with unlimited carryforward to future years. This tax-loss harvesting strategy is powerful for high-income investors.

Do I pay state tax on capital gains in addition to federal?

Most US states tax capital gains as ordinary income. However, some states like Florida, Texas, and Wyoming have no state income tax. New York taxes long-term gains at up to 10.9%, while California adds 13.3% for high earners. Use a comprehensive calculator that includes your state.

What is Net Investment Income Tax (NIIT)?

High-income earners pay an additional 3.8% NIIT on investment income over $200,000 (single) or $250,000 (married filing jointly). This adds to capital gains tax. For example, a $100,000 long-term gain at 20% plus 3.8% NIIT costs $23,800 in federal tax alone.

More from TUDITOOLS

Easy Calculators
100+ free everyday calculators
Snap It Tools
Free image tools — compress, convert, resize
LegalDraftKit
Free legal document templates & generators