2026 guide
How Stock Capital Gains Are Taxed in 2026
When you sell a stock for more than you paid, the profit is a capital gain, and it is taxed at the federal level and, in most places, by your state. How much you owe depends on three things: how long you held the shares, how much other taxable income you have, and where you live. The calculator above combines all three; here's what is happening under the hood, based on IRS Topic No. 409, Capital Gains and Losses.
Short-term vs. long-term
Shares held one year or less produce a short-term gain, taxed at the same rates as your paycheck: 10% up to 37%. Shares held more than one year produce a long-term gain, which gets its own, much lower schedule of 0%, 15%, or 20%.
| Filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451 – $545,500 | Over $545,500 |
| Married filing jointly | Up to $98,900 | $98,901 – $613,700 | Over $613,700 |
| Married filing separately | Up to $49,450 | $49,451 – $306,850 | Over $306,850 |
| Head of household | Up to $66,200 | $66,201 – $579,600 | Over $579,600 |
On top of that, the Net Investment Income Tax adds 3.8% once your income passes $200,000 (single or head of household), $250,000 (married filing jointly), or $125,000 (married filing separately). These thresholds are fixed in law and are not adjusted for inflation, so more investors cross them every year. Technically the test uses modified adjusted gross income; this calculator uses taxable income plus the gain as a close, slightly conservative stand-in.
State taxes vary widely. Eight states (Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming) don't tax stock gains at all, and Missouri exempted capital gains starting in 2025. Most others, including California, New York, and New Jersey, tax gains exactly like wages, with California's top combined rate reaching 13.3%. A handful soften the blow: Wisconsin excludes 30% of long-term gains, South Carolina 44%, and Arkansas 50%. Massachusetts taxes short-term gains at 8.5% versus 5% for long-term, and Washington levies a 7% excise tax only on long-term gains above $290,000 (2026). Compare every state's rules and top rates in our capital gains tax by state guide, with a calculator preset for each state.
How bracket stacking prevents tax cliffs
A common fear is that a big stock sale will "push you into a higher bracket" and raise the tax on everything. It doesn't work that way. The IRS stacks your capital gain on top of your ordinary taxable income. Your wages fill the lower part of the brackets first, and the gain only occupies the space above them.
Because each dollar is taxed only at the rate of the tier it lands in, crossing a threshold never makes you worse off overall. The same logic applies to short-term gains running through the ordinary 10%–37% brackets.
3 legal ways investors reduce stock taxes
- Hold for more than one year. For most earners, crossing the one-year mark drops the federal rate from 22%–37% to 15%, and it lowers state tax in places like Massachusetts, Montana, and Wisconsin. The holding period starts the day after purchase, so sell on or after the day after your one-year anniversary. The "Hold vs. Sell Early" box above shows your exact savings.
- Harvest your losses. Selling losing positions realizes capital losses that offset gains dollar for dollar. Leftover losses reduce ordinary income by up to $3,000 a year ($1,500 married filing separately) and carry forward indefinitely. Avoid the wash-sale rule by not buying a substantially identical security within 30 days before or after the sale.
- Give appreciated shares instead of cash. Donating long-term stock directly to a qualified charity or a donor-advised fund lets you avoid capital gains tax on the appreciation entirely, and if you itemize, you can generally deduct the full market value (subject to AGI limits). Gifting shares to family members in the 0% bracket can work too, but watch the kiddie tax and gift-tax rules.
Frequently asked questions
How long do I have to hold a stock to pay long-term capital gains rates?
You must hold the shares for more than one year. The holding period starts the day after you buy and includes the day you sell, so shares bought on March 10, 2025 qualify for long-term treatment if sold on or after March 11, 2026. Selling exactly one year later is still short-term.
What are the 2026 and 2027 long-term capital gains tax brackets?
Long-term gains are taxed at 0%, 15% or 20% depending on your taxable income. For 2026 the 15% rate starts above $49,450 for single filers ($98,900 married filing jointly, $66,200 head of household) and the 20% rate above $545,500 ($613,700 joint, $579,600 head of household). For 2027 the IRS raised those thresholds to $51,050 ($102,100 joint, $68,350 head of household) and $563,200 ($633,600 joint, $598,400 head of household). Short-term gains use the ordinary income brackets, which were also adjusted for 2027. Pick the year in the Tax Year menu to see either.
Will selling stock push my salary into a higher tax bracket?
No. Your wages are taxed the same whether or not you sell. The gain is stacked on top of your ordinary income, so only the gain itself can land in higher brackets. A large gain can, however, trigger the 3.8% Net Investment Income Tax, raise your state tax, or affect income-based items such as IRMAA Medicare premiums and some credits.
Do I owe capital gains tax if I reinvest the proceeds?
Yes. In a regular taxable brokerage account, tax is triggered by the sale itself, not by what you do with the cash afterward. Reinvesting immediately does not defer the tax. Sales inside tax-advantaged accounts such as a 401(k), traditional IRA, or Roth IRA are not taxed when they occur.
Which states do not tax capital gains?
Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming do not tax capital gains on stock. Missouri exempts capital gains from its income tax beginning in 2025. Washington has no income tax but levies a 7% excise tax on long-term capital gains above an annual deduction of $290,000 (2026), with a higher 9.9% rate on the portion more than $1 million above that deduction.