ESPP Calculator

ESPP Calculator โ€“ Employee Stock Purchase Plan Returns

ESPP Calculator

Estimate Your Employee Stock Purchase Plan Returns, Tax Impact & Net Gain

No data stored
Instant Results
IRS-Aligned Formula
How to use this calculator: Enter your Grant Date FMV, Exercise Date FMV, choose Discount % or direct Purchase Price, fill in Shares Bought, Sale Price, and Commission. Then open Tax Details and add your Marginal, STCG, and LTCG rates. Hit Calculate โ€” you'll instantly see your income, taxes, and net gain across all three ESPP disposition scenarios. No login needed, nothing stored anywhere.
ESPP Details

ESPP Calculator: Estimate Your Employee Stock Purchase Plan Returns [2026]

Your company gives you the chance to buy its own stock at a 15% discount. You sign up. Payroll deductions start. Six months later, shares land in your brokerage account and you have no idea what you actually made, what taxes you owe, or whether selling right now is even a smart move.

That’s where most ESPP participants get stuck. The discount sounds simple. The tax treatment is not. Between qualifying dispositions, disqualifying dispositions, lookback provisions, and the difference between ordinary income and capital gains tax, the math gets complicated fast.

The ESPP Calculator on this page cuts through all of that. Enter your offering period details, stock prices, contribution rate, and marginal tax rate and get a clear picture of your after-tax return in seconds.

What Is an ESPP Calculator & What Does It Do?

An ESPP Calculator is a tool that estimates how much money you’ll make and how much tax you’ll owe from participating in your company’s Employee Stock Purchase Plan.

Most employees know they’re getting a discount on company stock. What they don’t know is how the IRS taxes that discount differently depending on when they sell. The calculator handles that math automatically.

Here’s what a good ESPP Calculator covers:

  • Purchase price after the ESPP discount (with or without a lookback provision)
  • Gross gain from the stock purchase
  • Tax owed as ordinary income at your marginal tax rate
  • Capital gains tax owed (short-term or long-term) depending on your holding period
  • Net gain and ESPP return on investment after all taxes
  • Qualifying vs disqualifying disposition comparison

If your plan includes a lookback provision meaning your purchase price is based on the lower of the stock price at the start or end of the offering period the calculator factors that in too. That’s the detail most employees miss entirely.

Try Our Share Incentive Plan Calculator

How Is ESPP Value Calculated?

The core formula is straightforward. What changes the outcome is whether your plan has a lookback provision and whether you hold shares long enough for a qualifying disposition.

The ESPP Purchase Price Formula:

Purchase Price = Reference Price ร— (1 โˆ’ ESPP Discount %)

Where Reference Price =
  โ€ข Without lookback: FMV on Purchase Date
  โ€ข With lookback: Lower of (FMV on Offering Date OR FMV on Purchase Date)

Your Gross Gain Formula:

Gross Gain = (Sale Price โˆ’ Purchase Price) ร— Number of Shares

Ordinary Income (Disqualifying Disposition):

Ordinary Income = (FMV on Purchase Date โˆ’ Purchase Price) ร— Shares

Ordinary Income (Qualifying Disposition):

Ordinary Income = Lesser of:
  (a) ESPP Discount % ร— FMV on Offering Date ร— Shares
  (b) Actual Gain = Sale Price โˆ’ Purchase Price ร— Shares

Per IRS Publication 525, the tax treatment of shares acquired through a Section 423 Employee Stock Purchase Plan depends entirely on the holding period and whether a qualifying or disqualifying disposition occurs. The IRS 2026 annual ESPP benefit limit remains $25,000 worth of stock (based on the offering date price) per calendar year.

How to Use the ESPP Calculator (Step-by-Step)

The calculator has two sections: ESPP Details and Tax Details. Fill them in order the whole process takes under 2 minutes.

Section 1: ESPP Details

StepFieldWhat to Enter
1Grant Date Share FMV ($)The stock’s fair market value on the first day of your offering period your grant date. Find this in your equity award history or plan statement.
2Exercise Date Share FMV ($)The stock’s FMV on the day your shares were actually purchased the exercise date. This is on your brokerage confirmation.
3Select: Discount (%) or Price ($)Choose Discount if you know your ESPP discount percentage (e.g. 10% or 15%). Choose Price if you already know the exact purchase price per share.
4ESPP Discount (%)Enter your plan’s discount rate. Most Section 423 plans offer 10โ€“15%. Check your plan document or HR portal.
5Shares BoughtTotal shares purchased in this offering period. Your broker statement shows this after the purchase date.
6Share Sale Price ($)The price per share at which you sold or plan to sell your ESPP shares.
7Commission ($)Any brokerage fee charged on the sale. Enter 0 if your broker charges nothing.

