Skip to the answer

Guide · Taxes

How Much Tax Will I Pay on a $100,000 Stock Sale in 2026 & 2027? (Federal + State)

The tax on a $100,000 stock sale depends on three things: how long you held the shares, your other taxable income, and your state. Below we run a $100,000 gain through our own tax engine with the published 2026 and 2027 brackets for five households and eight states, so every figure matches what our calculators show.

The short answer

Tax on a $100,000 stock gain, 2026

Held more than a year, a $100,000 gain costs most households $15,000 in federal tax (15%), plus $1,900 of Net Investment Income Tax for a single filer with $150,000 of taxable income. Sold within a year, the same gain is taxed like wages: $29,758 for that filer. Federal tax plus NIIT, before state tax:

2026: federal tax + NIIT on a $100,000 stock gain
Filing status, taxable incomeLong-termShort-termNIIT (included)
Married filing jointly, $40,000$6,165$15,920$0
Single, $60,000$15,000$23,086$0
Single, $150,000$16,900$29,758$1,900
Married filing jointly, $150,000$15,000$22,772$0
Single, $500,000$21,525$38,800$3,800

State tax adds $9,300 in California for the single $150,000 filer (total $26,200 long-term) and $0 in Texas, Florida or Washington. This assumes a $100,000 gain (bought for $50,000, sold for $150,000); if $100,000 is your sale price, see the proceeds section below.

Try it: Stock Capital Gains Tax Calculator

Pre-filled with this guide's main example: shares bought for $50,000 and sold for $150,000 after more than a year, a single filer in California with $150,000 of taxable income in 2026. Change any input to see your own numbers.

Open it full screen Skip the calculator, read the math

Open the full calculator with these numbers

How the tax on a stock sale is figured

Capital gains tax is not a flat rate on the sale. The gain is added on top of your other taxable income and fills whatever brackets are left. Here is the main example, a single filer with $150,000 of taxable income selling in 2026:

  1. Gain. Proceeds $150,000 − cost basis $50,000 = $100,000.
  2. Holding period. Shares held more than one year are long-term and use the 0% / 15% / 20% schedule; one year or less is short-term and uses the ordinary brackets.
  3. Federal tax, long-term. The 15% band for single filers runs from $49,450 to $545,500 of taxable income, so the gain stacked from $150,000 up to $250,000 is taxed as $100,000 at 15% = $15,000.
  4. Federal tax, short-term. The same $100,000 through the ordinary brackets is $51,775 at 24% and $48,225 at 32% = $27,858.
  5. NIIT. $150,000 + $100,000 is $50,000 over the $200,000 single threshold. 3.8% × the smaller of that or the gain = $1,900.
  6. State. California taxes gains as ordinary income: $9,300 on top of $150,000. Total long-term: $15,000 + $1,900 + $9,300 = $26,200.

For 2027 the IRS raised the long-term thresholds (15% starts above $51,050 single, $102,100 joint; 20% above $563,200 and $633,600) and the ordinary brackets, so short-term tax and the highest-income row drop slightly (long-term means held more than a year):

2027: federal tax + NIIT on a $100,000 stock gain
Filing status, taxable incomeLong-termShort-termNIIT (included)
Married filing jointly, $40,000$5,685$15,595$0
Single, $60,000$15,000$23,018$0
Single, $150,000$16,900$29,234$1,900
Married filing jointly, $150,000$15,000$22,635$0
Single, $500,000$20,640$38,800$3,800

Where the rate changes: the 0% and 20% brackets

Two rows of the table do not come out to a flat 15%. A married couple with $40,000 of taxable income in 2026 still has $58,900 of room below the $98,900 top of the 0% bracket, so that much of the gain is tax-free and the rest is taxed at 15%: $58,900 at 0% and $41,100 at 15%, $6,165 in total ($5,685 in 2027, when the 0% bracket is wider).

At the other end, a single filer with $500,000 of taxable income crosses the $545,500 start of the 20% bracket, so $54,500 of the gain is taxed at 20%, and the whole gain is above the NIIT threshold, adding $3,800. Short-term, that filer pays the 37% top ordinary rate on every dollar. To see which bracket your own income falls in, use the tax bracket calculator.

State tax on a $100,000 gain: high-tax vs. no-tax states

