ESPP Maximization: The Math on a Qualified 15% Discount with Lookback
By VestedGrant Editorial · Updated · Tax year 2026 · 7 min read
Charles François Daubigny, The Marsh, 1871 A Section 423 ESPP can price shares at 85% of the lower of the offering-date and purchase-date values, so a same-day sale returns at least 17.6% on the cash paid. Purchases are limited to $25,000 of stock per calendar year at offering-date value, which is $21,250 of contributions when the price is flat. The discount is taxed as ordinary income but owes no Social Security or Medicare tax.
Facts checked November 21, 2026 · Figures for tax year 2026 · 5 sources
Key takeaways
- Section 423 sets a maximum 15% discount and a $25,000 annual purchase limit measured at offering-date fair market value; it does not set a 15%-of-pay contribution cap, which comes from each plan.
- With a $100 offering price and a flat stock, the $25,000 limit allows 250 shares a year, which cost $21,250 at $85 and are worth $25,000 at purchase, a $3,750 gain.
- A same-day ESPP sale is a disqualifying disposition, and IRS Publication 525 says the full purchase-date spread is ordinary income.
- A qualifying disposition needs more than 2 years from the offering date and more than 1 year from purchase, and caps ordinary income at the offering-date discount.
- Section 3121(a)(22) excludes ESPP income from Social Security and Medicare wages, whichever way the shares are sold.
On this page (show sections)
- How does a qualified Section 423 ESPP work?
- How does the ESPP lookback change the price?
- What does a high ESPP contribution cost in cash flow?
- How is a same-day ESPP sale taxed?
- How is a qualifying ESPP disposition taxed?
- How do the tax rates compare for holding versus selling?
- How does the $25,000 limit bite when the stock rises?
- Questions people ask next
- Sources
A Section 423 employee stock purchase plan with a 15% discount and a lookback is one of the few parts of a tech compensation package where the return at purchase can be calculated in advance. Selling on the purchase date returns at least 17.6% on the cash paid, and much more when the stock rises during the offering. Because payroll contributions build up over the offering, the average dollar is invested for about half the period, so the return on the average balance is higher still.
Employees lose part of that value in three common ways: contributing below the plan’s ceiling, misreading the qualifying-disposition rules, or holding the shares through a price drop. The rules sit in Section 423 of the Internal Revenue Code, and the arithmetic follows from them.
This guide covers the mechanics, the cash-flow cost of high contributions, the hold-or-sell choice and the tax treatment of qualifying and disqualifying dispositions.
How does a qualified Section 423 ESPP work?
A qualified Section 423 ESPP lets employees buy company stock through payroll deductions at a discount of up to 15%, with tax rules set by statute. The statutory rules that shape the math are:
- Discount. The price can be no lower than 85% of the fair market value at the offering date or at the purchase date, so the maximum discount is 15%.
- Annual limit. Under Section 423(b)(8), an employee can buy no more than $25,000 of stock per calendar year, measured at the offering-date fair market value.
- Broad eligibility. The plan must cover employees generally. Section 423(b)(4) lets a plan exclude employees with under 2 years of service, part-time and seasonal employees, and highly compensated employees. Anyone owning 5% or more of the company cannot participate.
- Uniform terms. Section 423(b)(5) allows purchase rights to bear a uniform relationship to pay, which is why many plans set their ceiling as a percentage of salary. The percentage comes from the plan, not the statute.
An offering period is often six months, though Section 423 allows a lookback offering of up to 27 months. During the offering, payroll deducts the elected percentage of pay into an account that usually earns no interest. On the purchase date the plan uses the balance to buy shares at the discounted price.
How does the ESPP lookback change the price?
The ESPP lookback prices the purchase at up to 15% below the lower of the offering-date price and the purchase-date price. Take an illustrative offering that starts January 1 at $100 and ends June 30 at $130. Without a lookback, the price would be $130 × 0.85 = $110.50. With a lookback, the price is $100 × 0.85 = $85 while the stock trades at $130. The employee buys 34.6% below market and holds a 52.9% gain on the cash paid.
If the stock instead falls to $70 by June 30, the price is $70 × 0.85 = $59.50, still 15% below the purchase-date price. The lookback is asymmetric in the employee’s favor: a rise during the offering adds to the gain, and a fall moves the price down with it.
The asymmetry has one limit. It protects the employee only up to the purchase date. Shares held after purchase carry the full price risk of the stock.
What does a high ESPP contribution cost in cash flow?
A high ESPP contribution costs take-home pay during the offering, because the money is held by the plan until the purchase date. Consider an illustrative employee earning $200,000 in a plan that allows 15% of pay, with a flat $100 stock and two six-month offerings a year. Each offering collects $15,000. The first purchase buys 176 shares at $85 ($14,960), worth $17,600 at offering-date value. The $25,000 limit then leaves room for only 74 more shares that calendar year, so the second purchase spends $6,290 and the rest of that offering’s contributions is refunded.
During the offering the cash cannot be spent, and in most plans withdrawing it means leaving the offering. For employees with tight cash flow, that is a real constraint.
The offset is the discount. With a flat stock, $21,250 of contributions buys 250 shares worth $25,000, a gain of $3,750. If the stock rises 20% during each offering, the same 250 shares are worth $30,000 at purchase, a gain of $8,750.
With a lookback and a sale on the purchase date, the employee does not lose money on the shares themselves: the price is always at least 15% below the purchase-date value. The cost is the forgone return on the cash while it waits for the purchase.
How is a same-day ESPP sale taxed?
A same-day ESPP sale is taxed as a disqualifying disposition, and the purchase-date spread is ordinary income. IRS Publication 525 says that when the holding periods are not met, ordinary income is the stock’s fair market value at purchase minus the price paid, and that amount is not limited to the gain on the sale. Any price change between purchase and sale is a short-term capital gain or loss, usually small for a same-day sale.
The ESPP ordinary income is excluded from Social Security and Medicare wages under Section 3121(a)(22), so it owes federal and usually state income tax but no FICA.
The same rule applies to any disqualifying disposition, meaning a sale within 2 years of the offering date or within 1 year of purchase. A disqualifying sale held for more than a year after purchase (possible in a long offering) turns any post-purchase gain into long-term capital gain, but the full purchase-date spread is still ordinary income.
How is a qualifying ESPP disposition taxed?
A qualifying ESPP disposition, a sale more than 2 years after the offering date and more than 1 year after purchase, caps ordinary income at the lesser of the offering-date discount or the actual gain, according to Publication 525. Everything above that is long-term capital gain.
| Scenario | Offering price | Purchase-date value | Price paid | Sale price | Ordinary income | Capital gain |
|---|---|---|---|---|---|---|
| Same-day sale | $100 | $100 | $85 | $100 | $15 | $0 |
| Disqualifying, later sale | $100 | $100 | $85 | $120 | $15 | $20 |
| Qualifying, stock up | $100 | $100 | $85 | $180 | $15 | $80 long-term |
| Qualifying, small gain | $100 | $100 | $85 | $90 | $5 | $0 |
| Disqualifying, lookback spread | $100 | $130 | $85 | $130 | $45 | $0 |
| Qualifying, lookback spread | $100 | $130 | $85 | $130 | $15 | $30 long-term |
The last two rows show where a qualifying disposition matters most. When the stock rose during the offering, a disqualifying sale makes the whole $45 spread ordinary income. A qualifying sale at the same price makes only $15 ordinary and $30 long-term capital gain.
For a six-month offering, a qualifying disposition means holding for at least 18 months after purchase, so the shares stay exposed to the stock for that time.
How do the tax rates compare for holding versus selling?
The tax gap between holding and selling depends on the seller’s brackets for 2026. At the top, ordinary income is taxed at 37% (from $640,600 of taxable income for a single filer in 2026), while long-term gains are taxed at 20% (from $545,500). The 3.8% net investment income tax applies to capital gains above $200,000 of modified AGI for a single filer, but not to ESPP compensation income.
On the lookback row in the table, the $30 that becomes long-term capital gain in a qualifying sale is taxed at 23.8% instead of 37%, a saving of 13.2 percentage points, or $3.96 per share. Post-purchase growth is a separate matter: once the shares are held more than a year after purchase, that growth is long-term capital gain under either type of sale.
The trade-off is risk. Holding for 18 months or more concentrates savings in one stock, often the same employer that pays the salary and grants the RSUs. Selling at purchase captures the discount and the lookback spread at ordinary rates and removes that exposure. Some employees split each purchase, selling part at purchase and holding part for a qualifying disposition; the split decides how much of the spread is exposed to price risk.
How does the $25,000 limit bite when the stock rises?
The $25,000 limit is measured at the offering-date price, so a rising stock does not shrink it. With an offering-date price of $100, the limit is 250 shares per calendar year whatever the stock does afterward. Those 250 shares cost $21,250 at $85.
If the stock doubles to $200 during the offering, the employee still buys 250 shares at $85, now worth $50,000 at purchase. The limit is fixed at 250 shares because it uses the $100 offering price, which is why a lookback plan is most valuable when the stock climbs.
When the offering-date price is higher, the limit allows fewer shares: at a $125 offering price it is 200 shares. Some plans with long offerings include a reset, moving employees into a new offering at a lower price if the stock falls below the original offering price. A reset lowers the purchase price and raises the share count the $25,000 limit allows. Whether a plan has a reset, and how often it purchases, appears in the plan document.
The ESPP calculator models the gain for a given contribution, discount, offering-date price and purchase-date price.
Questions people ask next
Is the ESPP discount free money?
The ESPP discount is close to it on the purchase date but not free of tax. A same-day sale captures the full discount as ordinary income with little price risk. At a 37% federal rate, a 15% discount on market value keeps 9.45 points after federal tax, which is an 11.1% after-tax gain on the cash paid, before state tax and without Social Security or Medicare tax.
Can I contribute more than 15% of my pay to an ESPP?
The contribution ceiling comes from the plan document, not from Section 423. Section 423 caps the discount at 15% and limits purchases to $25,000 of stock per calendar year at offering-date value, and it lets a plan tie purchase rights to pay. Many plans express their ceiling as a percentage of pay; the plan document states the figure and any share-count limit.
Do I pay Social Security and Medicare tax on the ESPP discount?
No. Section 3121(a)(22) of the Internal Revenue Code excludes from FICA wages any remuneration from the transfer of shares under a Section 423 employee stock purchase plan or from their later disposition. The ESPP ordinary income is still subject to federal income tax, and usually to state income tax, when the shares are sold.
What happens to ESPP contributions if I leave mid-offering?
Section 423(a)(2) requires the participant to be an employee from the grant date until 3 months before the purchase for the shares to get Section 423 treatment, and plans set their own rules for departures. Many plans refund the accumulated contributions without interest when employment ends before the purchase date. The plan document says whether a refund or a final purchase applies.
What happens to an ESPP purchase during an IPO lock-up?
An ESPP purchase can fall while an IPO lock-up agreement or a closed trading window is in force. The plan document decides whether the purchase goes ahead, and the lock-up or insider trading policy decides when the shares can be sold. If the purchase happens but the shares cannot be sold, the employee carries the stock's price risk until the restriction ends, and a same-day sale is not available.
Sources
- 26 U.S.C. § 423 (Employee stock purchase plans)uscode.house.gov
Supporting text
(A) an amount equal to 85 percent of the fair market value of the stock at the time such option is granted, or
- Rev. Proc. 2025-32irs.gov
Supporting text
Over $640,600 $192,979.25 plus 37% of the excess over $640,600
- IRS Topic no. 559, Net investment income taxirs.gov
Supporting text
A 3.8 percent net investment income tax (NIIT) applies to individuals, estates, and trusts that have net investment income above applicable threshold amounts.
- IRS Publication 525, Taxable and Nontaxable Income (ESPP, holding period not satisfied)irs.gov
Supporting text
your ordinary income is the amount by which the stock’s FMV when you exercised the option exceeded the option price. This ordinary income isn’t limited to your gain from the sale of the stock.
- 26 U.S.C. § 3121(a)(22), FICA exclusion for ESPP stockuscode.house.gov
Supporting text
pursuant to an exercise of an incentive stock option (as defined in section 422(b)) or under an employee stock purchase plan (as defined in section 423(b)), or (B) any disposition by the individual of such stock
Facts checked November 21, 2026 · Tax year 2026
Find a fee-only advisor for your equity
Four questions. You see up to three fee-only advisors listed on Wellspent whose records include equity compensation, right here. Free, no obligation.
- What happens next: your matches appear on this page straight away. Advisors are not sent your details: you open a record and contact the advisor yourself.
- What is shared: your email stays with VestedGrant and is not passed to advisors. The advisor directory (Wellspent) receives your state and topic; an AI model ranks the matches from your answers, without your email. Details in the privacy policy.
Finding fee-only advisors for your answers…
Three advisors picked for your situation
Each is a fee-only advisor listed on Wellspent whose record includes equity compensation. Open a record to see how they work and to contact them directly. No referral fees either way.
No advisor matched those details yet
Try again with "Other / outside the US" as the state, or browse equity-compensation advisors on Wellspent.