Capital Gains Tax
Capital Gains Tax Calculator 2026
How this works
Long-term gains (held more than a year) stack on top of your ordinary income and are taxed at 0%, 15%, or 20% by 2026 breakpoint.
Short-term gains (a year or less) are taxed as ordinary income. NIIT adds 3.8% over the MAGI threshold.
Military: IRC 121(d)(9) lets you suspend the home-sale 5-year test for up to 10 years on qualified official extended duty.
Loading...
What this covers. A 2026 federal estimate for long-term (0/15/20%) and short-term gains, the 3.8% Net Investment Income Tax, and the Section 121 home-sale exclusion including the military suspension under IRC 121(d)(9). It does not include state taxes, the collectibles 28% rate, unrecaptured Section 1250 depreciation recapture, the AMT, or QBI. Figures are verified against IRS Publication 523, Topic No. 409, and IRS Rev. Proc. 2025-32. This is an estimate, not tax advice.
Keep going
Frequently asked questions
Common questions from service members and veterans. Your exact number comes from the calculator above; every answer cites the official source.
What is the military home-sale break, and how long can I suspend the 5-year test?⌄
To exclude home-sale gain under Section 121 you normally must have owned and lived in the home for 2 of the last 5 years. Under IRC 121(d)(9), service members on qualified official extended duty can elect to suspend that 5-year test for up to 10 years, so time stationed elsewhere does not count against you. You still keep the full $250,000 single / $500,000 joint exclusion. The suspension plus the underlying 5-year period cannot exceed 15 years total.
Source: IRS Pub. 523 / IRC 121(d)(9)
What counts as 'qualified official extended duty' for the suspension?⌄
You must be ordered to active duty either for an indefinite period or for a definite period of more than 90 days, and stationed at least 50 miles from the home or living in government quarters under orders. The election applies to one property at a time. It is most valuable when PCS orders moved you out before you could meet the 2-of-5-year use test - the suspension can turn a failing test into a full exclusion.
Source: IRS Pub. 523
How are long-term gains taxed in 2026, and what is NIIT?⌄
Long-term gains (assets held more than a year) are taxed at 0%, 15%, or 20% depending on your taxable income against the 2026 breakpoints, stacking on top of your ordinary income. Short-term gains (held a year or less) are taxed as ordinary income. The Net Investment Income Tax adds 3.8% on investment income once your modified AGI crosses the threshold ($200,000 single / $250,000 joint). The calculator applies all three, plus the Section 121 exclusion.
Source: IRS Topic No. 409 / Rev. Proc. 2025-32