ESPP Imputed Income: Calculation, W-2 Reporting, and Cost Basis

The discount you receive through an Employee Stock Purchase Plan shows up on your taxes as ESPP imputed income: ordinary compensation equal to some or all of the spread between what you paid for the shares and what they were worth, added to your W-2 even though you never received it in cash. How much of the spread is taxed as ordinary income, and when, depends on whether your plan is qualified under Section 423 of the tax code and, if it is, whether you hold the shares long enough before selling. The mechanics matter because the cost basis your broker later reports on Form 1099-B usually reflects only what you paid, not the income your employer already ran through your paycheck, and reporting the sale without correcting for that will make you pay tax on the same dollars twice.

Why the Discount Is Treated as Income

An ESPP lets you buy company stock at a discount, typically 5% to 15% below fair market value. Many plans add a look-back provision that sets the purchase price using the lower of the FMV on the offering date or the purchase date, then applies the discount to that lower figure. In a rising market, the effective discount can run well above the stated percentage. If the stock was $10 on the offering date and $12 on the purchase date, a 15% discount with a look-back means you pay $8.50 for stock worth $12, an effective discount of roughly 29%.

The IRS treats some or all of that spread as ordinary compensation. You didn’t collect it in cash, but you received it as the ability to buy an asset below market value, and that benefit is imputed to your income. How much counts as ordinary income, and when the tax is due, turns on two things: whether the plan is qualified or non-qualified, and whether you meet the holding period rules before selling.

Qualified Versus Non-Qualified Plans

A qualified ESPP meets the requirements of Internal Revenue Code Section 423, which limits the discount to no more than 15% off the FMV on either the grant date or the purchase date and caps each employee’s purchases at $25,000 of grant-date FMV stock per calendar year.1Office of the Law Revision Counsel. 26 U.S. Code 423 – Employee Stock Purchase Plans The tax benefit of meeting those rules is deferral: you generally owe no tax at the time of purchase, and the amount ultimately taxed as ordinary income can be capped if you hold long enough.

A non-qualified plan doesn’t follow Section 423. The full discount is taxed as ordinary income on the purchase date, subject to federal income tax, Social Security tax, and Medicare tax, all withheld by your employer at purchase.2Internal Revenue Service. Topic no. 427, Stock Options The trade-off is simpler accounting and no holding period to track.

Calculating Imputed Income Under a Non-Qualified Plan

The math is direct. Imputed income per share equals the FMV on the purchase date minus the price you paid.

If the FMV on the purchase date was $50 and you paid $42.50, you have $7.50 of imputed income per share. On 200 shares that’s $1,500 of ordinary income added to your W-2 for that year. Your employer withholds income tax, Social Security tax (6.2% on wages up to $184,500 in 2026), and Medicare tax (1.45%) on that amount.3Social Security Administration. Contribution and Benefit Base

Your adjusted cost basis becomes $50 per share: the $42.50 you paid plus the $7.50 already taxed as compensation. When you later sell, any gain or loss is measured from that $50 basis and taxed as a capital gain or loss depending on how long you held.

Calculating Imputed Income Under a Qualified Plan

Qualified plans split into two paths at the sale, and the path you land on decides the calculation.

Disqualifying Dispositions

A disqualifying disposition is a sale that happens before you’ve held the shares at least two years from the offering date and at least one year from the purchase date. The tax result mirrors a non-qualified plan for the discount portion: ordinary income equals the full spread between the FMV on the purchase date and the price you paid, and that amount is reported on your W-2.1Office of the Law Revision Counsel. 26 U.S. Code 423 – Employee Stock Purchase Plans

Say you bought at $85 when the FMV was $100 and later sold at $110. The ordinary income is $15 per share. The remaining $10 of the $25 total gain is a capital gain, long-term or short-term depending on how long you held after purchase.

Qualifying Dispositions

Meet both holding periods, and the ordinary income you recognize is the lesser of:4Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans

  • the actual gain on the sale (sale price minus what you paid), or
  • the offering-date discount (offering-date FMV minus the option price, typically 15% of the offering-date FMV).

That cap on ordinary income is the reason the holding periods exist. If the offering-date FMV was $80 and the discount is 15%, the maximum ordinary income is $12 per share no matter how far the stock has run. Buy at $68, sell at $120, and only $12 of the $52 gain is ordinary income; the remaining $40 is a long-term capital gain taxed at the preferential rate.

The rule also protects you on the downside. If you sell for less than you paid, the actual gain is zero or negative, so the lesser-of test produces zero ordinary income and the entire loss is a capital loss.

