How this calculator works
Your purchase price is the plan discount applied to the purchase-date price, or the lower of the offering and purchase prices with a lookback. In a qualifying sale, ordinary income is the lesser of your actual gain and the discount on the offering price. In a disqualifying sale, it's the full discount at purchase, and the rest is capital gain or loss.
Worked example
With the example values below: Estimated tax, $1,563 (on $9,152 total gain). Change any number above to run your own.
What you enter
| Input | Example |
|---|---|
| Price on offering date | $40 |
| Price on purchase date | $50 |
| Plan discount | 15% |
| Lookback provision? | Yes |
| Amount contributed | $12,000 |
| Sale price | $60 |
| Sale type | Qualifying (held 2 yrs from offer, 1 yr from purchase) |
| Ordinary income tax rate | 24% |
| Capital gains tax rate | 15% |
How an ESPP works
An employee stock purchase plan lets you buy company stock through payroll deductions, usually at a discount of up to 15%. Contributions build up during an offering period, and shares are bought on the purchase date. Many plans include a lookback, which uses the lower of the price at the start of the offering and on the purchase date before applying the discount.
Qualified plans under Section 423 limit purchases to $25,000 of stock per year, measured at the offering-date price.
Qualifying vs. disqualifying dispositions
A sale is qualifying if you sell more than two years after the offering date and more than one year after the purchase date. Then the ordinary income is the lesser of the actual gain or the discount based on the offering-date price, and the rest is long-term capital gain.
Sell sooner and it's a disqualifying disposition: the full discount at purchase (purchase-date value minus what you paid) is ordinary income, and any further change is a capital gain or loss, short-term or long-term depending on how long you held.
Is it worth participating?
With a 15% discount, buying and selling right away locks in roughly a 17.6% return on the money you contributed, before tax, over a few months. With a lookback and a rising stock price, the gain can be larger. For most employees who can afford the payroll deductions, participating and selling promptly is a strong deal.
Holding for a qualifying disposition can convert some income to long-term gains, but it exposes you to the stock's price risk. Check that your 1099-B basis includes the income already reported on your W-2 to avoid double taxation.
Frequently asked questions
How is an ESPP taxed?
Nothing is taxed at purchase in a qualified plan. When you sell, part of the gain is ordinary income and the rest is capital gain. The split depends on whether the sale is qualifying (held over two years from offering and one year from purchase) or disqualifying.
What is a qualifying disposition?
A sale more than two years after the offering date and more than one year after the purchase date. Ordinary income is limited to the lesser of the actual gain or the discount at the offering date.
Should I sell ESPP shares immediately?
Many advisers suggest it, to lock in the discount and avoid concentration in your employer's stock. The discount is taxed as ordinary income either way.
What is the ESPP $25,000 limit?
Qualified plans cap purchases at $25,000 worth of stock per calendar year, valued at the offering-date price before the discount.
What is an ESPP lookback?
A provision that uses the lower of the stock price at the start of the offering period and at the purchase date, then applies the discount. If the price rises, it can make the effective discount much larger than 15%.
Grow what this calculator projects.
TruthSayer AI sends quantitative stock signals across valuations, earnings and dark-pool activity, each one traded in its own funded account first.
Estimates for planning only, not financial, tax or legal advice. Tax tools use 2026 federal figures (brackets, $16,100 / $32,200 standard deduction, $19,000 gift exclusion, $15M lifetime exemption). Rates shown as defaults are examples; replace them with quotes you actually receive.