Account

What new tool do you want?

Investing & Retirement

ESPP Calculator

Estimate the gain from an employee stock purchase plan (ESPP) with a discount and lookback provision, and your return on the money contributed.

For information and education only — not financial advice. Results are estimates based on the numbers you enter; check important decisions with a qualified professional.

How to use

  1. 1Enter your contribution for the offering period and the plan discount.
  2. 2Enter the share price at the start and end of the period, and whether the plan has a lookback.

How it's calculated

Purchase price = (lower of start and end price if lookback, else end price) × (1 − discount). Shares = contribution ÷ purchase price. Gain if sold immediately = shares × end price − contribution.

Frequently asked questions

What is a lookback?

The discount applies to the lower of the price at the start or end of the offering period, which can make the gain much larger if the stock rose.

How is ESPP taxed?

It depends on whether it's a qualifying or disqualifying disposition. Part of the gain is ordinary income; check your plan documents and a tax adviser.

Should I sell right away?

Many people sell immediately to lock in the discount and avoid concentration risk in their employer's stock.

Why a lookback provision can turn a modest discount into a large guaranteed gain

A standard ESPP discount (commonly 15%) applies to the purchase-date price — but a lookback provision instead applies that same discount to whichever price was lower, the start or the end of the offering period, which means if the stock rose significantly during the period, the effective discount relative to the current price can be far larger than the stated 15%, since you're buying at a discount off the lower, earlier price while the stock is now worth the higher, later price.

Worked example: ESPP Calculator

A $6,000 contribution with a 15% discount and lookback, where the stock rose from $40 at the start of the period to $50 at purchase: the purchase price locks in at 85% of the lower $40 starting price — $34 per share — buying 176.47 shares worth $50 each at the end, for proceeds of $8,823.53 and a $2,823.53 gain, a 47.06% return on the contribution. The identical scenario without a lookback provision instead applies the 15% discount to the $50 end price, for a $42.50 purchase price — still profitable, but only a 17.65% return, less than half the lookback version's gain.

Why most financial advisers suggest selling ESPP shares immediately

The gain from the discount (and any lookback benefit) is locked in the moment shares are purchased — continuing to hold the shares afterward adds pure stock-price risk on top of an already-concentrated bet on a single company's stock (the same company that pays your salary), without adding to the already-realized discount gain. Selling immediately converts the guaranteed discount into cash and avoids doubling down on employer-specific risk, which is why it's a common default recommendation even though it means giving up any further upside in the stock.

Why how long you hold the shares changes how the gain is taxed

This calculator shows the economic gain if sold immediately at purchase, but the actual tax treatment depends on whether the eventual sale is a 'qualifying' or 'disqualifying' disposition under IRS rules, which hinges on holding the shares for specific minimum periods after the offering date and purchase date. A qualifying disposition shifts more of the gain into favorably taxed long-term capital gains; a disqualifying one (including selling immediately, as this calculator assumes) taxes more of the discount portion as ordinary income — worth checking against your specific plan rules and a tax adviser.

Related tools

More: Investing & Retirement