ESPP Calculator
Calculate your Employee Stock Purchase Plan gain, compare qualifying vs. disqualifying disposition tax treatment, and plan your annual ESPP contributions with 2026 tax rates.
Try another scenario
How to Use This Calculator
ESPP Gain tab
Enter the stock price at offering (grant date), stock price at purchase, your discount percentage, and your contribution per period. The calculator applies the lookback provision automatically — using the lower of the offering and purchase prices before applying the discount. You'll see your discount gain, market gain, total gain, estimated tax on both qualifying and disqualifying dispositions, and net profit after tax.
Qualifying vs Disqualifying tab
Enter the same stock info plus your grant date, purchase date, and planned sale date. The calculator checks whether your sale meets the qualifying disposition requirements (>2 years from grant AND >1 year from purchase) and shows you the ordinary income portion, long-term capital gains portion, and total tax comparison between QD and DD.
Annual Plan tab
Enter your salary, contribution rate (1–15%), quarterly stock prices, and discount percentage. See shares purchased per quarter, total shares for the year, total investment, total market value, gain per period, and annual tax impact. The calculator enforces the IRC §423 $25,000 annual FMV limit.
Share your result
Every input is encoded in the URL. Click Share to send your exact scenario to a financial advisor, partner, or colleague.
The Formula
ESPP gain depends on the discount, lookback provision, and stock price movement:
Built-in Gain = (FMV at Purchase - Purchase Price) × Shares
ROI = Built-in Gain ÷ Total Cost × 100
Disqualifying disposition (DD):
Ordinary Income = (FMV at Purchase - Purchase Price) × Shares
Capital Gain = (Sale Price - FMV at Purchase) × Shares
Qualifying disposition (QD):
Ordinary Income = min(Actual Gain per Share, FMV at Offering × Discount %) × Shares
LTCG = Remaining Gain (Sale Price - Purchase Price - Ordinary Income per Share) × Shares
The key insight: with a 15% discount and lookback, you pay $85 for $100 of stock. That's a 17.6% return ($15 ÷ $85) before the stock moves at all. If the stock rises during the offering period, the lookback uses the lower offering price, making the effective discount even larger.
Example
Aisha — product manager, Mountain View, CA
Aisha earns $150K, contributes $7,500 per 6-month period to her ESPP with a 15% discount and lookback provision. Stock was $100 at offering and $120 at purchase. Filing single, CA state tax rate 9.3%.
ESPP Gain tab
Aisha's effective discount is 29.2% (not just 15%) because the lookback uses the $100 offering price while the stock is worth $120. Her annualized ROI is 82.4%.
Qualifying vs Disqualifying tab
Even selling immediately, Aisha nets $2,066 after tax on a $7,480 investment in 6 months. Holding for the qualifying period saves her $420 by shifting most of the gain to long-term capital gains rates.
Annual Plan tab
Across the full year with rising stock prices, Aisha's ESPP delivers over $6K in gains — far better than any savings account.