Capital gains tax calculator for 2026
Held more than a year, a gain is taxed at 0%, 15% or 20% for 2026. Single, 0% runs to $49,450 of taxable income and 20% starts past $545,500; married filing jointly, $98,900 and $613,700. Above $200,000 of income ($250,000 jointly), 3.8% more goes to the net investment income tax. Held a year or less, a gain is taxed like pay.
Your gain
The gain is what you sold for less what you paid. Pay and other income is everything else taxed this year, before the standard deduction. It works your year out with the gain and without it, federal and state, on 2026 law.
I sold at a gain of on something I held . I file , live in , and have of pay and other income this year.
of tax on the gain, federal and state. You keep $37,850, 75.7% of it.
| Federal income tax | $7,500 |
| Net investment income tax | $0 |
| California | $4,650 |
| Tax on the gain | $12,150 |
Of the gain, $50,000 at 15%, federally.
2026 long-term capital gains rates
By taxable income, the gain included, after the deduction.
| Filing status | 0% | 15% | 20% |
|---|---|---|---|
| Single | to $49,450 | to $545,500 | over $545,500 |
| Married filing jointly | to $98,900 | to $613,700 | over $613,700 |
| Married filing separately | to $49,450 | to $306,850 | over $306,850 |
| Head of household | to $66,200 | to $579,600 | over $579,600 |
The 3.8% net investment income tax starts above $200,000 single or head of household, $250,000 married filing jointly and $125,000 married filing separately. Short-term gains are taxed at the ordinary rates, 10% to 37%, the same as pay: the 2026 brackets.
A $50,000 gain, worked out
Single, with $100,000 of pay, selling at a $50,000 gain in 2026.
| State | Held over a year | A year or less |
|---|---|---|
| California | $12,150 | $16,214 |
| Texas | $7,500 | $11,564 |
| New York | $10,930 | $14,994 |
In California, held over a year, the gain costs $7,500 of federal tax and $4,650 of state tax, $12,150 in all, so 75.7% of it is kept. Held a year or less, $16,214.
In Texas, with no state income tax, it is $7,500 held over a year and $11,564 held a year or less, all of it federal.
In New York, $10,930 held over a year, $3,430 of it the state’s, and $14,994 held a year or less. Holding past a year keeps $4,064 more.
Federal tax by size of gain
Held over a year, single, in 2026, the 3.8% included. State tax comes on top.
| Gain | No other income | With $100,000 of pay |
|---|---|---|
| $10,000 | $0 | $1,500 |
| $50,000 | $0 | $7,500 |
| $100,000 | $5,168 | $15,000 |
| $250,000 | $29,568 | $43,200 |
| $1,000,000 | $196,674 | $223,950 |
How it works
Holding period. More than a year is long-term. The clock starts the day after you buy, and the day you sell counts.
The zones stack. A long-term gain sits on top of your other taxable income, so only the part under the 0% line is taxed at 0%.
Netting. Losses come off gains of the same term first, then the other. Up to $3,000 left over comes off other income each year ($1,500 married filing separately), and the rest carries forward.
Collectibles, such as art, coins and gold, held over a year are taxed at up to 28%.
A building’s depreciation comes back at up to 25% when it is sold, the unrecaptured section 1250 gain.
Your home. Owned and lived in two of the last five years, $250,000 of gain is untaxed ($500,000 jointly). Improvements raise what you paid and lower the gain, so keep the record.
Questions people ask
What is the capital gains tax rate for 2026?
Held more than a year, a gain is taxed at 0%, 15% or 20%, by taxable income. Single, 0% runs to $49,450 and 20% starts past $545,500. Married filing jointly, $98,900 and $613,700. Head of household, $66,200 and $579,600. Held a year or less, it is taxed like pay, at 10% to 37%. Above $200,000 of income ($250,000 jointly), 3.8% more is added.
How much tax is there on a $100,000 capital gain?
Held more than a year, single, with no other income: $5,168 of federal tax for 2026, 5.2% of the gain. On top of $100,000 of pay: $15,000. Living in California adds $9,300 of state tax to that.
Does my state tax capital gains?
Most states tax a gain like pay, with no lower rate. Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas and Wyoming have no income tax. Hawaii taxes a long-term gain at no more than 7.25%. Maryland adds 2% on gains once income passes $350,000. Washington taxes no pay but takes 7% of long-term gains over $284,000, and 9.9% of the part more than $1,000,000 over it. Missouri taxes no capital gains. Some take part of a gain off: Arizona 25% of a long-term gain, Arkansas 50% of any gain, North Dakota 40% of a long-term gain, South Carolina 44% of a long-term gain, Vermont 40% of a long-term gain and Wisconsin 30% of a long-term gain.
How do I avoid capital gains tax?
Hold past a year, so the gain is taxed at 0%, 15% or 20% rather than like pay. Sell losers to offset winners, and take up to $3,000 of losses off other income each year. Give appreciated shares held over a year to charity instead of cash: no tax on the gain, and their value counts as a gift up to 30% of income. Sell in a low-income year, when the gain fits under the 0% line. A home you have lived in two of the last five years takes $250,000 of gain off ($500,000 jointly). Shares in a qualifying small company held 5 years or more can leave up to $15,000,000 of gain untaxed (QSBS, for shares issued after July 4, 2025).
What counts as a long-term capital gain?
Anything held more than one year before it is sold. The clock starts the day after you buy and counts the day you sell. Shares from work start their clock when they vest or are bought.
Can capital losses offset gains?
Yes. Short-term losses come off short-term gains and long-term off long-term, then one against the other. A loss left over comes off other income, up to $3,000 a year ($1,500 married filing separately), and the rest carries to next year with no end.
Is the whole gain taxed at 0% if my income is low?
Only the part that fits. The gain sits on top of your other taxable income, so the 0% rate covers it up to $49,450 single ($98,900 jointly) and 15% the rest. With $100,000 of pay, single, a long-term gain starts at 15%.
What is the 3.8% net investment income tax?
3.8% on gains, dividends, interest and rents, or on how far income is over $200,000 single ($250,000 jointly, $125,000 separately), whichever is less. Those lines are set in law and not raised for inflation. It applies to short-term and long-term gains alike.
Checked on October 29, 2026 against Rev. Proc. 2025-32, 2026 inflation adjustments, Topic 409, Capital gains and losses, Publication 550, Investment Income and Expenses, Instructions for Schedule D, Instructions for Form 8960 and Publication 523, Selling Your Home. An estimate for your records, not tax advice.
Lower it on your own year
Harvesting losses and giving shares instead of cash are lessons in Pay Less in Taxes, each priced on your own year rather than an example. A few questions say what your year could put back.
More if you save or invest
- Tax-equivalent yield calculatorThe money market fund that pays you most after tax
- Savings waterfall calculatorWhich account your next dollar goes to, and how much
- 401(k) contribution limitsThis year’s limits, catch-ups and the total
- Roth IRA income limitsWhere a Roth IRA shrinks and stops, by filing status
- Backdoor RothOver the income line, step by step, and the mega backdoor
- Financial advisor fee calculatorWhat a 1% fee costs you by retirement
- 529 tax deduction by stateWhat 529 money takes off your state taxes
Put more back in your pocket.
Reimburse adds up your gains from a brokerage statement, carries last year's losses in, and says what selling, holding or giving would do to this year's tax.