Section 2: Tax Details

Click Tax Details to expand this section before hitting Calculate.

StepFieldWhat to Enter
8Marginal Tax Rate (%)Your federal income tax bracket 10%, 12%, 22%, 24%, 32%, 35%, or 37%. This rate applies to ordinary income from the ESPP discount.
9Short Term Capital Gains Tax Rate (%)Usually matches your marginal tax rate. Applies to gains on shares held 1 year or less after purchase.
10Long Term Capital Gains Tax Rate (%)Either 0%, 15%, or 20% depending on your taxable income. Applies to shares held more than 1 year from purchase date AND more than 2 years from grant date.

Final Step: Calculate

Hit the yellow Calculate button. The calculator instantly shows your income, taxes owed, and net gain across all three ESPP disposition scenarios no login, nothing stored.

Use Clear to reset all fields and start over with a new scenario.

Quick tip: If you’re unsure whether to pick Discount or Price in Step 3 pick Discount. Most employees know their plan’s discount percentage from their enrollment documents. The exact purchase price is harder to track down before the purchase date passes.

Worked Example: Software Engineer in Texas

Say a software engineer in Austin, Texas, earns $95,000 base salary. Her company’s ESPP allows up to 15% payroll deduction with a 15% discount and a lookback provision. The offering period runs 6 months.

Inputs:

FieldValue
Annual Salary$95,000
Contribution Rate10%
Offering Period6 months
ESPP Discount15%
Lookback ProvisionYes
FMV on Offering Date$40.00
FMV on Purchase Date$50.00
Sale Price$52.00
Marginal Tax Rate22%
Capital Gains Rate15%

Calculation:

  • Payroll contribution over 6 months: $95,000 ร— 10% รท 2 = $4,750
  • Reference price (with lookback): Lower of $40 and $50 = $40.00
  • Purchase price after 15% discount: $40 ร— 0.85 = $34.00
  • Shares purchased: $4,750 รท $34.00 = 139 shares (rounded down)

Results Summary:

OutputDisqualifying DispositionQualifying Disposition
Purchase Price$34.00/share$34.00/share
FMV at Purchase$50.00/share$50.00/share
Ordinary Income$16.00/share ร— 139 = $2,224$6.00/share ร— 139 = $834
Capital Gain$2.00/share ร— 139 = $278$12.00/share ร— 139 = $1,668
Tax on Ordinary Income (22%)$489$183
Tax on Capital Gain (15%)$42$250
Total Tax$531$433
Net After-Tax Gain$1,971$2,069
ESPP Return on Investment~41.5%~43.6%

Texas has no state income tax, so her federal tax is her only income tax. For employees in California where the state income tax rate can reach 13.3% the numbers shift noticeably. The stock purchase plan calculator adjusts for state tax when that field is filled in.

Understanding Your Results

The calculator returns several numbers. Here’s what each one means.

Purchase Price: What you actually paid per share after the ESPP discount (and lookback, if applicable). This is your cost basis starting point.

Ordinary Income: The IRS treats part of your ESPP gain as wage income taxed at your marginal tax rate. For a disqualifying disposition, this is the full bargain element (FMV at purchase minus your purchase price). For a qualifying disposition, it’s the lesser of the discount at offering or your actual gain.

Cost Basis: Your cost basis for Schedule D reporting is your purchase price plus any ordinary income already recognized. Getting this wrong leads to double taxation. Per IRS Publication 525, employees frequently under-report cost basis when filing Schedule D, resulting in overpaying capital gains tax.

Capital Gain: Anything above your adjusted cost basis is a capital gain. Short-term capital gains (held under 1 year from purchase) are taxed as ordinary income. Long-term capital gains qualify for the 0%, 15%, or 20% rate.

Net Gain / After-Tax Return: What you actually keep. The ESPP return on investment shown here already accounts for all estimated federal taxes.

ESPP vs RSU vs Stock Options: A Side-by-Side Comparison

