ESPP Return Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Understanding ESPP returns (what this calculator estimates)

An Employee Stock Purchase Plan (ESPP) typically lets you buy your employer’s stock using payroll deductions, usually at a discount to the market price. The discount creates an instant “discount-only” gain on the purchase date (because you pay less than the market value). If you hold the shares after purchase, your final result also depends on how the stock price moves between the purchase date and your sale date.

This calculator focuses on the core math most people want when deciding whether to participate or when sanity-checking a purchase: purchase price after discount, shares acquired from your contribution amount, the value at market price (or your sale price), and the resulting gain/loss.

Inputs

Formulas used

Convert the discount percent to a decimal: d = Discount% / 100.

Discounted purchase price

Purchase Price = P × (1 − d)

Pp=P×(1d)

Where P is the market price input and d is the discount as a decimal.

Shares purchased

Shares = C / (P × (1 − d))

Where C is your contribution amount.

Value, proceeds, and profit

How to interpret the results

Worked example

Assume:

1) Purchase Price = 100 × (1 − 0.15) = $85

2) Shares = 2,000 / 85 = 23.5294 shares (if fractional shares are allowed)

3) Discount-only gain (immediate sale at $100):

4) If you instead sell later at S = $110:

5) If the stock drops and you sell at S = $80:

Quick comparison: immediate sale vs holding

Scenario Sale Price (S) What drives the result Typical use
Immediate sale S = Market Price (P) Mostly the discount (and any fees/taxes not included here) Estimating the plan’s “baseline” benefit and cashflow
Hold then sell S you enter Discount + stock movement after purchase Testing outcomes under different future price assumptions
Break-even holding outcome S that makes Profit = 0 How far price can fall before you lose money Risk-checking a holding strategy

Assumptions & limitations (important)

For the most accurate estimate, confirm your plan’s purchase price basis (lookback or not), rounding rules, and any fees in your ESPP documentation, then match the inputs accordingly.

Enter values to estimate gains.

Embed this calculator

Copy and paste the HTML below to add the ESPP Return Calculator - Employee Stock Purchase Plan Gains to your website.