ESPP Calculator
How your ESPP is taxed with your own numbers: the split between ordinary income and capital gain, the tax under a qualifying and a disqualifying disposition side by side, and what holding the shares is worth against selling at purchase.
Your Plan
Share Prices
Tax
Results
Enter your plan terms and share prices to see the after-tax outcome, the split between ordinary income and capital gain, qualifying against disqualifying at the same price, and how holding compares with selling at purchase.
State tax is applied as a flat rate to both ordinary income and capital gain. Payroll tax does not apply to ESPP bargain elements, unlike non-qualified stock options. Results are illustrative. Confirm your plan's specific terms in its prospectus before acting.
Why an ESPP is usually worth participating in
A 15% discount is a large return on a short holding period, and the lookback provision makes it larger still. Because contributions accumulate over the offering period rather than being committed up front, your average money at risk is roughly half the total contributed, which is why the annualized figure this calculator reports is higher than the headline discount.
The lookback is the part people undervalue. With one, your purchase price is the discount applied to the lower of the price at the start of the offering period and the price on the purchase date. If the stock rose from $40 to $50 over six months, a 15% discount with lookback buys at $34 rather than $42.50, and you own a $50 share. Without the lookback you would only capture the 15%.
Qualifying and disqualifying dispositions
This is where the tax gets genuinely counterintuitive, and where most ESPP advice is too vague to act on.
A qualifying disposition requires holding more than two years from the offering date and more than one year from the purchase date. Your ordinary income is then the lesser of the discount calculated on the offering-date price, or your actual total gain. Everything above that is long-term capital gain.
A disqualifying disposition is any sale before both of those are satisfied. The full bargain element at purchase, meaning the market value on the purchase date less what you paid, becomes ordinary income. Anything beyond it is capital gain, long or short depending on how long you held from purchase.
The trap: waiting for qualifying treatment converts only part of the gain to capital gains rates, and it requires holding concentrated stock in your own employer for two years or more to do it. In a lot of scenarios the tax saved is smaller than the risk taken. Run both cases in the calculator above before deciding.
For the same plan walked through four sales with dollar figures, including the falling-market case where a disqualifying sale produces taxable wages on a real loss, see how an ESPP is taxed.
The $25,000 limit
The tax code caps ESPP purchases at $25,000 of stock per calendar year, measured at the undiscounted market value on the offering date rather than what you actually pay. It is a common surprise for higher earners who set their contribution rate at the plan maximum and find their contributions refunded. The calculator applies the cap and tells you when it bound.
The risk nobody puts on the statement
Participating is close to a straightforward decision. Holding afterwards is not. Shares from an ESPP concentrate your financial life in a single company that already pays your salary, so a bad outcome arrives as a portfolio loss and an income shock at the same time.
A useful test: if the same amount arrived as a cash bonus, would you buy your employer's stock with all of it? If not, selling at or near purchase and diversifying the proceeds is the consistent answer. If your compensation also includes options, our article on how non-qualified stock options are taxed covers the parallel decision, and the two are best planned in the same tax year rather than separately.
ESPP questions
How is an ESPP taxed?
In two parts. The discount you receive is ordinary income, and any movement in the share price beyond that is a capital gain or loss. How much falls into each bucket depends on how long you hold. In a disqualifying disposition the full bargain element at purchase is ordinary income. In a qualifying disposition the ordinary income is the lesser of the discount calculated on the offering-date price or your actual total gain, with the remainder taxed as long-term capital gain.
What is a qualifying disposition?
A sale made more than two years after the offering date and more than one year after the purchase date. Satisfying both converts part of your gain from ordinary income to long-term capital gains rates. Selling before either date is a disqualifying disposition.
Should I hold my ESPP shares for the tax benefit?
Often not. Waiting for qualifying treatment converts only part of the gain to capital gains rates, and it requires holding concentrated stock in your own employer for two years or more to do it. Because your salary already depends on that company, a bad outcome arrives as a portfolio loss and an income shock at once. Run both cases in the calculator and compare the tax saved against the risk taken.
What is a lookback provision?
A plan feature that sets your purchase price using the lower of the share price at the start of the offering period and the price on the purchase date, before applying the discount. It is worth a great deal in a rising market. With a fifteen percent discount and a lookback, a stock that moved from $40 to $50 is bought at $34 rather than $42.50.
What is the $25,000 ESPP limit?
The tax code caps purchases at $25,000 of stock per calendar year, measured at the undiscounted market value on the offering date rather than what you actually pay. Higher earners who set their contribution rate at the plan maximum are sometimes surprised to have contributions refunded. The calculator applies the cap and tells you when it binds.
Do I pay payroll tax on ESPP income?
No. Unlike non-qualified stock options, the bargain element in a Section 423 ESPP is not subject to Social Security and Medicare tax. It is still ordinary income for income tax purposes, and your employer may not withhold on it, which can leave a balance due at filing.
Related tools and reading
The pieces that sit either side of this one.
How an ESPP Is Taxed
Four sales of the same shares with the numbers worked through, and the 1099-B basis error that double-taxes the discount.
Read the article →How Stock Options Are Taxed
The parallel decision for options, including the 1099-B basis error that double-taxes the spread.
Read the article →Tax Savings Estimator
Put the ordinary income from a disqualifying sale against your wider tax position.
Open the tool →Net Worth Calculator
Check how much of your net worth is now concentrated in one company.
Open the tool →