Who should use this
Estimate 2026 federal tax on short-term and long-term capital gains from stocks, ETFs, crypto, real estate, or a primary home sale — including exact IRS bracket stacking, the 3.8% NIIT, the $250,000/$500,000 home exclusion, and capital loss deductions.
2026 long-term capital gains brackets by filing status
When you hold an asset for more than 12 months before selling, your taxable gain stacks on top of your ordinary taxable income and runs through these 2026 IRS thresholds:
| Rate | Single | Married filing jointly | Head of household | Married filing separately |
|---|---|---|---|---|
| 0% | $0 to $49,450 | $0 to $98,900 | $0 to $66,200 | $0 to $49,450 |
| 15% | $49,450 to $545,500 | $98,900 to $613,700 | $66,200 to $579,600 | $49,450 to $306,850 |
| 20% | Over $545,500 | Over $613,700 | Over $579,600 | Over $306,850 |
In addition, if your modified AGI exceeds $200,000 ($250,000 married filing jointly, $125,000 married filing separately), up to 3.8% Net Investment Income Tax applies on top of your capital gains bracket.
Worked examples
Example 1 — Splitting a stock gain across the 0% and 15% brackets: A single filer earns $50,000 in wages and sells shares held over a year for a $30,000 gain (bought for $20,000, sold for $50,000). After the $16,100 standard deduction, ordinary taxable income is $33,900. That leaves $15,550 of room inside the 0% bracket (up to $49,450) taxed at $0, while the remaining $14,450 is taxed at 15% for a total capital gains tax of $2,167.50 (7.23% effective rate).
Example 2 — Selling a primary home above the $500,000 exclusion: A married couple with $140,000 of salary sells their long-time main home for $950,000, paying $45,000 in agent commissions, with a $390,000 adjusted basis ($350,000 purchase plus $40,000 remodel). Their net gain is $515,000. Subtracting the $500,000 § 121 joint exclusion leaves $15,000 of taxable long-term gain, taxed at 15% ($2,250). Because their MAGI ($155,000) is below $250,000, NIIT is $0 and total federal tax on the sale is $2,250.
Need to check your ordinary income rate or plan quarterly estimated payments after a large sale? See the federal tax bracket calculator and the quarterly estimated tax calculator.
What this calculator does not cover
- State and local capital gains or income taxes (most states with an income tax treat capital gains as ordinary income).
- Special 28% maximum federal rate on collectibles (gold coins, art, antiques) or Section 1202 qualified small business stock (QSBS).
- Unrecaptured Section 1250 depreciation recapture (up to 25%) when selling depreciated rental or commercial real estate, or Section 1031 like-kind exchanges.
- Wash-sale disallowed losses (IRC § 1091) when repurchasing substantially identical stock or securities within 30 days before or after a loss sale.
- Partial IRC § 121 home sale exclusions for work, health, or unforeseen-circumstance moves under two years.