Home / Calculators / Capital Gains Tax

Capital Gains Tax Calculator

Calculate your capital gains tax using 2026 IRS rates — short-term, long-term, and NIIT. All filing statuses.

Your Tax Information

Wages, salary, business income — before capital gains

Capital Gains

Held more than 12 months
Held 12 months or less
What you paid for the asset (for reference)

Tax Summary

$0
Estimated Total Capital Gains Tax
Long-Term Rate 0%
Long-Term Tax $0
Short-Term Tax (ordinary) $0
NIIT (3.8%) $0
Effective Rate on Gains 0%
After-Tax Proceeds $0

2026 Capital Gains Tax Rates

Capital gains are taxed differently depending on how long you held the asset. Long-term gains on assets held more than a year receive preferential tax rates. Short-term gains are taxed as ordinary income.

Long-Term Capital Gains Rates (2026)

Based on taxable income including the gains:

Net Investment Income Tax (NIIT)

An additional 3.8% applies to investment income (including capital gains) if your modified AGI exceeds $200,000 (single) or $250,000 (MFJ). This is applied on the lesser of net investment income or the amount of income over the threshold.

Tax-Loss Harvesting

If you have losing positions, selling them before year-end can offset your gains dollar-for-dollar. Capital losses first offset capital gains, then up to $3,000 of ordinary income annually. Excess losses carry forward to future years indefinitely. Avoid the wash-sale rule: don't buy the same or substantially identical security within 30 days before or after the sale.

❓ Frequently Asked Questions

🔧 Related Tools

📚 Related Guides

📈 THE FINANCE STACK

Get your weekly market edge. Free.

Market pulse, stock spotlights, and actionable frameworks — delivered every week.

No spam · Unsubscribe anytime · View all issues →