ESPP Calculator
Calculate ESPP gains and tax treatment for qualifying vs disqualifying dispositions.
By Konstantin Iakovlev · Updated September 2026 · Source: IRS Publication 525 — Employee stock purchase plans (statutory stock options) · Methodology
Purchase Price / Share
$68.00
Shares Bought
176
Total Gain
$5,632.00
ESPP Breakdown
| Total Contribution | $12,000.00 |
| Purchase Price Per Share | $68.00 |
| Discount Per Share | $32.00 |
| Total Discount Value | $5,632.00 |
Tax Treatment
| Disposition Type | Qualifying |
| Ordinary Income | $2,112.00 |
| Capital Gain (LTCG) | $3,520.00 |
| Total Gain | $5,632.00 |
Use the ESPP Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.
Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.
You might also need
Sales Tax Calculator
Calculate sales tax by state and city. See state rate, local rate, and total tax on your purchase.
RSU Tax Calculator
Calculate tax on restricted stock units at vesting. See federal, state, and FICA withholding.
Stock Options Tax Calculator (ISO vs NSO)
Calculate tax on ISO and NSO stock options at exercise and sale. Compare ISO vs NSO tax treatment.
How It Works
Buying shares through an Employee Stock Purchase Plan (ESPP) comes with tax rules and potential gains that are easy to misjudge, and this tool lays them out so you can see where you stand. In 2026, ESPP purchases stay capped at $25,000 per calendar year measured by fair market value, so planning carefully is what lets you wring the most out of the benefit.
Two figures drive the outcome: the purchase discount, usually 5-15% below market price, and the tax treatment that hinges on how long you hold. The calculator separates qualifying dispositions, where shares are held at least two years from grant and one year from purchase, from disqualifying dispositions, and that distinction decides whether your gain is taxed as ordinary income or as capital gains.
The discount itself is taxed as ordinary income no matter how long you hold the shares. Many plans also include a lookback provision that lets you buy at 85% of the lower of the stock price at enrollment or on the purchase date, and overlooking it is a frequent oversight. Because the fine print differs from plan to plan, it is worth confirming your own plan's terms, since tax outcomes can swing widely.
ESPP Purchase: $5,000 contribution with 15% discount on $50 stock
- 1 Inputs: stock price $50 at both the offering start and the purchase date, annual salary $50,000 with a 10% contribution ($5,000), and a 15% discount. The purchase price is $50 × 85% = $42.50 per share.
- 2 Shares purchased: $5,000 ÷ $42.50 = 117.65, rounded down to 117 shares, costing 117 × $42.50 = $4,972.50.
- 3 Discount: ($50 − $42.50) × 117 = $877.50. It becomes ordinary income in the year you sell the shares, not when you buy them.
- 4 If sold immediately at $50 per share (a disqualifying disposition), proceeds are $5,850, the full $877.50 is ordinary income reported as wages, and there is no capital gain. Held for the qualifying period and sold at $50, the ordinary income is the smaller of the offering-date discount ($7.50 × 117 = $877.50) and the actual gain, so it is also $877.50 here; any rise above $50 would be long-term capital gain.
Source: IRS Publication 525 — Employee stock purchase plans (statutory stock options) · Last updated: September 2026