ESPP Calculator
Shares purchased at your plan discount, split into ordinary income and capital gain by qualifying vs. disqualifying disposition.
Your ESPP Calculator Result
Generated from the inputs below — a record you can revisit, or share with anyone helping you plan.
Your detailsInput Parameters
Purchase Details
The stock price on the first day of the offering period — Box 4 on Form 3922.
The market price on the day shares were actually purchased, before any discount — Box 3 on Form 3922.
Section 423 plans cap this at 15%.
Applies the discount to whichever is lower — the offering-date price or the purchase-date price.
Sale
Qualifying requires selling more than 2 years after the offering date AND more than 1 year after the purchase date. Both conditions must be met.
The lesser of your actual gain or the discount computed at the offering price ($40 × 15% × shares). Taxed at your ordinary income rate — see our Income Tax Calculator.
$5,000 contributed ÷ $34 price paid per share.
15% discount off the lower of the offering ($40) and purchase-date ($50) price.
Worth $2,353 at purchase (before any later price movement).
Taxed at long-term capital gains rates (0/15/20%) — see our Capital Gains Tax Calculator for your exact rate.
Sale proceeds of $9,559 minus your $5,000 cost — before splitting into ordinary income and capital gain/loss above.
Analysis
Email me this result

Free financial calculators. Where an official rule applies, the calculator shows the source it was checked against. No sign-up, and every calculation runs entirely in your browser — nothing you type is ever sent to us.
You might also need
Picked based on what this calculator does
RSU Calculator
Net shares value after federal, FICA, and state withholding at vest — plus a capital gain preview if you hold.
Open calculatorNSO Calculator
Exercise spread as ordinary income, full withholding breakdown, and net cash from a cashless exercise-and-sell.
Open calculatorISO Exercise & AMT Calculator
Alternative Minimum Tax exposure from exercising and holding incentive stock options past year-end.
Open calculatorPopularCapital Gains Tax
Estimate tax on profits.
Open calculatorIncome Tax Calculator & Estimator
Estimate your annual federal income tax liability.
Open calculatorSelf-Employment Tax Calculator
SE tax (Social Security + Medicare) plus an optional combined federal income tax estimate for 1099 and freelance income.
Open calculatorESPP Taxation: Ordinary Income vs. Capital Gain, and Why the Split Matters
A qualified Section 423 Employee Stock Purchase Plan lets you buy company stock at a discount — up to 15% below market, often off the lower of the offering-date or purchase-date price (a "lookback"). When you eventually sell, part of your gain is taxed as ordinary income and part as a capital gain — and how the sale splits between the two depends entirely on whether it's a qualifying or disqualifying disposition.
One thing that makes qualified ESPPs different from RSUs and NSOs: no FICA. Under the American Jobs Creation Act of 2004, ordinary income from a qualifying §423 ESPP disposition is exempt from Social Security and Medicare tax entirely — it's still ordinary income for federal/state income tax, just not subject to payroll tax the way RSU and NSO income is.
Qualifying vs. Disqualifying: How the Split Actually Works
Ordinary income = lesser of (actual gain at sale) or (discount computed at the offering price)
Remainder = long-term capital gain
Disqualifying disposition (sold before either holding period is met):
Ordinary income = full bargain element at purchase (purchase-date FMV − price paid)
Remainder = capital gain/loss (short- or long-term depending on holding from purchase)
Worked example (this calculator's own defaults): $40 offering price, $50 purchase-date price, 15% discount with lookback, $5,000 contributed, sold at $65/share, qualifying disposition. With the lookback, the discount applies to the lower price ($40), so you pay $34/share and buy about 147.06 shares. At sale: proceeds ≈ $9,558.82, cost ≈ $5,000, total gain ≈ $4,558.82. Because it's qualifying, ordinary income is capped at the discount computed at the offering price (≈ $882.35) — the remaining ≈ $3,676.47 is long-term capital gain, taxed at the lower capital-gains rates instead of as wages.
That gap — roughly $882 taxed as ordinary income vs. roughly $3,676 taxed at capital-gains rates — is the entire reason the qualifying-disposition holding periods exist and matter. Selling one day before either the 2-year or 1-year mark converts a much larger share of the gain into ordinary income.