ESPP tax calculator: the discount isn't free money
Your ESPP discount is taxable ordinary income when you sell — and it's usually not withheld, so it lands as a bill at filing. How much depends on whether your sale is a qualifying or disqualifying disposition. Enter your Form 3922 numbers and your sale to see the split and the tax you'll owe.
Your ESPP shares (from Form 3922)
The sale
Your tax on it
Worked examples
Married analyst sells after the 2-year hold
Estimated tax on this ESPP sale: $1,504
On a $9,066 gain, about $1,504 is tax (16.6% of the gain) — most of it likely not withheld, so plan to pay it at filing.
✓ Qualifying disposition — the tax-friendly outcome. Only $2,059 is ordinary income (your discount, taxed at 22.0%); the remaining $7,007 is long-term capital gain. But the ordinary income usually ISN'T withheld — set it aside for filing.
The sale
- Disposition type: Qualifying ✓ (held long enough)
- Sale proceeds (220 × $94.25): $20,735
- What you paid (220 × $53.04): −$11,669
- Your total gain: $9,066
Your tax on it
- Ordinary income (the discount, at 22.0%): $2,059
- → tax on ordinary income: $453
- Capital gain — long-term (0/15/20%): $7,007
- → tax on capital gain: $1,051
- Estimated total tax on the sale: $1,504 (16.6% of gain)
- After-tax profit you keep: $7,562
Single engineer sells early, jumps a tax bracket
Estimated tax on this ESPP sale: $3,867
On a $13,677 gain, about $3,867 is tax (28.3% of the gain) — most of it likely not withheld, so plan to pay it at filing.
⚠ Disqualifying disposition — you sold before the holding period (>2 yrs from grant AND >1 yr from purchase). The full $9,261 purchase-date discount is ordinary income at 32.0%, plus short-term capital gain on the rest. This usually ISN'T withheld — set the tax aside.
The sale
- Disposition type: Disqualifying ⚠ (sold too early)
- Sale proceeds (640 × $103.40): $66,176
- What you paid (640 × $82.03): −$52,499
- Your total gain: $13,677
Your tax on it
- Ordinary income (the discount, at 32.0%): $9,261
- → tax on ordinary income: $2,453
- Capital gain — short-term (ordinary rates): $4,416
- → tax on capital gain: $1,413
- Estimated total tax on the sale: $3,867 (28.3% of gain)
- After-tax profit you keep: $9,810
Qualifying sale with the stock barely above cost
Estimated tax on this ESPP sale: $238
On a $1,083 gain, about $238 is tax (22.0% of the gain) — most of it likely not withheld, so plan to pay it at filing.
✓ Qualifying disposition — the tax-friendly outcome. Only $1,083 is ordinary income (your discount, taxed at 22.0%); the remaining $0 is long-term capital gain. But the ordinary income usually ISN'T withheld — set it aside for filing.
The sale
- Disposition type: Qualifying ✓ (held long enough)
- Sale proceeds (380 × $41.10): $15,618
- What you paid (380 × $38.25): −$14,535
- Your total gain: $1,083
Your tax on it
- Ordinary income (the discount, at 22.0%): $1,083
- → tax on ordinary income: $238
- Estimated total tax on the sale: $238 (22.0% of gain)
- After-tax profit you keep: $845
Examples are recomputed whenever the underlying rates or data change; the date above is the last recompute.
How ESPP tax works & data sources
A qualified Section 423 ESPP lets you buy stock at up to a 15% discount (often with a lookback). There's no tax at purchase — the taxable event is the sale. What you owe depends on the holding period. A qualifying disposition (held >2 years from the offering/grant date and >1 year from purchase) is taxed favorably: your ordinary income is the lesser of the discount measured at the grant date or your actual gain, and the rest is long-term capital gain. A disqualifying disposition (either period not met) treats the full bargain element at purchase (purchase-date FMV − price paid) as ordinary income, with the remaining gain/loss a capital gain or loss. Critically, for a §423 plan employers generally don't withhold income tax or FICA on this ordinary income — and for qualifying sales may not even put it on your W-2 — so it usually surfaces only when you file (Schedule 1, line 8k if it's not on your W-2).
Sources: IRS — Pub. 525 (ESPP dispositions) · IRS — Topic 427 · IRS — Form 3922 · IRS — ESPP reporting FAQ
Frequently asked questions
Is the ESPP discount free money?
No. The discount is a real benefit, but the "bargain element" is ordinary income when you sell. It's still worth it — you just owe tax on the discount, and usually it wasn't withheld.
Qualifying or disqualifying — which is better?
Qualifying usually wins: less of the gain is ordinary income and the rest is long-term capital gain (0/15/20%). It requires holding >2 years from grant and >1 year from purchase. Selling early (disqualifying) turns the full purchase-date discount into ordinary income.
Why do I owe ESPP tax I didn't expect?
Because §423 ESPP ordinary income generally isn't withheld, and on a qualifying sale may not appear on your W-2. The tax is real and due at filing — check Schedule 1 line 8k if it's missing from your W-2.
Do I get taxed twice?
No. The ordinary income is added to your cost basis, so the capital-gain portion is only the amount above that. Forgetting the basis adjustment is a common way people over-report and overpay.