Chapter 5: ESPP: the 15% machine
A 15% discount does not sound like much; grocery coupons do better. But run the numbers on a typical employee stock purchase plan and that discount becomes a return of at least 17.6% on the day you buy, earned over a six-month stretch, with the worst case decided in your favor by design. The ESPP is the most underused benefit in tech, mostly because nobody walks through the arithmetic. This chapter walks through the arithmetic.
How the machine works
An ESPP lets you buy company stock through payroll deductions at a discount, usually inside a tax-qualified plan under Section 423 of the tax code. You pick a contribution rate, commonly 1% to 15% of pay. Over an offering period, most often six months, that money accumulates out of each paycheck. On the closing day, the plan spends the pile on shares at the discount, typically 15% off, and the shares land in your brokerage account, sellable immediately.
The discount is better than it sounds because of where it is measured from. Pay $85 for a share worth $100 and your gain is 15 divided by 85, which is 17.6%, since the denominator is your cost rather than the sticker price.
Good plans add the feature that turns a nice perk into a machine: the lookback. With a lookback, your purchase price is 85% of the lower of two prices, the share price on the day the offering started or the price on purchase day.
The lookback pays in both directions
Trace both directions, because the lookback's whole charm is that there is no bad direction.
Suppose the stock starts the offering at $100 and rises to $130 by purchase day. The lower of the two prices is the $100 start, so you pay 85% of $100, which is $85, for a share trading at $130. Your gain on day one is $45 on an $85 cost: 53%.
Now suppose the stock falls from $100 to $80 instead. The lower price is now the $80 finish, so you pay 85% of $80, which is $68, for a share trading at $80. Your gain is $12 on a $68 cost: 17.6%. The stock dropped 20% during the offering and you still made 17.6% the day you bought.
You pay $85, the share is worth $130, and the lookback captured the climb.
You pay $68, the share is worth $80, and the discount held its floor.
That floor is the design. As long as you sell promptly, the discount plus the lookback means your purchase-day gain never lands below 17.6%, whatever the stock did during the offering. The real risk begins after the purchase, in the days or months you choose to keep holding the shares.
The calculator below runs your own plan: contribution rate, discount, lookback, and both price directions.
The $25,000 limit
The IRS caps qualified ESPP purchases at $25,000 of stock per employee per calendar year, measured at the offering-start price rather than at what you paid. At a 15% discount, that works out to at most $21,250 of contributions in a year, and many plans set their own caps a bit differently or lower. Anything you contribute beyond what the cap can spend comes back as a cash refund at purchase. The cap is why this chapter calls the ESPP a machine instead of a fortune: it produces a bounded, repeatable gain measured in thousands of dollars a year, every year you keep it running.
Qualifying or disqualifying: the label on your profit
When you sell ESPP shares, the IRS sorts the sale into one of two labels. A qualifying disposition requires holding the shares at least two years past the offering start and at least one year past the purchase. Anything sooner is a disqualifying disposition. The label decides how much of your profit counts as wages and how much as capital gain.
Disqualifying is the simple label: the spread on purchase day, market value minus what you paid, is ordinary wages reported on your W-2 in the year you sell, and anything that happens after purchase day is capital gain or loss on top. Qualifying is the friendlier label: the wage portion shrinks to the lesser of your actual profit or the discount measured at the offering-start price (15% of $100 is $15 a share in our example), and everything else becomes long-term capital gain.
The table works one example of each, on 100 shares from the rising offering above (bought at $85 while the stock traded at $130), for an employee in the 24% bracket with a 15% long-term capital gains rate.
| 100 shares, bought at $85 | Disqualifying: sell on purchase day at $130 | Qualifying: sell at $150, 18 months after purchase |
|---|---|---|
| Purchase cost | $8,500 | $8,500 |
| Sale proceeds | $13,000 | $15,000 |
| Total profit | $4,500 | $6,500 |
| Taxed as wages | $4,500 | $1,500 |
| Taxed as long-term capital gain | $0 | $5,000 |
| Federal tax | $1,080 | $1,110 |
| Profit kept after tax | $3,420 | $5,390 |
Both columns sum cleanly: wages plus capital gain equals the total profit, and tax comes off at 24% on the wage piece and 15% on the long-term piece. Two details deserve a second look. First, employers usually do not withhold tax on the wage portion of an ESPP sale, so set the cash aside yourself. Second, the qualifying seller's extra $1,970 mostly came from the stock happening to rise during the 18-month wait. Sell those same shares at $150 one day too early and the disqualifying tax is $1,560 instead of $1,110, so the label itself was worth $450. Eighteen months of single-stock risk is the price of that $450. A qualifying sale at a loss, for completeness, produces no wage income at all, only a capital loss.
Sell immediately, and write it down
Selling on purchase day is the default this guide recommends, plainly and on purpose. An immediate sale locks in the 17.6% or better purchase-day gain, accepts the disqualifying label and the ordinary tax on the discount, and frees the cash for your real portfolio. The discount was the prize, and you collected it.
Max the plan, sell the same day, move the cash
Contribute as much as your budget genuinely allows, up to the cap. Sell on purchase day. Send the proceeds to your tax set-aside and your index funds. Holding for qualifying treatment can make sense in a narrow case: the dollars are small, your bracket is low, you hold little other employer stock, and the shares would pass the cash test from chapter 1. For most people already carrying RSUs and a salary from the same company, 18 extra months of employer exposure is a high price for a few hundred dollars of tax.
Treat the ESPP as a machine with two settings: contribute the maximum you can afford, and sell on purchase day. Any decision to hold past purchase is a new stock purchase, and it must pass the cash test in writing before purchase day arrives.
The cash-flow squeeze
The ESPP's only real cost is timing. Your paycheck shrinks by the contribution for six months before any shares appear, and rent does not wait for purchase day. The money is never lost (it returns as shares worth more than you put in, or as a refund if you leave the company mid-offering or the cap kicks in), but it is locked away while the offering runs. So fund the ESPP from genuine surplus, never from your emergency fund, in the order of operations the Finvest Personal Finance Guide lays out. If the contribution rate you can truly afford is 4%, run the machine at 4%; a smaller discount collected every six months still beats a larger one never collected.
Maya sets her contribution at 10% of her $220,000 salary, and the plan's cap trims her to $21,250 a year. Every six months her contributions buy shares at the lookback price, and a standing order sells them the same week; the proceeds top up her tax set-aside and her index funds. In a flat year the machine hands her about $3,750 before tax, and in a year like the $100 to $130 path it hands her several times that. She describes the ESPP in one sentence: a guaranteed raise she has to remember to claim twice a year.
Where people go wrong
- Never enrolling. The enrollment window passes, and a near-certain 17.6% goes uncollected year after year.
- Holding by default. ESPP shares pile on top of RSUs and salary from the same company. The discount was the point; concentration is the cost of forgetting it.
- Selling after a drop without checking the labels. A disqualifying sale still owes wages on the purchase-day spread even if the price has since fallen; the drop becomes a separate capital loss. The two labels can split in painful ways.
- Confusing the discount with the return. A 15% discount is a 17.6% gain, and the lookback can push it far higher. Underestimating the machine is how it gets skipped.
- Contributing money needed for essentials. Six months is a long squeeze. The Personal Finance Guide's reserve comes first.
Key takeaways
- A 15% ESPP discount is a 17.6% gain at purchase, because you measure the gain against the $85 you paid.
- The lookback wins in both directions: $100 to $130 means buying at $85 for a 53% gain; $100 to $80 means buying at $68 for 17.6%.
- The IRS caps purchases at $25,000 of stock a year at the offering-start price, roughly $21,250 of contributions at a 15% discount.
- Disqualifying sales tax the purchase-day spread as wages; qualifying sales (two years from offering start, one from purchase) shrink the wage piece to the offering-date discount. In the worked example the label was worth $450 on a $6,500 profit.
- Sell on purchase day by default, fund contributions from surplus only, and let the machine run every offering.
Sources: IRS: Publication 525, Taxable and Nontaxable Income · IRS: Publication 550, Investment Income and Expenses · SEC Investor.gov: Employee Stock Plans · Finvest Personal Finance Guide