Investing
ESPP Calculator
An ESPP buys company stock at a discount, and with a lookback the discount applies to the lower of the price at the start and the end of the offering period. Sold immediately, the return comes from the discount rather than from the stock going up.
Tested against worked examplesHow we verify
Most plans cap this at 15% of pay, and $25,000 of stock a year.
Gain if you sell at purchase: $2,471
Gain if you sell at purchase
$2,471
A 41.2% return on what you contributed.
Selling at purchase locks the discount in and avoids concentration risk. Holding for twelve months converts part of the gain to long-term capital rates, but ties more of your net worth to the company that already pays your salary.
- Total contributed
- $6,000
- Price you pay per share
- $42.50
- Shares purchased
- 141.18
- Market value at purchase
- $8,471
- Annualised return
- 297.24%
- Tax if sold immediately
- $593
- After tax
- $7,878
Set by the lookback — the lower starting price.
Contributions accumulate over the period, so the average dollar is invested for about half of it.
Compare scenariosTry three values of one input
| Annual salary | |||
|---|---|---|---|
| Gain if you sell at purchase | $2,265 | $2,471+$206 | $2,676+$412 |
| Total contributed | $5,500 | $6,000+$500 | $6,500+$1,000 |
| Shares purchased | 129.41 | 141.18+11.77 | 152.94+23.53 |
| Market value at purchase | $7,765 | $8,471+$706 | $9,176+$1,412 |
| Annualised return | 297.24% | 297.24%−0% | 297.24%−0% |
| Tax if sold immediately | $544 | $593+$49 | $642+$99 |
Every other input stays at the value you set above — currently $120,000 for annual salary. Differences are measured against the first column.
Saved scenariosSave this calculation
Saved in this browser only — no account, and nothing is sent to us. Clearing your browser data deletes them.
How this calculator works
Contributions are salary × rate × (offering months ÷ 12). The purchase price is the discount applied to the lower of the two prices when there is a lookback, or to the purchase price alone when there is not. Shares are contributions ÷ purchase price, and immediate gain is market value less contributions. Annualisation uses half the offering period, since contributions accumulate steadily and the average dollar is invested for about half the term.
Whole-share rounding, plan-specific caps, and the $25,000 annual IRS limit are not enforced here. Tax is a single marginal rate applied to the full gain as a disqualifying disposition — the qualifying case splits between ordinary and long-term rates and depends on dates this calculator does not track. Verify against your plan document before deciding.
What this assumes
- The discount and lookback provision you enter. Plans vary — a lookback that prices off the lower of the opening and closing price is worth considerably more than a plain discount.
- It assumes you sell at the price entered. The discount is only realised money once the shares are sold.
- Tax treatment is not modelled in full: the discount is generally taxed as ordinary income, and whether the rest is a qualifying or disqualifying disposition depends on holding periods most participants do not track.
What changes this number
- The lookback provision
- The single largest difference between a good plan and an ordinary one. Pricing off the lower of two dates can multiply the effective discount in a rising market.
- How long you hold after purchase
- Selling immediately locks the discount and removes the risk. Holding for the qualifying period improves the tax treatment but concentrates your savings in your employer's stock.
- Concentration risk
- Your salary and this investment depend on the same company. That is the strongest argument for selling promptly, and it is not a tax argument.
A worked example
Take the 15% discount, price rose scenario. These figures are produced by the calculator above, not written alongside it, so they always match what the tool returns.
What you enter
- Discount
- 15%
- Share price at the start
- $50
- Share price at purchase
- $60
- Lookback provision
- Yes — discount off the lower of the two prices
What it returns
- Gain if you sell at purchase
- $2,471
- Total contributed
- $6,000
- Price you pay per share
- $42.50
- Shares purchased
- 141.18
- Market value at purchase
- $8,471
Selling at purchase locks the discount in and avoids concentration risk. Holding for twelve months converts part of the gain to long-term capital rates, but ties more of your net worth to the company that already pays your salary.
Try an example
Frequently asked questions
Is an ESPP worth it?
A 15% discount with a lookback is one of the highest reliable returns available to an employee. Selling at purchase turns it into roughly 18% on the money — before annualising, and the annualised figure is far higher because contributions are only invested for part of the period.
What is an ESPP lookback?
It applies the discount to the lower of the price at the start of the offering period and the price at purchase. If the stock rose from $50 to $60, you pay 15% off $50 — $42.50 — for shares worth $60. It converts a discount into a much larger gain, and protects you when the price falls.
Should I sell ESPP shares immediately?
Selling at purchase captures the discount with the least risk and avoids concentrating your savings in the company that already pays you. Holding for a qualifying disposition improves the tax treatment but adds a year of single-stock exposure. Most planners favour selling; the tax saving rarely justifies the concentration.
How are ESPP shares taxed?
Sell within two years of the offering date or one year of purchase and it is a disqualifying disposition: the discount is ordinary income, the rest capital gain. Hold past both and it qualifies, with the lesser of the discount or the actual gain taxed as ordinary income and the remainder long-term.
What are the ESPP contribution limits?
The IRS caps purchases at $25,000 of stock value per calendar year, measured at the offering-date price. Plans typically also cap contributions at 15% of pay. Between the two, most participants hit the plan's percentage limit before the dollar one.
What is the risk?
Your salary, your equity and your ESPP all depend on one company. If it struggles, they can fail together — which is exactly what happened to employees who held concentrated positions at Enron and Lehman. The discount is nearly free; the concentration is not.
Related calculators
Capital Gains Tax Calculator
Estimate the tax on an investment sale and what you keep — and compare the long-term rate against the far higher one that applies if you sell too soon.
Bonus and RSU Tax Calculator
See what you actually keep from a bonus or a vesting RSU grant, and whether the flat 22% supplemental withholding leaves you owing more in April.
Investment Calculator
Project an investment portfolio's growth with monthly contributions — final value, your money vs market growth, and the year-by-year path.
Stock Average Calculator
Averaging down on a stock? Enter two purchases to see your new average cost per share, total shares, and total invested — your blended cost basis.
Disclaimer: DayCents provides this calculator for educational purposes only. Results are estimates based on your inputs and the stated assumptions — they are not financial advice, a quote, or an offer of credit. Consult a qualified financial professional before making major money decisions.