How an ESPP Works: Discounts, Lookbacks and Taxes
Learn how employee stock purchase plans work, what the discount and lookback are worth, how ESPP shares are taxed and whether to sell right away or hold.
Published
Free tool: ESPP CalculatorAn employee stock purchase plan (ESPP) lets you buy your employer's stock at a discount through payroll deductions. With a lookback, it can be one of the best deals in your benefits package. This guide explains how it works and how it's taxed, using the free ESPP Calculator.
How an ESPP works
- You choose a contribution, a share of each paycheck, often up to 10% or 15%.
- Money builds up during a purchase period, usually 6 months.
- On the purchase date, the plan buys shares at a discount of up to 15% in a qualified plan.
- With a lookback, the discount applies to the lower of the price at the start of the offering and the price on the purchase date.
Example
You earn $100,000 and contribute 10% for 6 months, setting aside $5,000. The stock was $50 when the offering started and is $60 on the purchase date. With a 15% discount and a lookback:
- Purchase price: 85% × $50 = $42.50
- Shares: $5,000 ÷ $42.50 = 117.647
- Value on the purchase date: 117.647 × $60 = $7,058.82
- Gain: $2,058.82, or 41.2% on what you put in
That's a 29.2% discount to the $60 market price: $882.35 from the 15% discount and $1,176.47 from the price rise the lookback captured.
What the lookback is worth
Without a lookback, you'd pay 85% of $60, $51, and gain $882.35, or 17.6%. If the price had fallen to $40 instead, you'd pay 85% of $40, $34, and still gain 17.6% on the purchase date. A 15% discount is always worth 17.6% on the day you buy: the shares are worth 1 ÷ 0.85 of what you paid.
How ESPP shares are taxed
The tax depends on when you sell, under rules in IRS Publication 525:
- Sell right away (a disqualifying disposition): the difference between the market price on the purchase date and what you paid is taxed as wages. In the example that's the whole $2,058.82; at a 24% rate, $494.12 of tax, leaving $1,564.71.
- Hold at least 2 years from the offering date and 1 year from the purchase (a qualifying disposition): only the lesser of your actual gain and the discount at the offering date, 15% × $50 = $7.50 a share or $882.35, is taxed as wages. The rest is a long-term capital gain. Selling at $60 that way costs $388.24 of tax at 24% and 15%, leaving $1,670.59.
| Sell right away | Hold for a qualifying sale | |
|---|---|---|
| Sale price | $60 | $60 |
| Taxed as wages | $2,058.82 | $882.35 |
| Taxed as a capital gain | $0 | $1,176.47 |
| Tax at 24% and 15% | $494.12 | $388.24 |
| You keep | $1,564.71 | $1,670.59 |
Holding saves $105.88 of tax here, but only if the price doesn't fall. If it drops to $45 by the time you sell, your whole gain is $294.12, and you keep $223.53.
Sell now or hold?
Many advisers suggest selling right away. The discount is a sure gain, while holding concentrates your savings in the company that also pays your salary. Holding for a qualifying sale makes sense only if you'd be happy to own the stock anyway.
Limits and paperwork
- A qualified plan can't let you buy more than $25,000 of stock a year, valued at the offering-date price.
- Your employer sends Form 3922 with the dates and prices you need. Brokers often report a cost basis that leaves out the part taxed as wages; adjust it on Form 8949 so you don't pay tax on it twice.
For the tax on other investment sales, see Capital Gains Tax: 2026 and 2027 Rates.
How to use the ESPP Calculator
- Open the ESPP Calculator.
- Enter your salary, contribution and purchase period.
- Enter the discount, whether the plan has a lookback, and the prices on the offering date and the purchase date.
- Enter a price for selling later and your tax rates.
- Read the results: your gain, shares, purchase price and effective discount, how much of the $25,000 limit you've used, where the value comes from, and the tax if you sell right away or hold for a qualifying sale.
Frequently asked questions
Is an ESPP worth it?
Usually, if there's a discount and you can afford the deductions. A 15% discount is an instant 17.6% return, more with a lookback.
What is a disqualifying disposition?
Selling ESPP shares before 2 years from the offering date and 1 year from the purchase. The discount at purchase is then taxed as wages.
Can I lose money in an ESPP?
Yes, if you hold the shares and the price falls below what you paid. Selling right away locks in the discount.