Tax-Calculators.us

ESPP Tax Calculator 2026

An employee stock purchase plan lets you buy company stock at a discount, usually 15% off the lower of the price at the start or end of the offering period. How the sale is taxed depends entirely on when you sell.

The short answer: a qualifying disposition (more than 2 years from the offering date and more than 1 year from the purchase date) taxes only the smaller of the offering-date discount or the actual gain as ordinary income; the rest is long-term capital gain. A disqualifying disposition taxes the full purchase-date discount as ordinary income. The difference can be 12 to 17 percentage points of tax on the discount.

Ordinary income (the discount)
Capital gain
Tax on ordinary income
Tax on capital gain
Total tax on the sale

The two clocks

A qualifying disposition under IRC 423 needs both clocks to have run out: more than two years from the offering date (when the look-back price was set) and more than one year from the purchase date (when the shares were bought). Miss either one and the sale is disqualifying.

Qualifying disposition: ordinary income is the lesser of the discount on the offering-date price or the actual gain at sale. Everything beyond that is long-term capital gain, taxed at 0%, 15%, or 20%.

Disqualifying disposition: the full discount built into the purchase price is ordinary income, added to your W-2 in the year of sale, no matter what the stock did afterwards. The remaining gain or loss is short- or long-term depending on how long you actually held the shares.

Two traps: your 1099-B shows the purchase price as your basis, not your adjusted basis, so you will over-report the capital gain unless you adjust it on Form 8949. And there is no withholding at purchase, so the ordinary income from a disqualifying sale arrives at filing time with nothing withheld.

Worked example

You buy 100 shares at $85 (15% off the lower of the $100 offering price and the $120 purchase price) and sell at $150. Disqualifying: the full $35 purchase discount is ordinary income ($3,500) and the remaining $30 a share is capital gain ($3,000); total tax on $60,000 of other income is $1,220. Qualifying: ordinary income is only the $15 offering discount ($1,500) and the capital gain is $5,000; total tax is $1,080. Waiting for both clocks saves $140 here, and far more at higher brackets.

What this calculator excludes

Related pages

Sources

Frequently asked questions

How is an ESPP taxed?
At sale, not at purchase. The discount is ordinary income and the rest is capital gain. If you meet both holding periods (more than 2 years from offering, more than 1 year from purchase), the ordinary part is capped at the lesser of the offering-date discount or the actual gain. Otherwise the full purchase-date discount is ordinary income.
What is a disqualifying disposition for ESPP?
A sale before both holding periods have run out: less than 2 years from the offering date or less than 1 year from the purchase date. The full discount is taxed as ordinary income in the year of sale.
Is the ESPP discount taxed as ordinary income?
Yes, always, at least in part. On a qualifying disposition the ordinary part is the lesser of the offering-date discount or the actual gain. On a disqualifying disposition it is the full purchase-date discount.

Figures last verified: November 17, 2026. Estimates only, not tax advice.