An employee stock purchase plan can be one of the best deals in a benefits package: you buy your company’s stock at a discount, often with a lookback that sets the price from the lower of two dates. This calculator shows the price you pay, the shares you receive and the return on your contributions if you sell right after the purchase.
How the calculation works
- Total contributions = contribution per pay period × number of pay periods
- Purchase price = (1 − discount) × lower of the start price and the purchase-date price (with lookback), or × the purchase-date price (without)
- Shares = contributions ÷ purchase price
- Value at sale = shares × purchase-date market price
- Gain = value − contributions; return = gain ÷ contributions
- Annualized return = (1 + return)^(12 ÷ months in the period) − 1
Example
You contribute $400 in each of 12 pay periods over 6 months, or $4,800. The stock was $50 at the start and is $60 on the purchase date. With a 15 % discount and a lookback, the price you pay is 0.85 × 50 = $42.50, so you buy 112.9 shares, worth $6,776 at $60. The gain is $1,976, a 41.2 % return in six months, or about 99 % annualized. After a 24 % tax, about $1,502 remains.
Why it matters
A 15 % discount is an instant return of 17.6 % on the money (1 ÷ 0.85 − 1), and a lookback in a rising market can double that. Few investments offer such a return with so little time. The risk is on the other side: if the stock falls after the purchase, you may have a loss on shares you could have avoided buying.
Good to know
Payroll deductions are after-tax. Many plans cap contributions at $25,000 of stock value a year (in fair market value) and allow you to withdraw before the purchase date. Selling quickly avoids holding the concentration risk of owning your employer’s stock. Check the plan document for the offering periods, the lookback, and the holding periods. This tool is for education and is not tax or financial advice.
Related tools
The stock profit calculator computes the gain on a trade, the dollar-cost averaging calculator tracks the average price of regular purchases, and the net worth calculator adds up your assets.