★ FINANCE · ESPP · GUIDE

How to Calculate Your ESPP Return: A Step-by-Step Guide

A $3,000 contribution at a 15% discount buys 88.2353 shares at $34.00 — sell at $50.00 and you keep $4,162.94 after tax, a 38.76% return. This guide works through the seven steps — lookback, purchase price, shares, value, split, tax, net — with every number checked against the calculator.

What your ESPP actually buys you

An employee stock purchase plan, or ESPP, lets you buy your company’s stock at a discount — usually 15% — with money taken straight from your paycheck. The discount sounds like free money, and it is, but the number that matters is not the discount. It is the amount you keep after tax. A $3,000 contribution at a 15% discount buys 88.2353 shares at $34.00 — sell at $50.00 and you keep $4,162.94 after tax, a 38.76% return. This guide shows you how, in seven steps.

Step 1: Find the lookback price

The lookback is the lower of the share price at the start of the offering period and the share price at the purchase date — your plan gives you the cheaper of the two. Here the grant-date price is $40.00 and the purchase-date price is $45.00, so the lookback is $40.00. If the purchase price had been $38.00, so would the lookback.

Step 2: Work out the purchase price

The purchase price is the lookback minus the discount: purchase price = lookback × (1 − discount). With a $40.00 lookback and a 15% discount, that is $40.00 × 0.85 = $34.00 — $6.00 a share below the lookback. At 10% it would be $36.00, and you would buy fewer shares.

Step 3: Count the shares you buy

Divide your contribution by the purchase price: shares = contribution ÷ purchase price. Here $3,000 ÷ $34.00 = 88.2353 shares. Fractional shares are normal. The count scales with the contribution: $1,500 buys 44.1176 shares, $6,000 buys 176.4706.

Step 4: Value the shares and find the gain

Multiply the shares by the sell price: value = shares × sell price. At $50.00, 88.2353 shares are worth $4,411.76, and the gain is $4,411.76 − $3,000.00 = $1,411.76. It has two parts: the instant discount — the shares were worth $3,970.59 at the purchase price, $970.59 more than you paid — and the rise after purchase, from $45.00 to $50.00. Sell at $40.00 and the value is $3,529.41, the gain only $529.41.

Step 5: Split the gain

The discount is (lookback − purchase price) × shares: ($40.00 − $34.00) × 88.2353 = $529.41. It depends only on the contribution and the discount rate — $3,000 at 15% always gives $529.41, whatever the sell price. The capital gain is (sell price − lookback) × shares: ($50.00 − $40.00) × 88.2353 = $882.35. The two add up to the gain: $529.41 + $882.35 = $1,411.76. The split matters because the two pieces are taxed at different rates.

Step 6: Work out the tax

Here is the key idea of the whole guide: the discount is taxed as ordinary income even in a qualifying disposition. Holding two years from the grant date and one year from the purchase date makes the sale qualifying — and that only helps the capital-gain piece. The tax is discount × ordinary rate + capital gain × capital-gains rate: $529.41 × 22% + $882.35 × 15% = $116.47 + $132.35 = $248.82. At a 37% ordinary rate the tax would be $328.24; with a 0% capital-gains rate it would be $116.47.

Step 7: Find the net and the return

Net after tax = value − tax: $4,411.76 − $248.82 = $4,162.94. Profit = net − contribution: $4,162.94 − $3,000.00 = $1,162.94. Return = profit ÷ contribution: $1,162.94 ÷ $3,000.00 = 38.76%. Rounding convention: every figure here is rounded to the nearest cent (nearest ten-thousandth for shares) from the exact unrounded value.

The worked example

Contribution $3,000.00; grant $40.00; purchase $45.00; discount 15%; sell $50.00; ordinary 22%; capital-gains 15%; qualifying. Lookback $40.00; purchase price $34.00; shares 88.2353; value $4,411.76; gain $1,411.76; value at purchase $3,970.59; instant gain $970.59; discount $529.41; capital gain $882.35; tax $248.82; net $4,162.94; profit $1,162.94; return 38.76%. Every figure matches the calculator.

Working backwards

To net $5,000.00, contribute $3,603.22 (exact 3603.2217; $3,603.22 → $5,000.00, $3,603.21 → $4,999.98). To profit $1,000.00, contribute $2,579.67 (exact 2579.6662; $2,579.67 → $1,000.0015 unrounded, $2,579.66 → $999.9976). To profit $2,000.00, sell at $61.16 (exact 61.1608; $61.16 → $1,999.94, $61.17 → $2,000.69). To profit $1,500.00, take a 22.46% discount (exact 22.4609%; 22.46% → $1,499.95, 22.47% → $1,500.45). To break even, sell at $34.49 (exact 34.4941; $34.49 → $2,999.69, $34.50 → $3,000.44). Selling at the $34.00 purchase price still loses $37.06 after tax — the discount is taxed as ordinary income even when the shares have not moved. You need $34.49 to walk away whole.

What changes the answer most

