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.

ESPP Tax Calculator United States
US$
US$
US$
%
%
%
Total tax —
Ordinary income —
Capital gain —
Ordinary income tax —
Capital gains tax —
Purchase price per share —
After-tax profit —
Effective tax rate —
Max shares under annual limit —
Profit before tax —

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.

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.

ParameterValueSourceLast updated
ESPP maximum statutory discount0.15law.cornell.eduEffective 2026-01-01ESPP maximum statutory purchase discount (15%)
ESPP annual purchase limit (Section 423)25,000law.cornell.eduEffective 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

Frequently asked questions

What does this ESPP tax calculator do?
It estimates the federal tax when you sell shares bought through an Employee Stock Purchase Plan, splitting the result into ordinary income and capital gain depending on whether your sale is a qualifying or disqualifying disposition.
What is the difference between a qualifying and disqualifying disposition?
A qualifying disposition means you held the shares more than two years from the offering date and more than one year from the purchase date. Selling before both tests are met is a disqualifying disposition, which usually creates more ordinary income.
How is the discount taxed?
For a qualifying disposition, ordinary income is the lesser of your actual gain and the discount measured on the offering-date price. For a disqualifying disposition, the full bargain element at purchase is taxed as ordinary income.
What is the 15% ESPP discount limit?
Section 423 plans may offer a discount of up to 15% off the share price. The calculator caps the discount you enter at that maximum, since a larger discount is not permitted under a qualified plan.
What is the $25,000 annual ESPP limit?
Under a Section 423 plan you may buy no more than $25,000 of stock per year, measured at the offering-date price. The tool shows the maximum number of shares that limit allows at your offering price.
Is my data private?
Yes. The entire calculation runs in your browser, so nothing you enter is uploaded, stored, or shared.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *