Selling equity shares without paying tax twice

Why brokers show $0 or the wrong basis for equity pay, how to find your real number, and how to fix it on your return.

Sam Patrone — Tax Advisor at Fifteenth

Table of contents

The short answer

You aren’t taxed twice when you sell shares from equity pay, as long as your cost basis is right.

Your taxable gain is the sale price minus your cost basis, which is what the IRS treats as the price you paid for the shares. For vested RSUs, your basis is the share value on the vest date, the same amount already taxed as wages on your W-2. For non-qualified stock options (NSOs), it’s the strike price you paid plus the income from exercising that was on your W-2. Brokers often report $0 or leave basis blank, and for options they usually show only the strike price. To find the real number, look for “adjusted cost basis” on your broker’s supplemental statement. For RSUs, you can also use your vesting statement: shares sold × price at vest. Use that number to fix the sale on Form 8949 when you file (see how below).

Why does my 1099-B show a $0 cost basis?

For RSUs, your cost basis is the value of the shares on the vest date, because that value was already taxed as wages. Brokers often leave it off the 1099-B for equity pay, so the form shows $0 or nothing at all. For stock options granted after 2013, brokers are required to report only what you paid for the shares, the strike price. They leave out the income you were already taxed on when you exercised. For NSOs, that income is the spread: the share price on the exercise date minus your strike price. It shows up on your W-2.

If no one fixes it, your whole sale price looks like profit, and the same dollars get taxed twice: once as wages and again as capital gain.

Illustrative example · fees excluded

1,000 RSUs vest at $100 a share, so $100,000 goes on your W-2 as wages. You later sell all 1,000 at $120.

ItemAmount
Wages on your W-2 at vest: 1,000 × $100$100,000
Sale proceeds: 1,000 × $120$120,000
Cost basis: value at vest for the 1,000 shares sold$100,000
Capital gain: $120,000 − $100,000$20,000

With a $0 basis, the gain would show as $120,000. That’s $100,000 too high, and that $100,000 is wages you were already taxed on. If you held the shares more than a year, even the lower 15% long-term rate means $15,000 of federal tax you don’t owe. If you held them a year or less, the extra gain is taxed at your regular income tax rates.

A vested RSU should never really have a $0 basis. If yours shows one, the broker is missing the data, or the shares aren’t the ones you think. A basis near zero is real only for shares you bought or were granted at almost no value, such as founder shares.

What is my cost basis for RSUs, NSOs, ESPP and ISOs?

Shares came fromYour cost basis
RSUsThe fair market value on the vest date, for each share you sold.
NSOsThe strike price you paid plus the income taxed on your W-2 at exercise. A $10 strike and $40 of income at exercise make a $50 basis per share.
ESPPThe purchase price plus the ordinary income from the sale. That income should be on your W-2, but sometimes isn’t. Sell early and that’s the full gap between what you paid and the share value on the purchase date, which can be more than the discount. Hold longer and it’s usually smaller. Form 3922 has the dates and prices.
ISOsTwo numbers. For regular income tax, usually the strike price. For the alternative minimum tax (AMT), a separate tax calculation, it’s the share value on the exercise date, if you reported the spread (the share value at exercise minus the strike price) for AMT in the year you exercised. Keep both.

Your strike price, today’s price and your cost basis are three different numbers. Use the records for the batch of shares, or lot, that you actually sold.

How do I find the right basis for the shares I sold?

  1. Start with the supplemental statement, the extra pages most equity brokers send with the 1099-B. If it shows an adjusted cost basis, meaning the basis with your W-2 income already added in, that’s usually your number.
  2. Otherwise, use your vest or exercise records: shares sold × the vest-date price for RSUs, or the strike price plus the income at exercise for NSOs.
  3. Count only the shares you sold. If 100 shares vested and you sold 80, use the basis for those 80. Box 12 of your W-2 may show an amount marked code V. That’s the total income from NSOs you exercised in the year the W-2 covers. It’s the income part of your basis, not the whole basis, so add your strike price. And because it covers every exercise that year, use it only if you sold all of those shares. If you sold at a loss and more shares vested, or you bought the same stock, within 30 days before or after the sale, the loss can be disallowed as a wash sale and added to the new shares’ basis. Your 1099-B may not flag it.
  4. Check whether the shares moved between brokers. The basis often doesn’t follow them, so get the records from the original broker. Next time you move shares, ask for the basis to transfer too, and keep the transfer confirmation.

Keep each vest and exercise confirmation. They’re how you prove the basis years later.

How is the basis fixed on my tax return?

You don’t need a corrected 1099-B. Brokers usually won’t issue one. For stock options, brokers aren’t allowed to include income you were taxed on as pay. For other shares, they often don’t have the data. You fix it yourself on Form 8949, where each sale is listed. After you fix the basis on your return, ask your broker to update the basis it has on file, so future 1099-Bs are right. What you enter depends on what the 1099-B shows:

  • If the broker reported basis to the IRS and it’s wrong, enter the broker’s figure as shown and put code B in the code column. Code B tells the IRS the reported basis is wrong. Then enter an adjustment that brings the gain to the right amount.
  • If basis wasn’t reported to the IRS and the figure shown is wrong, enter the correct basis, put code B in the code column, and enter zero as the adjustment.
  • If no basis is shown at all, enter the correct basis.

In the example above, the return should show a $20,000 gain. If your tax software shows $120,000, the basis hasn’t been fixed.

If the income on your W-2 is wrong, that’s a separate problem. Ask your employer for a corrected W-2.

If you don’t have your basis records by the filing deadline, file for an extension instead of filing with a $0 basis. A $0 basis reports more gain than you had, so you pay too much tax. An extension gives you more time to file, not to pay, so pay your estimated tax by the April deadline. Keep your basis records until the return that reports the sale can no longer be audited. Without records, a CPA may have to use the broker’s figure.

What if I sold shares and got no 1099-B?

You still report the sale. This often happens when you sell private-company shares, for example in a tender offer, where the company or investors offer to buy employees’ shares, or in a secondary sale to an outside buyer. On Form 8949, check box C if you held the shares a year or less, or box F if you held them longer. Those are the boxes for sales with no 1099-B. Take the sale proceeds, dates and basis from the sale confirmation and your grant or exercise records.

What should I send my tax advisor?

  • Every page of the 1099-B, plus the supplemental or adjusted-cost-basis statement.
  • Vest confirmations or exercise confirmations for the shares you sold.
  • Form 3922 for ESPP shares, and Form 3921 plus any prior AMT records for ISOs.
  • Records from the original broker if the shares were transferred.
  • Sale confirmations for any sale that came with no 1099-B.

If you’re a Fifteenth client, flag the sale on your annual survey and upload these with it.

Common follow-up questions

I sold shares to cover taxes at vest. Why is there a gain or loss?

Sell-to-cover shares are sold for you at vest to pay the tax on the vest. They sell at about the vest-date price, so the gain or loss should be small. If the 1099-B shows a large gain on them, the basis is missing.

Do I add my W-2 income to the adjusted basis on the supplemental statement?

No. The adjusted basis already includes it, so adding it again would understate your gain.

I got an IRS notice saying I owe tax on the full sale price. What now?

This usually means the IRS treated the whole sale price as gain because no basis was reported. Reply with your basis records by the deadline on the notice and ask the IRS to recompute.

What if I already filed with a $0 basis?

If the overpaid tax is worth the cost, amend the return to claim it back. Check your state return and earlier years for the same error too. You can usually claim refunds for about the last three years federally and four in California.

The delightfully uneventful tax service that strips the surprise factor from taxes