Cifrely. ← All calculators
ENES
Myth vs. fact · US 2026

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)

Estimated tax on this ESPP sale

The sale

Your tax on it

Worked examples

Three runs of this calculator, computed on August 5, 2026 using the same code and the same data files this page uses. Nothing here is illustrative — change any input above to run your own.

Married analyst sells after the 2-year hold

Inputs: Number of shares sold: 220 · Plan discount %: 15 · Grant/offering-date FMV per share (Box 3): 62.4 · Purchase-date FMV per share (Box 4): 71.8 · Price you paid per share (Box 5): 53.04 · Sale price per share: 94.25 · Offering/grant date (Box 1): 2023-08-01 · Purchase date (Box 2): 2024-01-31 · Sale date: 2026-03-12 · Filing status: Married filing jointly · Your other taxable income this year (USD): 186000

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

Your tax on it

Single engineer sells early, jumps a tax bracket

Inputs: Number of shares sold: 640 · Plan discount %: 15 · Grant/offering-date FMV per share (Box 3): 118 · Purchase-date FMV per share (Box 4): 96.5 · Price you paid per share (Box 5): 82.03 · Sale price per share: 103.4 · Offering/grant date (Box 1): 2025-02-01 · Purchase date (Box 2): 2025-07-31 · Sale date: 2026-05-20 · Filing status: Single · Your other taxable income this year (USD): 195400

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

Your tax on it

Qualifying sale with the stock barely above cost

Inputs: Number of shares sold: 380 · Plan discount %: 15 · Grant/offering-date FMV per share (Box 3): 45 · Purchase-date FMV per share (Box 4): 58.2 · Price you paid per share (Box 5): 38.25 · Sale price per share: 41.1 · Offering/grant date (Box 1): 2022-11-01 · Purchase date (Box 2): 2023-04-28 · Sale date: 2026-01-15 · Filing status: Single · Your other taxable income this year (USD): 96500

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

Your tax on it

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).

Rules verified as of July 19, 2026 — IRS Pub. 525 (ESPP); IRS Topic 427; Form 3922 instructions; Treas. Reg. 1.423-2 · Estimate, not tax advice.

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.