🇺🇸 United States

ESPP Calculator

Calculate your Employee Stock Purchase Plan gain, compare qualifying vs. disqualifying disposition tax treatment, and plan your annual ESPP contributions with 2026 tax rates.

$
FMV on offering (grant) date
$
FMV on purchase date
%
Typical: 5%, 10%, or 15% (IRC 423 max)
$
Your payroll deduction for this period
$
%
CA: 9.3%, NY: 6.85%, TX/FL: 0%
--

Try another scenario

How to Use This Calculator

ESPP Gain tab

Enter the stock price at offering (grant date), stock price at purchase, your discount percentage, and your contribution per period. The calculator applies the lookback provision automatically — using the lower of the offering and purchase prices before applying the discount. You'll see your discount gain, market gain, total gain, estimated tax on both qualifying and disqualifying dispositions, and net profit after tax.

Qualifying vs Disqualifying tab

Enter the same stock info plus your grant date, purchase date, and planned sale date. The calculator checks whether your sale meets the qualifying disposition requirements (>2 years from grant AND >1 year from purchase) and shows you the ordinary income portion, long-term capital gains portion, and total tax comparison between QD and DD.

Annual Plan tab

Enter your salary, contribution rate (1–15%), quarterly stock prices, and discount percentage. See shares purchased per quarter, total shares for the year, total investment, total market value, gain per period, and annual tax impact. The calculator enforces the IRC §423 $25,000 annual FMV limit.

Share your result

Every input is encoded in the URL. Click Share to send your exact scenario to a financial advisor, partner, or colleague.

The Formula

ESPP gain depends on the discount, lookback provision, and stock price movement:

Purchase Price = min(FMV at Offering, FMV at Purchase) × (1 - Discount %)

Built-in Gain = (FMV at Purchase - Purchase Price) × Shares
ROI = Built-in Gain ÷ Total Cost × 100

Disqualifying disposition (DD):
Ordinary Income = (FMV at Purchase - Purchase Price) × Shares
Capital Gain = (Sale Price - FMV at Purchase) × Shares

Qualifying disposition (QD):
Ordinary Income = min(Actual Gain per Share, FMV at Offering × Discount %) × Shares
LTCG = Remaining Gain (Sale Price - Purchase Price - Ordinary Income per Share) × Shares

The key insight: with a 15% discount and lookback, you pay $85 for $100 of stock. That's a 17.6% return ($15 ÷ $85) before the stock moves at all. If the stock rises during the offering period, the lookback uses the lower offering price, making the effective discount even larger.

Example

Aisha — product manager, Mountain View, CA

Aisha earns $150K, contributes $7,500 per 6-month period to her ESPP with a 15% discount and lookback provision. Stock was $100 at offering and $120 at purchase. Filing single, CA state tax rate 9.3%.

ESPP Gain tab

Offering price$100/share
Purchase price (15% off $100)$85/share
Shares purchased88
Total cost$7,480
Market value at purchase$10,560
Total gain$3,080
ROI per 6-mo period41.2%

Aisha's effective discount is 29.2% (not just 15%) because the lookback uses the $100 offering price while the stock is worth $120. Her annualized ROI is 82.4%.

Qualifying vs Disqualifying tab

Disqualifying disposition tax$1,014
Qualifying disposition tax$594
Tax savings from qualifying$420

Even selling immediately, Aisha nets $2,066 after tax on a $7,480 investment in 6 months. Holding for the qualifying period saves her $420 by shifting most of the gain to long-term capital gains rates.

Annual Plan tab

Annual contribution (10%)$15,000
Total shares (4 quarters)~352
Annual gain$6,160+

Across the full year with rising stock prices, Aisha's ESPP delivers over $6K in gains — far better than any savings account.

FAQ

An Employee Stock Purchase Plan (ESPP) under IRC Section 423 lets you buy company stock at up to a 15% discount using after-tax payroll deductions. During an offering period (typically 6 months), your contributions accumulate, then shares are purchased at the discounted price on the purchase date. Most plans also include a lookback provision that applies the discount to the lower of the stock price at the start or end of the offering period.
Under IRC Section 423(b)(8), you cannot purchase more than $25,000 worth of stock per calendar year through a qualified ESPP. The $25,000 is based on the fair market value of the stock at the grant date (start of the offering period), not the discounted purchase price. If your contribution rate would exceed this limit, your company will typically reduce your contributions automatically.
A qualifying disposition requires holding shares for more than 2 years from the offering date AND more than 1 year from the purchase date. With a qualifying disposition, only the lesser of the actual gain or the offering-date discount is taxed as ordinary income — the rest is long-term capital gains (0%, 15%, or 20%). A disqualifying disposition means the entire bargain element (FMV at purchase minus your purchase price) is taxed as ordinary income at your marginal rate.
The lookback provision compares the stock price at the start of the offering period (grant date) with the price at the end (purchase date) and uses the lower of the two before applying the discount. If the stock was $100 at offering and $120 at purchase, you buy at $85 ($100 × 0.85) instead of $102 ($120 × 0.85). This means your effective discount is 29.2% relative to the current price, not just 15%. If the stock declines, you still get the discount on the lower current price, protecting your downside.
It depends on your risk tolerance and concentration. Selling immediately (disqualifying disposition) locks in a guaranteed return — typically 10-15% after taxes — and reduces single-stock risk. Holding for a qualifying disposition saves on taxes but exposes you to stock price risk. Many financial advisors recommend selling immediately and diversifying, especially if you already have significant company stock exposure through RSUs or options. Use the Qualifying vs Disqualifying tab to see your exact tax savings from holding.

Related Calculators

Add This Calculator to Your Website

Embed the sum.money ESPP Calculator on your site. Free, responsive, always up-to-date.

<iframe src="https://sum.money/embed/us/espp-calculator" width="100%" height="600"></iframe>