How to Calculate Stock Option Cost Basis: NSOs, ISOs, and AMT

To calculate the cost basis for stock options, start with what you paid to exercise and add anything the IRS already taxed as ordinary income on those shares. For non-qualified stock options (NSOs), that means exercise price plus the spread reported on your W-2, which together equal the fair market value on the exercise date. For incentive stock options (ISOs) held long enough to qualify, basis is simply the exercise price, though you also have to track a separate, higher basis for the alternative minimum tax. Getting this number right is what keeps you from paying capital gains tax a second time on income you were already taxed on.

The Three Numbers You Need Before You Start

Every basis calculation uses the same three figures, all measured at the moment of exercise:

  • Exercise price — the fixed per-share price your option lets you pay, sometimes called the strike price.
  • Fair market value (FMV) — what the stock is actually worth on the exercise date. For publicly traded stock, this is the closing price on that date, or the average of the day’s high and low.
  • Spread — FMV minus exercise price. If your exercise price is $10 and the stock is trading at $35, the spread is $25 per share.

The spread is the economic benefit you got by buying below market. Whether it’s taxed at exercise, later, or in two places at once depends entirely on which type of option you hold.

Calculating Basis for Non-Qualified Stock Options

NSOs are the more common form of equity compensation, and the math is direct. When you exercise, the spread is immediately taxed as ordinary compensation income. Your employer reports it on your W-2, withholds payroll taxes, and sends the numbers to the IRS. Because that spread has already been taxed as wages, it becomes part of your investment in the stock.

The formula is NSO basis = exercise price + spread at exercise. That total equals the fair market value on the exercise date. You paid the exercise price in cash and effectively paid the spread through income tax on it.1Office of the Law Revision Counsel. 26 USC 83 – Property Transferred in Connection With Performance of Services

An example with real numbers. You exercise 1,000 NSO shares at $10 per share when the stock is trading at $35. The spread is $25 per share, so $25,000 in ordinary income lands on your W-2, and you paid $10,000 in cash to exercise. Your total cost basis for those 1,000 shares is $35,000.

If you later sell for $40,000, your taxable capital gain is $5,000. If you mistakenly used just the $10,000 exercise price as basis, you’d report a $30,000 gain and pay capital gains tax on $25,000 that was already taxed as wages. This is the single most expensive mistake people make with stock option taxes, and it happens constantly because of how brokers report basis on Form 1099-B.

Cashless Exercise and Sell-to-Cover

Many employees can’t front the cash to exercise, so they use a cashless exercise: the broker sells enough shares immediately to cover the exercise price and tax withholding. The basis rule doesn’t change. Each share still has a basis equal to the fair market value at exercise, regardless of how many shares were sold to fund the transaction.

In a full cashless exercise where all shares are sold the same day, basis equals FMV and the capital gain is close to zero after accounting for intraday price movement and brokerage fees. The real tax hit is the ordinary income on the spread, which your employer withholds from the proceeds. In a sell-to-cover, the shares you keep carry the same per-share basis equal to the exercise-date FMV.

Calculating Basis for Incentive Stock Options

ISOs can produce better tax treatment than NSOs, and the price of that advantage is complexity. The tax code creates two parallel basis tracks, one for regular tax and one for the alternative minimum tax, and which one matters depends on how long you hold the shares after exercise.2Internal Revenue Service. Topic No. 427, Stock Options

Regular Tax Basis

When you exercise ISOs, the spread is not taxed as ordinary income for regular federal tax purposes. No amount hits your W-2. Because the spread wasn’t taxed at exercise, it isn’t added to your basis. Your regular tax basis is simply the exercise price.

What happens next depends on two holding periods. You must hold the shares at least two years after the option grant date and at least one year after the exercise date.3Office of the Law Revision Counsel. 26 USC 422 – Incentive Stock Options

Meet both, and the sale is a qualifying disposition. The entire gain from exercise price to sale price is long-term capital gain, and your basis stays at the exercise price. Someone who exercised at $20 and sells at $60 has $40 per share of long-term capital gain and no ordinary income.

Sell before either holding period is up, and you have a disqualifying disposition. You’ll owe ordinary income tax on the lesser of the spread at exercise or the actual gain on the sale. That ordinary income amount then gets added to your basis, just like an NSO.2Internal Revenue Service. Topic No. 427, Stock Options

The lesser-of rule matters most when the stock drops between exercise and sale. If you exercised at $20 when FMV was $60 (a $40 spread) and sold at $45, the ordinary income is $25 per share, not $40, because $25 is the actual gain. Your adjusted basis becomes $45, and there’s no additional capital gain. If the stock falls below your exercise price and you sell at $15, there’s no ordinary income at all. You have a capital loss of $5 per share, using the $20 exercise price as basis.

AMT Basis for ISOs

Even though the ISO spread isn’t taxed for regular income tax at exercise, it is an adjustment item for the alternative minimum tax. If you exercise ISOs and hold the shares past year-end, the spread must be added to your AMT income for that year.2Internal Revenue Service. Topic No. 427, Stock Options

That creates a separate, higher AMT basis: AMT basis = exercise price + spread at exercise. Exercise 500 shares at $20 when the stock is worth $60, and your regular basis is $10,000 (500 × $20) while your AMT basis is $30,000 (500 × $60). You have to track both numbers going forward, because when you eventually sell, your AMT capital gain will be smaller than your regular capital gain by the amount of the spread.