FeatureESPPRSUStock Options (ISO/NSO)
How You Get SharesBuy at discount via payroll deductionGranted, vest over timeRight to buy at a set strike price
Upfront CostYes โ€” payroll contributionsNoneYes โ€” strike price at exercise
Discount5โ€“15% (Section 423 plans)No discountBelow-market strike price
IRS Annual Limit$25,000/year (at offering price)No hard limit$100,000/year for ISOs
Tax at Vesting/PurchaseNo tax when shares are purchasedOrdinary income on vest date FMVISO: no regular tax at exercise; NSO: ordinary income at exercise
Tax at SaleOrdinary income + capital gains (disposition-dependent)Capital gains on appreciation post-vestCapital gains on appreciation post-exercise
AMT RiskLowLowHigh for ISOs
Holding Period for Tax Benefit2 years from grant + 1 year from purchase1 year from vest2 years from grant + 1 year from exercise (ISO)
Best ForRisk-averse employees wanting guaranteed returnEmployees wanting simple vestingEmployees with high conviction in stock growth

For a deeper comparison of RSU tax treatment, the RSU Tax Calculator walks through vesting income and capital gains scenarios with the same kind of worked examples.

ESPP Tax Treatment: Qualifying vs Disqualifying Disposition

This is the most important section in the article. The entire tax outcome of your ESPP hinges on one question: did you hold long enough?

To reach a qualifying disposition, you must meet both of these IRS conditions:

  1. Hold shares for more than 2 years from the offering date (grant date)
  2. Hold shares for more than 1 year from the purchase date (exercise date)

Miss either condition even by one day and it becomes a disqualifying disposition.

FactorQualifying DispositionDisqualifying Disposition
Holding Period2 yrs from grant + 1 yr from purchaseSell before either deadline
Ordinary Income BasisLesser of: actual gain OR discount at grantFull spread at purchase date (FMV purchase price)
Capital Gains TypeLong-term (0%, 15%, 20%)Short-term OR long-term depending on how long held after purchase
W-2 ReportingCompany reports ordinary income portionCompany reports bargain element in Box 1 of W-2
Schedule DReport capital gain above ordinary incomeReport capital gain above cost basis
Employer Tax DeductionNoneDeductible for employer

One thing most articles skip: W-2 reporting for qualifying dispositions happens in the year of the sale not the year of purchase. If you leave your company and then sell shares years later, your former employer still has an obligation to issue a W-2 for that year per Section 6039 of the IRC.

Real-World Use Cases

Use Case 1 โ€” Immediate Sale After Purchase (Disqualifying Disposition)

A senior manager in Seattle, Washington, contributes 15% of her $130,000 salary to the company’s ESPP over a 6-month offering period. The plan has a 15% discount and a lookback provision. The stock price at offering was $60; it’s $75 at purchase. She sells immediately at $75 a disqualifying disposition.

Her purchase price: $60 ร— 0.85 = $51. Her ordinary income per share: $75 โˆ’ $51 = $24. She owes federal income tax at 24% plus Washington’s 7% long-term capital gains tax (which applies only to long-term gains, not ordinary income). Her ESPP return on investment, even after taxes, comes in near 35% annualized on a 6-month holding period.

The ESPP benefit here is essentially locked in the moment she buys. Selling immediately removes all future stock risk. Per IRS Topic 427, the bargain element from a disqualifying disposition is included in Box 1 of her W-2.

Use Case 2 โ€” Holding for Qualifying Disposition

A first-time ESPP participant in Chicago, Illinois, buys shares at a $34 purchase price (15% discount off the $40 offering date price) and holds for 26 months. The stock climbs to $65. This is a qualifying disposition.

Her ordinary income is capped at the lesser of her actual gain ($31/share) or 15% of the offering date FMV ($6/share). It’s $6/share. The remaining $25/share gain is a long-term capital gain, taxed at 15% for her income bracket. She pays significantly less in taxes than she would have under a disqualifying disposition.

The catch: she held company stock for over 2 years. If the stock had fallen to $30 during that time, she would have lost money despite the tax advantage. Exact plan outcomes vary based on your employer’s specific ESPP terms always verify with your plan document or HR.

The Hidden Math of the Lookback Provision

Most ESPP articles mention the lookback provision in one sentence and move on. That’s a mistake, because the lookback is often responsible for half the ESPP return sometimes more.

Here’s what the lookback actually does: instead of pricing your discount off the purchase date price alone, it lets the plan use the lower of the offering date price or the purchase date price. So if the stock rises over the offering period, you get the discount off the lower starting price amplifying the total benefit.

Example with lookback vs without:

