How much company stock to buy with a 15% employee discount?

Our ESPP opened for enrollment last week and I'm trying to figure out how much company stock to buy with a 15% employee discount. The plan lets me put up to 15% of my pay into it each pay period. I ran some numbers and the discount alone looks like an instant return, but I keep reading about concentration risk and the tax side being messier than I expected. I already looked up that the discount piece gets taxed as ordinary income when I sell, not capital gains, and that there's a qualifying vs disqualifying disposition split depending on how long I hold. What I can't figure out is how to weigh how much to contribute given all that — especially since I also have RSUs vesting from the same company. Does the tax treatment change the math enough that I want to sell immediately after the purchase date, or is there a reason to hold?

30 comments

Form 3922 is what your company sends you after each ESPP purchase. It shows the grant date, purchase date, fair market value on each of those dates, and the number of shares purchased. Hold onto every one of these — you'll need them to figure the ordinary income piece and your basis when you eventually sell.

Alex S.

Author

Got one of those after my first purchase period last year and honestly didn't know what it was for. Makes more sense now.

The concentration question matters a lot here. You already have RSUs vesting from the same employer, so your ESPP shares add even more single-stock exposure. Most financial planners use a rough guideline that no more than 10-15% of your total investable assets should sit in one company's stock. That's not a tax rule, just a risk management thing — if the company has a bad quarter, your salary, RSUs and ESPP all take a hit at once.

I went through this exact enrollment decision last year. Had taxr.ai read through my Form 3922 from the prior period and my broker's 1099-B side by side — it matched up the ordinary income piece my company reported on my W-2 against what the broker showed as proceeds and cost basis, so I could see where the two numbers needed to reconcile on Form 8949. Really helped me understand the basis adjustment before I enrolled again. Anyway, on the how-much question: the 15% discount creates an immediate return that's hard to ignore, but qualifying vs disqualifying disposition changes the tax character of that discount significantly.

Alex S.

Author

The W-2 and 1099-B reconciliation is the part I was most confused about. Good to know I'll need to track both.

Everything does end up on Schedule D and Form 8949 eventually, but the W-2 piece catches a lot of people off guard because the broker's cost basis on the 1099-B sometimes doesn't include the ordinary income your employer already reported.

Disqualifying disposition happens when you sell before meeting both holding period requirements: more than 2 years from grant date AND more than 1 year from purchase date. If you sell right after purchase — the "immediate flip" a lot of people do to lock in the discount — that's a disqualifying disposition. The discount spread gets included in your W-2 as ordinary income. Your broker may or may not adjust the cost basis on the 1099-B to reflect that, so check carefully.

Alex S.

Author

So if I flip immediately, I know exactly what I'm getting into tax-wise — it just hits W-2 income. That's actually simpler than I thought.

Form 8949 is the next step after that. Make sure the basis in column (e) reflects what your employer already reported as W-2 income. If the 1099-B shows a lower basis, you enter the 1099-B number in column (e) and put a negative adjustment in column (g) with code B — that's how you correct it without overpaying tax on income you already reported.

qualifying disposition is better in one narrow way: the spread at grant date gets capped for ordinary income purposes, and any additional gain above that can be long-term capital gain. but you're betting on the stock staying flat or going up for over two years from grant date AND over one year from purchase. if the stock drops, you lose the tax benefit AND the market value. for someone who already has RSU exposure, that holding period gamble is worth thinking hard about.

Publication 525 at irs.gov covers the ESPP income rules in the section on Employee Stock Purchase Plans. Worth reading the qualifying vs disqualifying chart before you decide how long to hold. The ordinary income vs capital gain split is in there with the actual formulas.

Schedule D is where my ESPP sales ended up getting complicated — I had a mix of qualifying and disqualifying lots from different purchase periods and the broker's 1099-B had the wrong basis on two of them. I uploaded the 3922s and the 1099-B to Taxr and it walked through each lot, flagged the two where the reported basis was missing the W-2 income, and listed what the corrected column (g) adjustment should be on Form 8949 for each one. Saved me from reporting a phantom gain. On your original question: if your plan has a lookback provision on top of the 15% discount, that changes the math considerably — check your plan document.

Alex S.

Author

My plan does have a lookback — takes the lower of the FMV at grant date or purchase date and applies the 15% to that. So in a rising market I'm buying at a big discount to current price.

