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
- Section 423 plans only. This calculator assumes a qualified ESPP under IRC 423, with the usual 15% discount. Non-qualified ESPPs are taxed like NSOs.
- Form 8949 adjustment. Your 1099-B will not reflect the ordinary-income portion in your basis. You must adjust it on Form 8949 or you will pay tax twice on the same dollars.
- No withholding. Nothing is withheld at purchase or at sale. The ordinary income from a disqualifying disposition appears on your W-2 in the year of sale.
- Single filer assumed. The calculator uses the single brackets and capital gains thresholds. Joint filers get wider 0% and 15% bands.
Related pages
- ESPP disqualifying disposition tax — the disqualifying case, in detail.
- ISO vs NSO tax — how options compare.
- RSU tax calculator — tax on a vest.
Sources
- IRS Publication 525 — employee stock purchase plans; qualifying and disqualifying dispositions.
- IRS Topic 427 — stock options.
- IRC 423 — qualified employee stock purchase plans; 15% maximum discount.
- IRS Rev. Proc. 2025-32, section 4.03 — 2026 capital gains thresholds.
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.