ESPP Calculator: Tax When the Share Price Falls
ESPP shares are taxed when you sell them, not when you buy them. What you pay depends on whether the sale is qualifying or disqualifying, and on where the share price sits when you sell. Enter your offering price, purchase price and sale price below.
ESPP Calculator
Your plan details
Fill in your plan details and press Calculate my equity value — you'll get after-tax value, the tax breakdown bar, a growth chart and a year-by-year table.
Year-by-year projection
Estimates for planning only — not financial or tax advice. Figures follow Section 423 treatment: up to a 15% discount, a $25,000 annual limit measured at offering-date value, and a qualifying disposition after two years from the offering date and one year from purchase. Holding longer carries single-stock risk this calculator cannot price.
The rule most ESPP guides state incorrectly
You will read everywhere that a qualifying disposition taxes you on the discount. That holds only when the shares have risen.
The actual rule caps ordinary income at the lesser of two figures: the discount measured at the offering date, or your actual gain between what you paid and what you sold for.
The second figure is the one people leave out, and it cannot fall below zero. Sell a qualifying holding at a loss and there is no ordinary income at all.
What a falling price does to an early sale
Sell before both holding periods are met and your ordinary income is locked to the purchase-date spread: market value on the purchase date, minus what you paid. That figure does not move if the share price drops afterwards.
Take an offering price of $10 and a purchase-date price of $20, with a 15% discount and a lookback. You pay $8.50 for 100 shares.
The stock then falls to $9 and you sell 13 months after purchase.
| Ordinary income | $1,150 |
| Cost basis | $2,000 |
| Long-term capital loss | $1,100 |
| Actual cash profit | $50 |
You cleared $50 and report $1,150 of ordinary income. At a 32% rate that is $368 of tax on a $50 gain. Reporting earned income alongside a capital loss is a real outcome, not an edge case. The loss softens it, but capital losses offset only $3,000 of ordinary income a year, with the remainder carried forward.
The same shares, sold a few months later
Hold until the sale qualifies, meaning more than two years from the offering date and more than one year from purchase, and the arithmetic changes entirely. Ordinary income becomes the lesser of the offering-date discount, which is $150 here, or your actual gain of $50. It is $50.
Same shares, same sale price, and ordinary income drops from $1,150 to $50.
This flips the usual advice. When the stock has fallen, reaching a qualifying disposition is worth far more than it is when the stock has risen, because the cap bites at your real gain rather than at the discount.
The basis fix that stops you paying twice
Your broker reports what you paid on Form 1099-B, not the ordinary income already sitting in your W-2. File that figure unchanged and you are taxed twice on the same money. Your employer issues Form 3922 for every purchase. Box 1 holds the offering date and Box 2 the purchase date, which together decide whether your sale qualifies.
Adjust the basis on Form 8949 using code B, adding the ordinary income already reported, and keep the 3922 with your records. One timing detail catches people out. Ordinary income from a qualifying disposition is not subject to federal withholding, so it arrives as a balance on your return rather than a deduction from your pay.
The $25,000 annual limit, how the lookback sets your purchase price, and the concentration question are covered on the main page.