Why the basis is wrong
For RSUs, the value of the shares when they vest is taxed as wages and included on the W-2. That value becomes the shares’ cost basis. For ESPP shares, the basis is the purchase price plus any compensation income recognized. But under IRS rules that took effect for options and stock plans granted in 2014 and later, brokers report basis on the 1099-B without the compensation element. The result is a 1099-B basis of zero, or just the discounted purchase price.
Left uncorrected, the client reports the same income twice: once as wages on the W-2 and again as capital gain on Schedule D.
How to report the correction
Report the sale on Form 8949 exactly as the 1099-B shows it in columns (d) and (e). Enter code B in column (f) and the correction as a negative number in column (g): the correct basis minus the reported basis. The adjusted gain in column (h) now reflects only the true economic gain or loss.
Brokers usually provide a supplemental statement, often called a stock plan transactions supplement, listing the adjusted basis for each lot. Use those figures, and keep a copy in the workpapers.
| Item | Amount |
|---|---|
| Proceeds (1099-B box 1d) | $12,400.00 |
| Basis reported (box 1e) | $0.00 |
| Value at vesting, included in W-2 | $11,000.00 |
| Adjustment, code B (column g) | -$11,000.00 |
| Correct gain (column h) | $1,400.00 |
Doing this for many lots at once
Clients who sell shares every quarter can have dozens of lots. Convert the 1099-B with 1099B Import, then enter the supplemental basis and code B on each affected row in the grid. Totals and box summaries recalculate as you go, and the export carries the codes straight into your tax software.
Questions, answered
Why don’t I just change the basis to the correct number?
The IRS matches Form 8949 to the 1099-B. Reporting the broker’s basis with a code B adjustment keeps the return consistent with what the IRS received and explains the difference.
Does this apply to sell-to-cover sales?
Yes. Shares sold at vesting to cover withholding often show a small gain or loss once basis is corrected, rather than a gain equal to the full proceeds.
Is any client data uploaded or stored?
No. 1099B Import runs entirely on your own computer — nothing is uploaded. There are no upload endpoints, no accounts, and no storage. Turn off your Wi-Fi after the page opens and the converter keeps working.