Investment Details
Total cost including commissions
Total proceeds after commissions
Your salary, wages, and other ordinary income this year. Determines your LTCG bracket.
Estimates based on 2026 IRS rates. Consult a tax professional for advice specific to your situation.
Ways to Reduce Your Tax
2026 Capital Gains Tax Rates
Rate determined by TOTAL taxable income (ordinary income + capital gains combined)
+3.8% NIIT applies if total income exceeds $200,000 (single) / $250,000 (married) · Effective max: 23.8%
How Capital Gains Tax Works in 2026
Short-Term vs Long-Term Capital Gains
The most important factor in capital gains taxation is your holding period. Assets held for more than 365 days qualify for long-term capital gains rates of 0%, 15%, or 20% — far lower than ordinary income rates of up to 37%. Assets held 365 days or fewer are short-term gains, taxed as ordinary income. One extra day of holding can save thousands of dollars in taxes on large gains.
The 2026 Long-Term Capital Gains Brackets
Long-term capital gains rates are determined by your total taxable income including the gain. For 2026: the 0% rate applies if total income is under $49,450 (single) or $98,900 (married). The 15% rate applies up to $545,500 (single) or $613,700 (married). The 20% rate applies above those thresholds. These thresholds are higher than 2025 due to inflation adjustments under Rev. Proc. 2025-32.
The Net Investment Income Tax (NIIT)
High earners face an additional 3.8% Net Investment Income Tax on capital gains above certain income thresholds: $200,000 for single filers and $250,000 for married filing jointly. This brings the maximum federal long-term capital gains rate to 23.8% (20% + 3.8%). When combined with high state taxes like California's 13.3%, top earners can face effective capital gains rates exceeding 37%.
The Home Sale Exclusion
Homeowners who have lived in their primary residence for at least 2 of the last 5 years can exclude up to $250,000 of capital gains from federal tax ($500,000 for married couples filing jointly). This exclusion can be used once every two years and is one of the most valuable tax breaks in the US tax code. Home improvements add to your cost basis, reducing the taxable gain.
Tax-Loss Harvesting
Capital losses from investments sold at a loss directly offset capital gains. If you have $20,000 in gains and $15,000 in losses, you only pay tax on the $5,000 net gain. Net losses can offset up to $3,000 of ordinary income per year, with excess losses carrying forward indefinitely. Strategic tax-loss harvesting — selling losing positions before year end — is a powerful way to reduce your capital gains tax bill.
How Capital Gains Tax Is Calculated
2026 IRS rules — holding period is everything.
Frequently Asked Questions
Explore More Free Calculators
All free, all updated for 2026