ESPP Calculator
Calculate ESPP gains and tax treatment for qualifying vs disqualifying dispositions.
By Konstantin Iakovlev · Updated April 2026 · Source: IRS — Forms, Instructions & Publications
Purchase Price / Share
$68.00
Shares Bought
176.00
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.
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 Employee contributes $5,000 over 6 months to purchase company stock at $50 per share with a 15% discount, resulting in a purchase price of $42.50 per share.
- 2 Calculate shares purchased: $5,000 ÷ $42.50 = 117.65 shares (rounded to 117 shares). Actual purchase amount: 117 × $42.50 = $4,972.50.
- 3 The discount benefit equals $7.50 per share × 117 shares = $877.50, which will be reported as ordinary income on the employee's W-2 regardless of when shares are sold.
- 4 If sold immediately at $50 per share, total proceeds equal $5,850 with $877.50 taxed as ordinary income and no additional capital gains. The effective after-tax benefit depends on the employee's marginal tax rate applied to the discount.
Source: IRS — Forms, Instructions & Publications · Last updated: April 2026
Frequently Asked Questions
How does an ESPP work?
How is the ESPP discount taxed?
Is an ESPP worth it?
You might also need
Federal Income Tax Calculator 2026 — Free IRS Tax Estimator
Calculate your 2026 federal income tax, bracket, effective rate, FICA, and take-home pay. Free, instant results based on official IRS rates and brackets.
Capital Gains Tax Calculator 2026 — Short & Long-Term Rates
Calculate short-term and long-term capital gains tax on stocks, real estate, and investments. Includes NIIT. Free, instant results based on 2026 IRS brackets.
Child Tax Credit Calculator 2026
Calculate your Child Tax Credit and Other Dependent Credit. See phase-out thresholds and net credit amount for your income.