ESPP Discount Value Calculator (Lookback + Sell at Purchase)
Live- Qualifying-disposition vs disqualifying-disposition treatment changes the tax outcome if you hold the shares for the holding period (2 years from offering, 1 year from purchase). The figures here assume immediate sale at purchase (disqualifying disposition).
An Employee Stock Purchase Plan (ESPP) lets you buy your employer's stock at a discount (typically 15 percent) using payroll contributions accumulated over an offering period (typically 6 months). The best ESPPs include a lookback feature that prices the purchase at the lower of the offering-start price and the purchase-date price, then applies the discount to that lower number. This combination of discount plus lookback can produce 15 to 30 percent annualised yield on contributions, making ESPP one of the most consistently good employer benefits.
This calculator takes monthly contribution, offering period length, discount percentage, share price at offering start, share price at purchase date, and your marginal tax rate. It returns the shares purchased, the effective per-share price after discount and lookback, the gross discount value, the ordinary tax owed on the discount, and the net gain if you sell at purchase (disqualifying disposition).
A rough sanity check: $1,000 per month for 6 months ($6,000 contribution), 15 percent discount, lookback from $100 to $130 buys 70.6 shares at $85 each. Gross market value at purchase is $9,176, gross discount is $3,176, ordinary tax on the discount portion is about $1,016 at 32 percent marginal, net gain is $2,160, effective yield on the $6,000 contribution is about 36 percent over 6 months. Annualised, that is more than 70 percent risk-adjusted yield, which is essentially unbeatable in any other tax-advantaged vehicle.
The critical decision for ESPP participants is whether to maximise the contribution (typically up to 15 percent of compensation, capped at $25,000 per year) and whether to sell immediately at purchase or hold for the qualifying disposition treatment. The math almost always favors maxing the contribution. The sell-versus-hold decision involves a trade-off between tax treatment and concentration risk.
The lookback feature is the killer benefit
Not all ESPPs are equal. The basic ESPP gives a discount on the purchase-date price. A lookback ESPP gives a discount on the lower of the offering-start price and the purchase-date price. When the stock appreciates during the offering period (the typical case), the lookback dramatically increases the discount.
Example: offering starts at $100, ends at $130, 15 percent discount. Basic ESPP buys at $130 times 0.85, or $110.50 per share. Lookback ESPP buys at $100 times 0.85, or $85 per share. The lookback adds $25.50 of discount per share, or about 23 percent of additional value beyond the headline 15 percent.
More importantly, the lookback eliminates the downside risk during the offering period. If the stock drops from $100 to $80 over the offering period, a basic ESPP buys at $68, the lookback ESPP also buys at $68 (the lower price times the discount), and you immediately own shares worth $80, a 17.6 percent gain. The lookback turns ESPP into an asymmetric bet: large upside when the stock rises, no downside (you still get the discount on whichever endpoint is lower).
Tax treatment: qualifying versus disqualifying disposition
ESPP shares purchased under a Section 423 plan can have one of two tax treatments depending on how long you hold them. A disqualifying disposition (selling before the holding period) treats the discount portion as ordinary income and any appreciation above purchase price as capital gain. A qualifying disposition (selling after the holding period: 2 years from offering start AND 1 year from purchase) treats most of the gain as long-term capital gain rather than ordinary income.
The qualifying disposition can save 10 to 20 percentage points of tax for high earners (long-term capital gains 15 to 20 percent vs. ordinary income 32 to 37 percent at the top marginal rates). However, the qualifying holding period exposes you to 12+ months of single-stock risk, during which the share price can drop substantially.
This calculator models the disqualifying disposition (sell immediately at purchase) for simplicity. For the qualifying disposition path, the tax saving depends on the eventual sale price, which is unknown today. Most ESPP optimisers recommend selling at purchase to lock in the discount value and diversify, accepting the slightly higher tax bill in exchange for risk reduction.
How much should you contribute?
The federal limit on ESPP contributions is $25,000 per year of fair-market-value purchases (not contributions, which is a subtle distinction in practice). For most employees the binding constraint is the company-specific contribution percentage limit (typically 10 to 15 percent of compensation). If your employer offers an ESPP with a 15 percent discount and a lookback, max your contribution. The yield on contributions is so high that it dominates almost any other use of the money during the offering period, including paying down high-interest debt.
The one exception is severe cash-flow constraint: ESPP payroll contributions are after-tax dollars that you do not have access to during the offering period (typically 6 months). If you would otherwise miss a credit-card payment or fail to fund essential expenses, ESPP contributions are not appropriate. For employees with stable cash flow and an adequate emergency fund, max the contribution.
What this calculator does not include
Qualifying disposition tax treatment (the calculator assumes sale at purchase). The Section 423 plan rules for non-Section 423 plans (some employer ESPPs do not qualify for the tax-favored treatment). State tax differences (some states tax ESPP discounts as ordinary income at different rates than federal). FICA tax treatment (ordinary income at vest typically attracts Medicare tax of 1.45 percent and Social Security up to the wage base; some employer plans exclude ESPP from FICA, others include it). The contribution timing within the offering period (the calculator assumes the full contribution accumulates evenly; some plans purchase mid-period). Stock price volatility during the offering period (the calculator uses the two endpoint prices and assumes the lower one is used for the lookback discount basis).
Frequently asked questions
If your ESPP has a 15 percent discount and a lookback, and your cash flow can support 6 months of after-tax payroll deferral, yes. The yield is high enough to dominate almost any other use of the money in the short term. The main exceptions are severe cash-flow constraint and not having an adequate emergency fund.
Related calculators
- Salary & TaxSalary Tax Calculator (US, 2025)Estimate your US take-home pay for 2025 with federal income tax, Social Security, Medicare, state tax, and pre-tax deductions.
- FinanceCompound Interest CalculatorSee how compound interest grows your savings over time, with optional monthly contributions and adjustable compounding frequency.
- FinanceSavings CalculatorProject the balance of any savings account with a starting amount, monthly deposits, and a chosen interest rate. See what you accumulate over time.
- Salary & TaxRSU Vesting Calculator (Net Value After Tax)Estimate the vested portion of a Restricted Stock Unit grant, the projected share price, and the net value after ordinary-income tax at vest.