Form 3922 box 3 and box 4 are the two FMV figures — grant date and purchase date. The lookback is why the discount can be much more than 15% in a bull market. That's also why the immediate-sale strategy is so popular: you lock in the spread now instead of hoping the stock is still up two years later.

One thing people skip: check whether your plan is a Section 423 plan. The qualifying/disqualifying disposition rules and the favorable tax treatment only apply to 423 plans. Some ESPP-style programs are non-423 and the whole spread is W-2 income at purchase regardless of when you sell. Your enrollment paperwork or HR benefits page should say.

On the how-much-to-contribute side — the tax math generally favors maxing contributions if you plan to sell immediately, because the 15% discount (and any lookback benefit) is essentially a guaranteed short-term return regardless of what the stock does during the offering period. The risk during the offering period is that the stock drops below your lookback basis, though the discount cushions that somewhat.

Offering period length matters here too. A 6-month window is a much smaller bet than a 24-month window even at the same discount rate.

Alex S.

Author

Mine is 6 months. So the exposure window is relatively short before I can flip.

don't forget the wash sale rules if you're also selling company stock from your RSU vests. if you sell ESPP shares at a loss and buy substantially identical stock within 30 days before or after — including through automatic RSU vesting — the loss gets disallowed and the disallowed amount gets added to the basis of the new shares. probably not an issue if you're selling at a gain, but worth knowing.

If you want to read the actual text, the wash sale rules are in chapter 4 of Publication 550 at irs.gov. The 30-day window runs both before and after the sale date, so a vesting event close in time to an ESPP sale you took a loss on could trigger it without you realizing.

Exactly. And it applies to your IRA or Roth IRA purchases of substantially identical stock too, not just your taxable brokerage account.

Form 8949 got messy for me when I had three ESPP purchase periods, two RSU vest events and one immediate flip all in the same year. I showed Taxr my broker's year-end 1099-B and my W-2 and asked it to map which lots needed a basis adjustment in column (g) and which could go straight to Schedule D under Exception 1. It listed them out clearly — the ones with no adjustments went to line 1a or 8a, the rest needed individual rows on 8949 with the code and adjustment amount. Really clarified the filing order for me.

Alex S.

Author

This is exactly the scenario I'm headed into. Good to know there's a way to sort out which lots need 8949 rows vs which can go straight to Schedule D.

Line 1a on Schedule D is for short-term lots with basis reported to the IRS and no adjustments needed. Line 8a is the same for long-term. Everything else — wrong basis, wash sale codes, ESPP basis corrections — needs its own row on Form 8949 first.

Realistically if your question is purely "how much should I contribute," the tax treatment is secondary to your cash flow. The money is locked up for the whole offering period. If contributing 15% of your paycheck would strain your monthly budget or wipe out your emergency fund, dial it back. The tax math on the discount is favorable but not if you're carrying credit card debt to make up the difference.

Form 3922 is also important at sale time for the qualifying disposition formula. The ordinary income you recognize in a qualifying disposition is the lesser of (a) the discount based on the FMV at grant date or (b) your actual gain. So if the stock dropped since grant date, your ordinary income might be less than the full 15% discount. The rest of any gain, if any, is capital gain.

And if you have a loss in a qualifying disposition, there's no ordinary income at all — the whole thing is a capital loss. That's one scenario where the two-year hold can actually hurt you if the stock tanks: you gave up the guaranteed gain on the immediate flip.

worth talking to a CPA or enrolled agent if you're contributing a large dollar amount, have multiple purchase periods open at once, or have ISOs alongside the ESPP. The AMT calculation on Form 6251 interacts with ISOs, and mixing that with ESPP basis corrections on Form 8949 is exactly the kind of situation where a pro review pays for itself.

To answer the original question directly: most people in a 423 plan with a 15% discount and a lookback contribute as much as they can afford from cash flow and sell immediately after each purchase. That converts the discount to a known short-term gain taxed as ordinary income via W-2, avoids the holding period gamble, and reduces single-stock concentration. The qualifying disposition strategy only makes sense if you're genuinely bullish on the stock AND comfortable with the concentration risk on top of your RSUs.

Alex S.

Author

That framing helps. I think immediate flip at the max I can afford from cash flow is probably the right call for me given I already have RSU exposure. Appreciate everyone walking through the forms side too — now I actually understand what the 3922 and 8949 are for.