The sell price moves the net most: $60.00 → net $4,912.94 (profit $1,912.94); $40.00 → net $3,412.94 (profit $412.94). The discount is next: 10% → purchase price $36.00, shares 83.3333, net $3,968.33, $194.61 less than at 15%. The ordinary rate is third: 37% → tax $328.24, net $4,083.53, $79.41 less than at 22%; 0% capital-gains → tax $116.47, net $4,295.29. The grant price: $30.00 → lookback $30.00, purchase price $25.50, shares 117.6471, net $5,412.94. The purchase price: $38.00 → purchase price $32.30, shares 92.8793, net $4,360.31. The contribution: $1,500 → net $2,081.47; $6,000 → net $8,325.88; zero → zero.

What not to do

Do not count the discount as tax-free — it is ordinary income in every disposition, qualifying or not. Do not assume the purchase price is your break-even — selling at $34.00 still loses $37.06 after tax. Do not forget the lookback: if the purchase price is lower than the grant price, the lookback is the purchase price. Do not hold the shares just to make the sale qualifying if you would rather have the cash.

How this connects

An ESPP is one piece of equity pay. If you also get RSUs, the RSU calculator works out the tax on those the same way — the discount piece of an ESPP and the vesting piece of an RSU are both ordinary income. And the take-home pay calculator shows what the ESPP money means for your monthly budget.

Cite this guideBright Side Kit. “How to Calculate Your ESPP Return: A Step-by-Step Guide” brightoolbox.com, 2026. Method: lookback = lower of grant and purchase prices; purchase price = lookback × (1 − discount); shares = contribution ÷ purchase price; value = shares × sell price; discount = (lookback − purchase price) × shares; capital gain = (sell price − lookback) × shares; tax = discount × ordinary rate + capital gain × capital-gains rate; net = value − tax; return = profit ÷ contribution. Example: $3,000.00 at 15%, grant $40.00, purchase $45.00, sell $50.00, 22% / 15% → lookback $40.00, purchase price $34.00, shares 88.2353, value $4,411.76, gain $1,411.76, discount $529.41, capital gain $882.35, tax $248.82, net $4,162.94, profit $1,162.94, return 38.76%. Key idea: the discount is taxed as ordinary income even in a qualifying disposition. Reverses: $3,603.22 (exact 3603.2217); $61.16 (exact 61.1608); 22.46% (exact 22.4609%); $34.49 (exact 34.4941); $2,579.67 (exact 2579.6662). Selling at $34.00 loses $37.06 after tax. Bright Side Kit. "How to Calculate Your ESPP Return: A Step-by-Step Guide" https://brightoolbox.com/guides/how-to-calculate-espp-return/ Accessed October 25, 2026.

Keep reading: ESPP Calculator · RSU Calculator · Take-Home Pay Calculator

Frequently asked questions

How do I calculate my ESPP return?

In seven steps: lookback, purchase price, shares, value, split, tax, net. The lookback is the lower of the grant and purchase prices ($40.00 here); the purchase price is the lookback minus the discount ($34.00); the shares are the contribution divided by the purchase price (88.2353); the value is the shares times the sell price ($4,411.76); the gain splits into the discount ($529.41) and the capital gain ($882.35); the tax is the discount at the ordinary rate plus the capital gain at the capital-gains rate ($248.82); the net is the value minus the tax ($4,162.94), a 38.76% return on $3,000.00.

Is the ESPP discount taxed?

Yes — as ordinary income, even in a qualifying disposition. The discount of $529.41 is taxed at the ordinary rate of 22%, which is $116.47 of the $248.82 total tax. Only the capital-gain piece, $882.35, gets the 15% capital-gains rate. Holding the shares for two years from the grant date and one year from the purchase date makes the sale qualifying, but it does not change how the discount is taxed.

What is the lookback in an ESPP?

The lower of the share price at the start of the offering period and the share price at the purchase date. Your plan looks back and gives you the cheaper of the two. Here the grant price is $40.00 and the purchase price is $45.00, so the lookback is $40.00. If the purchase price had been $38.00, the lookback would be $38.00 and the purchase price would be $32.30, buying 92.8793 shares instead of 88.2353.

How much do I need to contribute to net $5,000?

$3,603.22. The exact figure is 3603.2217, and at $3,603.22 the net after tax is $5,000.00 (at $3,603.21 it is $4,999.98). To make a $1,000.00 profit you need $2,579.67; to make a $2,000.00 profit you need to sell at $61.16; to make a $1,500.00 profit you need a discount of 22.46%.

What is my break-even sell price after tax?

$34.49. The exact figure is 34.4941; at $34.49 the net is $2,999.69, and at $34.50 it is $3,000.44. Selling at the $34.00 purchase price still loses $37.06 after tax, because the discount is taxed as ordinary income even when the shares have not moved — you need $34.49 to walk away whole.

What if I sell at the purchase price?

You lose $37.06 after tax. Selling at $34.00 gives a value of $3,000.00 and a gain of $0.00 — but the discount of $529.41 is still taxed as ordinary income, and the capital gain is −$529.41, so the tax is $37.06 and the net is $2,962.94. The purchase price is not your break-even; $34.49 is.