ScenarioOffering Date PricePurchase Date PriceReference Price15% Discount AppliedPurchase Price
Without Lookback$40$55$5515% off $55$46.75
With Lookback$40$55$40 (lower)15% off $40$34.00

Same offering period. Same stock movement. The lookback cuts your purchase price from $46.75 to $34.00 that’s a $12.75-per-share difference in your cost basis and gross gain before taxes even enter the picture.

The lookback provision also affects your ESPP cost basis calculation for tax purposes, since the ordinary income recognized in a qualifying disposition is anchored to the offering date price. The Long-Term Incentive Calculator can help model the multi-year value of plans that include lookback features.

Common Mistakes & Misconceptions

Mistake 1: Counting the holding period from the purchase date only.

The qualifying disposition clock runs from two dates simultaneously the offering date (2-year rule) and the purchase date (1-year rule). Many employees hit the 1-year mark, assume they’re qualified, and sell. If they haven’t also passed the 2-year mark from the offering date, it’s still a disqualifying disposition. Per IRS Publication 525, both conditions must be met.

Mistake 2: Using the wrong cost basis on Schedule D.

When a disqualifying disposition occurs, your employer adds the ordinary income portion to Box 1 of your W-2. Your adjusted cost basis for Schedule D reporting becomes your purchase price plus that ordinary income. Employees who use only their original purchase price as the cost basis end up paying capital gains tax on income they’ve already paid ordinary income tax on. That’s double taxation and it’s avoidable.

Mistake 3: Assuming the ESPP limit is based on shares.

The $25,000 annual ESPP limit (per Section 423) applies to the fair market value of shares at the offering date not the price you pay. So if the offering date FMV is $50 per share, the limit is 500 shares per year, regardless of what you actually paid.

Mistake 4: Treating all ESPP income as regular wages for FICA purposes.

The ordinary income recognized from a qualifying disposition of an ESPP under Section 423 does not trigger FICA withholding. Neither does a disqualifying disposition trigger FICA on the discount portion, per IRS Publication 15-B. This is one area where ESPP tax treatment is more favorable than it might appear.

Mistake 5: Ignoring state tax.

Federal calculations alone don’t tell the full story. California taxes ESPP ordinary income at up to 13.3%. That dramatically changes the comparison between selling immediately vs holding for qualifying treatment especially for employees at tech companies in San Jose or San Francisco.

When NOT to Rely Only on This Calculator

The ESPP Calculator gives accurate estimates. But there are situations where the output needs human review before acting on it.

Multi-state tax situations. If you lived in one state during the offering period and moved to another before selling, both states may claim taxing rights on a portion of your gain. California is aggressive about this in particular the Franchise Tax Board can assert tax on ESPP income earned during California residency even after you’ve left the state.

Non-calendar-year offering periods. Some plans run on fiscal-year schedules rather than January-to-December. This affects which tax year your ordinary income and capital gains fall into, and whether estimated tax payments are needed.

Large ESPP positions that create concentration risk. The calculator shows after-tax return but doesn’t factor in the portfolio risk of holding a large position in your employer’s stock. If your total equity compensation including RSUs, options, and ESPP shares โ€” represents more than 10โ€“15% of your net worth, a licensed CPA or CFP should review your sell strategy.

Non-qualified ESPP plans. If your plan wasn’t established under Section 423, the qualifying/disqualifying disposition framework doesn’t apply. Tax treatment differs, and this calculator may not model it correctly. Confirm with your HR department or plan administrator which type of ESPP you’re in.

Estate and gift transfers. Gifting ESPP shares to a family member or donating to charity before meeting holding period requirements still triggers a disqualifying disposition. The tax liability doesn’t disappear it just changes hands in some cases.

Tips to Get the Most Accurate Results

Pull your offering date price from your brokerage statement. This isn’t the price you paid it’s the stock price on the first day of the offering period. Your plan administrator or broker (Fidelity, Schwab, E*Trade) will have this in your equity award history.

Check whether your plan uses a 6-month or 12-month offering period. The contribution rate input in the calculator reflects the full offering period. If you entered mid-period, prorate your contribution.

Use your marginal federal tax rate, not your effective rate. ESPP ordinary income is taxed at the rate of your highest bracket on that additional income not your average tax rate. For most tech employees in the 24โ€“32% bracket, this matters.