For 2026, the AMT exemption is $90,100 for single filers (phasing out at $500,000) and $140,200 for married couples filing jointly (phasing out at $1,000,000).4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 A large ISO exercise can push you past these thresholds and trigger actual AMT liability, in which case the AMT you pay generates a credit you can recover in future years through Form 8801.5Internal Revenue Service. Instructions for Form 8801 – Credit for Prior Year Minimum Tax

The $100,000 Vesting Limit

There is a cap that reclassifies some ISOs automatically. ISOs that first become exercisable in any calendar year are treated as ISOs only up to $100,000 in aggregate fair market value, measured at the grant date. Any excess above $100,000 is treated as NSOs.6eCFR. 26 CFR 1.422-4 – $100,000 Limitation for Incentive Stock Options

If your employer granted you options on stock worth $30 per share and 5,000 shares vest in a single year, that’s $150,000 in FMV. The first 3,333 shares ($99,990) qualify as ISOs. The rest are NSOs, and you calculate basis using NSO rules for that batch. If you’ve received multiple ISO grants with overlapping vesting schedules, the limit applies across all of them combined, not per grant.

Fixing the Basis Your Broker Reports

The most common reason people overpay capital gains tax on option shares is a mismatch between the basis on Form 1099-B and the actual correct basis. For NSO shares, brokers often report only the exercise price in Box 1e, leaving out the ordinary income component that was already taxed through your W-2. For ISO shares in a disqualifying disposition, the same thing happens: the broker may not know about the W-2 adjustment, so Box 1e shows a number that’s too low.7Internal Revenue Service. Instructions for Form 1099-B (2026)

File the 1099-B basis as-is, and the IRS sees a much larger capital gain than you actually owe. It doesn’t automatically match your W-2 income against your 1099-B, so you get no credit for taxes already withheld on the spread unless you correct the basis yourself.

Using Form 8949

You correct the discrepancy on Form 8949, which feeds into Schedule D.8Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets The mechanics depend on whether the broker reported the shares as covered or non-covered.

For covered securities, enter the broker’s reported basis in column (e), use Code B in column (f) to flag it as incorrect, and enter the adjustment amount in column (g) as a negative number. If the broker reported $10,000 but your correct basis is $35,000, put negative $25,000 in column (g). The resulting gain in column (h) reflects the correct, lower amount.9Internal Revenue Service. Instructions for Form 8949 – Sales and Other Dispositions of Capital Assets

For non-covered securities (where the broker checked Box 5 and left basis blank), you can enter the correct basis directly in column (e) and put zero in column (g).9Internal Revenue Service. Instructions for Form 8949 – Sales and Other Dispositions of Capital Assets

Form 3921 for ISO Exercises

If you exercised ISOs, your employer is required to file Form 3921 and give you a copy. It contains the exercise price per share (Box 3), the fair market value per share on the exercise date (Box 4), and the number of shares transferred (Box 5). Those are exactly the numbers you need to calculate both your regular tax basis and your AMT basis.10Internal Revenue Service. About Form 3921, Exercise of an Incentive Stock Option Under Section 422(b) If your employer didn’t send one, ask. Reconstructing an exercise-date FMV years later is difficult.

When a Wash Sale Adjusts Your Basis

A wash sale happens when you sell stock at a loss and buy substantially identical stock within 30 days before or after the sale. The loss deduction is disallowed, but the disallowed amount gets added to the basis of the replacement shares.11Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities

This intersects with stock options in a way that catches people off guard. If you sell your employer’s stock at a loss and then exercise options on the same stock within that 61-day window, the exercise counts as acquiring substantially identical shares. Your loss is disallowed and gets added to the basis of the newly exercised shares.12Internal Revenue Service. Case Study 1 – Wash Sales

Sell 500 shares at a $5,000 loss and exercise options on 500 shares of the same company’s stock two weeks later, and the $5,000 loss is disallowed. Your new shares get $10 per share added to their basis. The economic benefit of the loss is preserved. Report the disallowed loss on Form 8949 as a positive adjustment in column (g) using Code W.9Internal Revenue Service. Instructions for Form 8949 – Sales and Other Dispositions of Capital Assets

State Tax Can Diverge From Federal

Not every state follows the federal rules for ISOs. A handful of states tax the spread on ISO exercises as ordinary income at the time of exercise, the same way they’d tax an NSO, regardless of whether you meet the federal holding period requirements. If you live in one of those states, your state-level basis calculation may differ from your federal basis, and you may owe state income tax in the year of exercise even when you owe nothing to the IRS. Check your state’s treatment before building a holding strategy around the assumption that ISO exercises are tax-free at the state level.

Records That Protect Your Basis

Basis disputes are almost impossible to win without documentation, and the IRS expects you to keep records for as long as they’re relevant to computing gain or loss when you sell. That means keeping your option grant agreement, exercise confirmation, and either Form 3921 (for ISOs) or the W-2 showing the spread income (for NSOs) until at least three years after you file the return reporting the sale.13Internal Revenue Service. Topic No. 305, Recordkeeping

If you underreport income by more than 25% of the gross income shown on your return, the IRS has six years to assess additional tax instead of three.13Internal Revenue Service. Topic No. 305, Recordkeeping Given how large and confusing option-related income items can be, keeping all related documents for at least seven years after filing is the safer choice. And if you hold ISO shares for years before selling, the clock doesn’t start until you file the return reporting the sale, so grant documents from years earlier still matter.

The records that save people in an audit are the ones that tie exercise-date FMV to a specific dollar amount: brokerage exercise confirmations showing date and price, Form 3921 copies, W-2s showing supplemental income, and screenshots of the closing stock price on the exercise date. If your company was private when you exercised, keep the 409A valuation report or board resolution that established FMV. Those are far harder to reconstruct after the fact.