1099B Import
Convert a statement

RSU & ESPP Sales: Fixing the Cost Basis on a 1099-B

If an employee sold company stock and the 1099-B shows a huge gain, the basis is probably missing the income already reported on their W-2. Here’s how to correct it.

Try it now

Drop in a statement below. Everything happens right here on your computer — nothing is uploaded.

Private by design — your clients’ files stay on your computer and are never uploaded.

Workflow

Private — files stay on this computer

Drop 1099-B PDFs, CSV, XLSX or XLS files here

Schwab, Fidelity, Vanguard, Morgan Stanley, IBKR consolidated 1099-B PDFs, or broker CSV/XLSX exports. Multiple files at once.

Sample datasets

Drop a statement or load a sample dataset to open the Form 8949 workspace and tie-out gate.

Free limit reached

Pro Tax Season Unlimited

This session has 0 trades. The free tier exports up to 25 trades from 1 consolidated statement per session.

$99

per month

$249

per tax season

  • Unlimited client 1099-B statements and trades
  • Multi-K-1 batches across every fund in a client portfolio
  • Same privacy promise — your files never leave your computer
  • CCH Axcess, Lacerte, ProSeries, Drake & UltraTax exports
Get Pro Unlimited
Filing 1099-NECs or 1099-MISCs for the Jan. 31 deadline?Validate vendor TINs & build IRS IRIS 250-row CSV batches locally at TINCheckCSV.com(opens in a new tab)

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.

Example: RSU sale with basis reported as zero
ItemAmount
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.