Know your long-term capital gains rate before using the calculator. In 2026, the 15% long-term capital gains rate applies to taxable income up to $583,750 for married filing jointly and up to $518,900 for single filers (per 2026 IRS rate tables). Above those thresholds, the rate is 20%.

Don’t forget the 2026 Social Security wage base of $176,100. If your base salary plus ESPP ordinary income pushes you over this threshold, the Social Security portion of FICA (6.2%) stops applying to the excess. The Medicare portion (1.45%) has no wage base cap, and the 0.9% Additional Medicare Tax applies above $200,000 for single filers.

Frequently Asked Questions

What is the $25,000 ESPP annual limit and how is it calculated?

The $25,000 limit under Section 423 applies to the fair market value of shares you have the right to purchase in a single calendar year, measured at the offering date price not the discounted price you pay. If the stock is $50 at the start of the offering period, you can purchase up to 500 shares per year ($25,000 รท $50) regardless of the actual purchase price. This limit is per plan, per calendar year, per employee.

Does the ESPP discount count as ordinary income even if I don’t sell?

No. With a qualified Section 423 ESPP, you owe no taxes at the time of purchase. Tax is recognized only when you sell or otherwise dispose of the shares. This is unlike NSO stock options, where the spread at exercise triggers ordinary income in the year of exercise regardless of whether you sell.

How does the lookback provision affect my ESPP cost basis?

The lookback determines your purchase price (and therefore your cost basis), but the ordinary income calculation for a qualifying disposition is anchored to the offering date FMV not the purchase date FMV. This means even with lookback, the W-2 ordinary income in a qualifying disposition is based on the discount off the offering date price, not the full spread to purchase date FMV.

My broker’s 1099-B shows a different cost basis than what I calculated. Which is correct?

Your broker typically reports the purchase price as cost basis on the 1099-B. After a disqualifying disposition, your employer adds the ordinary income portion to Box 1 of your W-2. Your actual adjusted cost basis for Schedule D purposes is your purchase price plus the ordinary income already recognized. You’ll need to manually adjust the cost basis on your tax return to avoid paying capital gains tax on income already taxed as ordinary income. NASPP recommends reviewing your 1099-B alongside your year-end equity compensation statement.

Is ESPP worth it even if my company’s stock is flat or declining?

Yes โ€” but only if you sell immediately after purchase. With a 15% discount and a lookback provision in a flat market, you still capture a guaranteed return because you bought below fair market value and sell at (or near) fair market value. In a declining market, selling immediately still generates a positive return as long as the stock doesn’t fall by more than your discount percentage between purchase and sale. Holding and hoping for appreciation introduces real downside risk with no additional tax benefit until the qualifying disposition threshold.

What happens to my ESPP shares if I leave the company?

Shares already purchased are yours leaving your job doesn’t change that. However, any accumulated payroll contributions that haven’t yet been used to purchase shares are typically returned to you as cash, not stock. The shares you already hold trigger the same qualifying or disqualifying disposition rules based on when you sell. If you leave and then sell shares without meeting the holding period requirements, it’s a disqualifying disposition โ€” the same as if you were still employed.

Can I contribute to both an ESPP and a 401(k) at the same time?

Yes. ESPP contributions come out of after-tax dollars from your paycheck (for Section 423 plans), while 401(k) contributions are typically pre-tax. Both can run simultaneously. In 2026, the 401(k) contribution limit is $23,500 ($31,000 if you’re 50 or older). The ESPP doesn’t reduce your 401(k) headroom, but both programs reduce your take-home pay โ€” so watch your cash flow, especially if your contribution rate is high.

References & Authoritative Sources

The following official sources were used to verify the tax rules, formulas, and regulatory details in this article.

1. IRS Publication 525: Taxable and Nontaxable Income โ€” ESPP Tax Treatment

2. IRS Tax Topic 427: Stock Options and ESPP Holding Period Requirements

3. 26 U.S. Code ยง 423 โ€” Employee Stock Purchase Plans: Full Statutory Text

4. FINRA: What to Know Before Investing in Company Stock via ESPP

5. Employee Stock Purchase Plan โ€” Wikipedia

Sachin Yadav
Written by

Sachin Yadav

Founder, ShareIncentivePlanCalculators.com & Equity Compensation Researcher

Sachin Yadav has spent 4 years researching equity compensation โ€” from RSUs and stock options to ESPPs, LTIPs, and after-tax projections. He built ShareIncentivePlanCalculators.com to help employees across the US understand the real value of their equity packages, clearly and instantly.