intermediate
7 min read

Cost Basis Tracking for Stock Options: A Complete Guide

How to track your cost basis across ISO exercises, NSO exercises, 83(b) elections, and ESPP purchases — the information you need at sale time to avoid overpaying taxes.

Why Cost Basis Matters

When you sell stock acquired through equity compensation, your capital gain (or loss) is the sale price minus your cost basis. Get the basis wrong, and you either overpay taxes or underreport income. For equity compensation, cost basis is more complex than simply "what you paid" — it includes income you already recognized at exercise or vesting, and it differs depending on your option type, exercise method, and whether you filed an 83(b) election.

The number one source of tax errors on equity compensation sales is incorrect cost basis. Brokers routinely report it wrong on Form 1099-B, and if you do not correct it, you pay taxes twice on income you already reported. This guide shows you exactly how to calculate and track your basis for every equity scenario.

Cost Basis by Equity Type

NSO Exercise

When you exercise non-qualified stock options, the spread (FMV minus exercise price) is taxed as ordinary income and included on your W-2. Your cost basis is the FMV on the exercise date — not just the exercise price you paid out of pocket.

Cost Basis = Exercise Price + Spread Reported as Income

Or equivalently: Cost Basis = FMV on Exercise Date × Number of Shares

Example: Exercise 5,000 NSOs at $3 strike when FMV is $20.

  • Ordinary income reported: (20 - 3) × 5,000 = $85,000 (appears on W-2)
  • Cost basis per share: $20 (not $3)
  • If you later sell at $30, capital gain: ($30 - $20) × 5,000 = $50,000

If you use $3 as your basis instead of $20, you would report a $135,000 capital gain and pay tax on the $85,000 spread again — double taxation.

ISO Exercise — Qualifying Disposition

If you hold ISO shares for more than one year from exercise and two years from grant (a qualifying disposition), the entire gain from exercise price to sale price is long-term capital gains. Your cost basis is simply the exercise price.

Cost Basis = Exercise Price × Number of Shares

ISO Exercise — Disqualifying Disposition

If you sell ISO shares before meeting both holding periods, the spread at exercise (or the gain at sale, whichever is smaller) is reported as ordinary income. Your basis adjusts upward by the ordinary income amount.

Cost Basis = Exercise Price + Ordinary Income Recognized

Calculate your exercise cost now

Use our free calculator to see your exact tax burden before you exercise.

Try It

83(b) Election (Early Exercise)

If you early-exercise and file an 83(b) election, your cost basis is the exercise price plus any income recognized at the time of the election. If you exercised when FMV equaled the strike price, the income recognized is zero, and your basis equals the exercise price.

Cost Basis = Exercise Price + Income Recognized at Election

Your holding period for capital gains starts on the exercise date (the date of the 83(b) election).

RSU Vesting

When RSUs vest, the FMV of the shares on the vesting date is reported as ordinary income on your W-2. Your cost basis is that FMV.

Cost Basis = FMV on Vesting Date × Number of Shares Delivered

ESPP Purchase

ESPP cost basis depends on whether the sale is a qualifying or disqualifying disposition:

Disqualifying disposition basis: Purchase price + (FMV on purchase date - purchase price) = FMV on purchase date

Qualifying disposition basis: Purchase price + ordinary income recognized (the lesser of actual gain or the offering-date discount)

The Broker Reporting Problem

Why Brokers Get It Wrong

Brokers are required to report cost basis on Form 1099-B, but they do not always have the information needed to calculate the correct basis for equity compensation shares. Common errors include:

  • NSOs: Broker reports only the exercise price as basis, not the FMV (which includes the W-2 income)
  • RSUs: Broker reports $0 basis or the date of share delivery rather than the vesting-date FMV
  • ESPPs: Broker reports only the purchase price, not accounting for the ordinary income component
  • ISOs: Broker may not know whether the sale is a qualifying or disqualifying disposition

How to Correct It

When you file your tax return, use Form 8949 to report the sale with the correct adjusted cost basis. If the 1099-B basis is wrong, you report the 1099-B amount in column (d), your correct basis in column (e), and the adjustment in column (g) with code B (indicating "basis reported to IRS is incorrect").

Setting Up Your Tracking System

What to Record for Every Equity Event

Create a spreadsheet (or use a dedicated equity tracking tool) with these columns:

FieldDescription
Date of eventExercise date, vesting date, or purchase date
Equity typeISO, NSO, RSU, ESPP, restricted stock
Number of sharesShares acquired in this event
Exercise/purchase priceWhat you paid per share
FMV on event dateFair market value per share
Income recognizedOrdinary income included on W-2 or reported at election
Cost basis per shareExercise price + income per share
83(b) filed?Yes/No (for early exercise)
Holding period startDate for LTCG and QSBS calculations
Form received3921 (ISO), 3922 (ESPP), W-2, exercise confirmation

Source Documents to Keep

  • Exercise confirmation: From your equity plan administrator (date, shares, prices)
  • Form 3921: For ISO exercises (grant date, exercise date, exercise price, FMV)
  • Form 3922: For ESPP purchases (offering date, purchase date, prices)
  • W-2: Box 12 Code V for NSO income; check box 1 for RSU income
  • 83(b) election: Your filed copy with certified mail receipt
  • 1099-B: From your broker when you sell (compare to your basis records)

Multiple Lots

If you exercise or vest on multiple dates, each batch is a separate tax lot with its own cost basis and holding period. When you sell, you can choose which lot to sell (specific identification method) to optimize your tax outcome. Selling higher-basis lots first reduces capital gains; selling lots held over one year qualifies for long-term rates.

Tell your broker which specific lots you are selling before the trade settles. If you do not specify, the broker will use the default method (usually FIFO — first in, first out), which may not be optimal.

Common Mistakes and How to Avoid Them

Mistake 1: Using Exercise Price as NSO Basis

The most expensive cost basis error. If your NSO exercise had a $100,000 spread reported on your W-2, using the exercise price instead of FMV as your basis means paying capital gains tax on that same $100,000 again.

Fix: Always add the W-2 income to your exercise price to get the correct basis.

Mistake 2: Not Adjusting the 1099-B

Many taxpayers blindly transfer 1099-B numbers to their tax return without checking the cost basis. If the broker reported incorrect basis, you are overpaying.

Fix: Compare every 1099-B basis to your tracking spreadsheet. Adjust on Form 8949.

Mistake 3: Losing Track of 83(b) Basis

If you filed an 83(b) election years ago, you need the basis from that date when you eventually sell. If you lose the records, reconstructing the basis is difficult and may result in overpaying taxes.

Fix: Keep your 83(b) election, the exercise confirmation, and the 409A valuation at exercise date in a permanent file.

The Bottom Line

Cost basis tracking is unglamorous but potentially worth thousands of dollars in tax savings. Start tracking from the day you exercise, vest, or purchase. Keep all source documents. Verify broker-reported basis before filing your tax return. And when in doubt, adjust on Form 8949 with supporting documentation. The few hours you invest in tracking your cost basis can save you from paying taxes twice on the same income.