Mathstub

RSU Cost Basis Correction Calculator

Your broker’s 1099-B often shows $0 cost basis on RSU shares — but you already paid ordinary-income tax on their value at vest. File off that $0 and you pay tax twice. See your correct basis and the Form 8949 fix below.

⚡ 30 seconds🔒 Runs in your browser✓ Free, no signup

Tax year 2026 · Last updated May 29, 2026

Your correct cost basis$5,000
Your true capital gain$1,000
Tax you would overpay without the fix$940

What is going wrong

Your broker reported a $0 basis, so you would report a $6,000 gain. Your real gain is only $1,000 — the extra $5,000 was already taxed as wages on your W-2 at vest. Taxed again at 15% (plus NIIT and state), that is the overpayment above.

The Form 8949 fix

  • Column (d) Proceeds: $6,000.00
  • Column (e) Cost basis (as on 1099-B): $0.00
  • Column (f) Code: B
  • Column (g) Adjustment: -$5,000.00
  • Column (h) Gain (result): $1,000.00

Save or share this calculation

Get a link that reloads the same inputs. Bookmark it, paste it to your spouse, or send it to your CPA — your inputs are encoded in the URL and nothing is stored on our servers.

How it works

  1. Enter shares sold and FMV at vest. How many shares you sold, and the fair-market value per share on the day they vested. That FMV is your real cost basis (IRC §83(a)).
  2. Enter the sale price and the basis your broker reported. The price per share you sold at, plus the cost basis shown in box 1e of your 1099-B — for RSUs this is usually $0.
  3. Pick holding period, filing status, and income. Held more than a year after vest is long-term; otherwise short-term. Your income sets the capital-gains rate and whether NIIT applies.
  4. Read your overpayment and the Form 8949 fix. See the tax you would overpay without correcting basis, and the exact column (g) adjustment with code B to enter.

Frequently asked questions

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

Under IRC §6045(g) brokers report only the basis from what you paid to acquire the shares. RSUs are acquired for $0 cash, so box 1e is frequently $0 — even though your real basis is the fair-market value at vest, which was already included in your W-2 wages (IRS Pub 550, Pub 551).

How does this double-tax me?

The FMV of the shares at vest is ordinary income on your W-2 under IRC §83(a) — you already paid wage tax on it. If you then report the sale with a $0 basis, that same value is taxed a second time as a capital gain. The fix prevents the second tax.

How do I actually fix it?

On Form 8949, report the proceeds and the basis your broker reported (box 1e), then enter adjustment code B in column (f) and a negative adjustment in column (g) that raises your basis to the FMV at vest. See the IRS Form 8949 Instructions. This calculator shows the exact column (g) figure.

What is my correct cost basis?

The fair-market value per share on the vest date multiplied by the number of shares (IRC §83(a); IRS Pub 525). You can usually find the per-share vest price on your vest confirmation, a pay stub, or your broker’s supplemental (not the official 1099-B) statement.

Does the 3.8% NIIT apply?

It can. The Net Investment Income Tax (IRC §1411) adds 3.8% on investment income — including capital gains — once modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly). This calculator estimates that portion using your income as a MAGI proxy.

Can I fix prior years where I already overpaid?

Generally yes — you can amend an open year with Form 1040-X, usually within three years of filing. This is an educational estimate, not tax advice; confirm your specific situation with a CPA before amending.

Spotted a bug, edge case, or numbers that look off? Tell us — we read every report.

mathstub ecosystem · paid notion templates

When a calculator isn’t enough.

See all 4 templates →

Four Notion templates built around the same IRC-cited math the free calculators run — for tracking, planning, and CPA prep across an entire tax year. Lifetime updates included.

Affiliate disclosure — we earn from sales on Mathstub-owned products listed above. Free calculators always stay free.