Most states tax capital gains as ordinary income, with no lower long-term rate, so the holding period changes only the federal part. Here is the single filer with $150,000 of taxable income in five high-tax states and three with no tax on this gain:

State and total tax on a $100,000 gain: single, $150,000 taxable income (LT = long-term, ST = short-term)
State2026 state2026 total LT2026 total ST2027 total LT
California$9,300$26,200$39,058$26,200
New York$6,229$23,129$35,987$23,063
New Jersey$6,370$23,270$36,128$23,270
Oregon$9,900$26,800$39,658$26,800
Minnesota$8,787$25,687$38,545$25,687
Texas$0$16,900$29,758$16,900
Florida$0$16,900$29,758$16,900
Washington$0$16,900$29,758$16,900

State figures exclude local income taxes such as New York City's and Portland-area taxes. Washington's capital gains excise tax applies only to long-term gains above a $290,000 deduction per year, at 7% on the excess, so a $100,000 gain owes nothing; Washington had not published its 2027 deduction when we last checked, so the 2027 figure uses the 2026 amount. For every other state, see capital gains tax rates by state.

If $100,000 is the sale price, not the gain

A brokerage confirmation shows proceeds, but tax is owed only on proceeds minus cost basis. If you sold shares for $100,000, your gain depends on what you paid. Same single filer, $150,000 of taxable income, held over a year, 2026, federal tax and NIIT only:

$100,000 of sale proceeds: federal tax + NIIT by cost basis (single, $150,000, long-term, 2026)
Cost basisGainFederal taxNIITTotal
$25,000$75,000$11,250$950$12,200
$50,000$50,000$7,500$0$7,500
$75,000$25,000$3,750$0$3,750

Your basis is usually the purchase price plus commissions, adjusted for reinvested dividends, splits and any wash-sale adjustments. If the shares are worth less than you paid, the sale produces a capital loss: it offsets other gains, and up to $3,000 a year of net loss can reduce other income.

Edge cases that change the answer

Selling at a loss elsewhere

Losses realized in the same year offset the gain dollar for dollar before any tax is figured. Harvesting a loss against a short-term gain saves the most, because short-term gains are taxed at ordinary rates. See the tax-loss harvesting calculator.

Inherited and gifted shares

Inherited shares generally take a basis equal to their value at the date of death and are always treated as long-term. Gifted shares generally keep the giver’s basis. Both can change the gain a lot, so check the basis your broker reports.

Frequently asked questions

How much tax do I pay on a $100,000 long-term capital gain?

Federal tax is $15,000 at the 15% rate for most incomes, from $6,165 for a married couple with $40,000 of taxable income to $21,525 for a single filer with $500,000 once the 20% rate and the 3.8% Net Investment Income Tax apply (2026). State tax comes on top: $9,300 in California for a single filer with $150,000, nothing in Texas or Florida.

Is a $100,000 stock sale the same as a $100,000 gain?

No. Tax is owed only on the gain: sale proceeds minus your cost basis (what you paid, including commissions). If you sold shares for $100,000 that cost $50,000, your gain is $50,000, and a single filer with $150,000 of taxable income owes $7,500 in federal tax and NIIT on it in 2026. If the shares cost more than you sold them for, you have a loss, not tax.

Does a $100,000 capital gain 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 other taxable income, so only the gain itself can fall into higher brackets. It can, however, trigger the Net Investment Income Tax and raise income-based items such as Medicare premiums.

Do I owe the 3.8% Net Investment Income Tax on a $100,000 gain?

Only if your modified AGI including the gain is above $200,000 (single) or $250,000 (married filing jointly). The tax applies to the smaller of the gain or the amount over the threshold. These thresholds are fixed by law and are the same in 2026 and 2027.

Which states do not tax capital gains on stock?

In our 2026 data: Alaska, Florida, Missouri, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming. Washington has no income tax but charges a 7% excise tax on long-term gains above a $290,000 annual deduction, so a $100,000 gain owes nothing there.

Primary sources

Data Sources & Tax Year Verification

Tax year 2026 and 2027 figures, last verified November 15, 2026 against the official primary sources below.

Spot an error? Report it; corrections are logged in What's changed. How we audit our tax tables →