One additional benefit that employees often overlook: ordinary income from a qualifying disposition is included in Box 1 wages but is not subject to Social Security or Medicare taxes, so it doesn’t appear in Box 3 or Box 5.5Internal Revenue Service. Stocks, Options, Splits, and Traders – 5

Where the Numbers Come From: Form 3922

For a qualified plan, your employer files Form 3922 with the IRS and gives you a copy when legal title to ESPP shares first transfers to you, which is usually the purchase date if shares go into a brokerage account.6Internal Revenue Service. Instructions for Forms 3921 and 3922 Every calculation above depends on the figures reported there: the offering date and purchase date, the FMV on each of those dates, the price you actually paid, and the number of shares.7Internal Revenue Service. Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c)

Keep every Form 3922 you receive. You’ll need the offering and purchase dates to decide whether a sale qualifies, and the FMV and price figures to run the ordinary income math. If you participate in more than one offering period, you’ll get a separate form for each.

Reporting the Income Without Getting Taxed Twice

Two documents reach the IRS about your ESPP activity, and they don’t line up on their own.

What Appears on Your W-2

Your employer reports the ordinary income component in Box 1 of Form W-2. For a non-qualified plan or a disqualifying disposition, the same amount flows into Box 3 (Social Security wages) and Box 5 (Medicare wages). For a qualifying disposition, it appears in Box 1 only.5Internal Revenue Service. Stocks, Options, Splits, and Traders – 5

Timing follows the plan type. Non-qualified plans put the income on the W-2 for the year of purchase. Qualified plans put it on the W-2 for the year of sale, whether that sale is qualifying or disqualifying. The amount is folded into regular wages, so it may not be broken out; check your final pay stub or a supplemental statement if the W-2 total looks higher than expected.

The Cost Basis Trap on Form 1099-B

When you sell, your broker issues Form 1099-B with the sale proceeds and a cost basis. That basis is almost always the cash you paid: the discounted purchase price. Brokers generally don’t know about the imputed income your employer added to your W-2.8Internal Revenue Service. Instructions for Form 8949

Report the sale with that basis and the IRS sees a capital gain that includes the discount you’ve already paid income tax on. Without a correction, the same dollars get taxed twice.

Fixing the Basis on Form 8949

The correction happens on Form 8949. Enter the proceeds and the broker’s reported basis exactly as they appear on the 1099-B, put adjustment Code B in column (f), and in column (g) enter the adjustment equal to the imputed income already included in your W-2.8Internal Revenue Service. Instructions for Form 8949 Your true adjusted basis is the discounted price you paid plus the ordinary income already taxed. The adjusted figures then flow to Schedule D.

Skipping this adjustment is the single most common ESPP tax mistake. The IRS won’t reconcile the W-2 and the 1099-B for you.

A Full Example

Assume a qualified ESPP with a 15% discount, a look-back, and a six-month offering period. The FMV was $80 on the offering date and $100 on the purchase date. You bought 200 shares at $68 (85% of the lower offering-date price).

Sell at $120 per share after meeting both holding periods (qualifying disposition):

  • Total gain: $120 − $68 = $52 per share.
  • Ordinary income: lesser of $52 actual gain or $12 offering-date discount (15% × $80) = $12 per share, $2,400 total.
  • Long-term capital gain: $52 − $12 = $40 per share, $8,000 total.
  • Adjusted basis on Form 8949: $68 + $12 = $80 per share.

Sell at $120 per share before meeting the holding periods (disqualifying disposition):

  • Ordinary income: $100 purchase-date FMV − $68 = $32 per share, $6,400 total.
  • Capital gain: $120 − $100 = $20 per share, $4,000 total.
  • Adjusted basis on Form 8949: $68 + $32 = $100 per share.

The qualifying path produces $2,400 of ordinary income against the disqualifying path’s $6,400, taxed at your marginal rate instead of the preferential capital gains rate. For employees in the 32% or 35% bracket, waiting out the holding periods can save thousands on a single lot.

A Wash Sale Warning for ESPP Participants

If you sell ESPP shares at a loss and your plan buys new shares of the same stock within 30 days before or 30 days after that sale, the wash sale rule disallows the loss. The disallowed loss is added to the basis of the replacement shares instead of being deducted.9Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss From Wash Sales of Stock or Securities

Plans with monthly or quarterly purchase dates set up a recurring cycle, so a loss sale can trigger the rule without any unusual timing on your part. Dividend reinvestment on the same stock can also trigger it.10Computershare. Tax Traps for ESPPs The loss isn’t permanently lost, since it rolls into the replacement shares’ basis, but if you’re planning a loss sale it’s worth checking the plan’s purchase schedule and timing the sale outside the 61-day window.