ESPP Tax Calculator United States
This ESPP tax calculator estimates the tax on selling ESPP shares, splitting ordinary income from capital gain for qualifying and disqualifying dispositions.

What it does
The ESPP Tax Calculator estimates the tax on selling shares bought through an Employee Stock Purchase Plan, splitting the result into ordinary income and capital gain.
Data sources & parameters
The figures below drive this calculator. We keep them aligned with the latest official guidance, and each result recalculates automatically whenever a value changes.
| Parameter | Value | Source | Last updated |
|---|---|---|---|
| ESPP maximum statutory discount | 0.15 | law.cornell.edu | Effective 2026-01-01ESPP maximum statutory purchase discount (15%) |
| ESPP annual purchase limit (Section 423) | 25,000 | law.cornell.edu | Effective 2026-01-01ESPP Section 423 annual purchase limit (statutory) |
We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.
The formula
Qualifying: ordinary income = min(actual gain, discount x offering price); remainder = long-term capital gain. Disqualifying: ordinary income = purchase FMV minus purchase price; remainder = capital gain.
How it works
It applies the plan discount (capped at the statutory maximum) with the lookback purchase price, then divides your gain into ordinary income and capital gain under the qualifying or disqualifying disposition rules.
Where it is used
- Estimating tax on an ESPP sale
- Comparing qualifying vs disqualifying dispositions
- Planning when to sell ESPP shares
Worked example
On 1,000 shares in a qualifying disposition, ordinary income is … and capital gain … — total tax …, leaving an after-tax profit of ….
What the ESPP tax calculator does
An Employee Stock Purchase Plan, or ESPP, lets you buy your employer’s stock at a discount, often up to 15%, sometimes with a lookback that applies the discount to the lower of the offering-date and purchase-date prices. The discount creates a tax bill when you sell. This ESPP tax calculator estimates that bill and shows how it splits between ordinary income and capital gain.
Ordinary income is taxed at your marginal income tax rate, while long-term capital gain is usually taxed at a lower rate. How much of your profit falls into each depends on the type of disposition, which depends on how long you held the shares.
Qualifying versus disqualifying dispositions
A sale is a qualifying disposition when you have held the shares more than two years from the offering (grant) date and more than one year from the purchase date. The ordinary income is then the smaller of your actual gain from purchase price to sale price and the plan discount measured on the offering-date price. Anything above that is long-term capital gain.
A sale is a disqualifying disposition when you sell before meeting both holding tests. The whole bargain element at purchase, the purchase-date fair market value minus the price you paid, is taxed as ordinary income in the year of sale. Your cost basis steps up to that purchase-date value, and any further price change from purchase to sale is a capital gain or loss.
The same shares can therefore produce noticeably different tax depending only on the sale date, so watch the holding-period dates before selling.
How the calculation works
- It applies your plan discount, capped at the 15% maximum, to the lookback price to find your purchase price per share.
- It works out ordinary income per share under the qualifying or disqualifying rule you select.
- It treats the remaining profit as capital gain.
- It multiplies each amount by the number of shares and applies your ordinary income and capital gains tax rates.
You enter your marginal ordinary rate and your capital gains rate, since both depend on your total income and filing situation. The discount cap and the annual purchase limit are stored as parameters.
The offering price, purchase price, and lookback
The offering-date price is the share price when the offering period began. The purchase-date price is the fair market value when the plan bought the shares. With a lookback, the discount applies to the lower of the two, so the benefit is larger when the stock rises during the offering period. Your purchase price is the discounted lookback price, and the gap between the shares’ value and that price is where the tax arises, so enter these prices accurately.
The annual purchase limit
Section 423 plans cap purchases at $25,000 of stock per calendar year, measured at the offering-date price, not the discounted price you pay. The calculator shows the maximum number of shares that allows at your offering price, which helps when deciding how much salary to contribute.
Reading your result
The output separates ordinary income from capital gain, shows the tax on each and the total, and reports your purchase price per share, your after-tax profit and an effective tax rate on the profit. A disqualifying disposition usually costs more because more of the profit is ordinary income. Run both scenarios when deciding whether to hold for a qualifying disposition; holding longer can lower the tax but keeps your money in a single stock.
Common mistakes to avoid
The first is paying tax twice on the discount. It is already taxed as ordinary income, but brokerages often report a cost basis equal to the discounted purchase price, which counts the discount again as capital gain unless you adjust the basis on your return. The ordinary-income figure the calculator shows is the amount to add to that basis.
The second is treating a concentrated ESPP position as safe. Your paycheck and your investment depend on the same company, and holding for a qualifying disposition keeps that concentration longer. Weigh the tax saving against the risk of a single stock, and confirm the details with a tax professional before selling.
This is general information only and not tax advice.
About This ESPP Tax Calculator
Use this ESPP tax calculator to get an instant, accurate estimate. The figures follow official IRS guidance and every rate and threshold is kept up to date for 2026. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.
Tax year 2026

