How to calculate RSU adjusted cost basis to avoid double taxation?
Hey tax folks, I just had some RSUs vest in August 2024 (this was the second half of a grant from 2021), and I'm trying to figure out the adjusted cost basis to make sure I don't get double taxed. I also received some ESPP stock in June 2024 for the January-June period. For the RSUs, I had 220 shares vest, but 83 were automatically sold to cover taxes, so I ended up with 137 shares. Looking at the release confirmation document, I see: Market price at grant (2021): $151.72 Release Price: $255.23 Sale Price: $252.70 FMV at Vest: $255.23 Sale price for shares sold: $252.70 Total Value (FMV × Total Shares): $56,150.60 Aggregate award price: $0.00 Total Tax Withheld: $20,990.58 On my 1099-B, the $20,990.58 is listed as the Proceeds and $21,195.09 is listed as the cost basis. I'm confused about how to calculate the adjusted cost basis to avoid being double-taxed. I think the 1099-B is showing the 83 shares that were sold to cover taxes, but I'm not sure if this is correct. I contacted my broker asking for a supplemental sheet showing the adjusted cost basis, but they just sent me the 1099 again and said they don't have anything else. To be clear, I haven't sold any of the 137 RSU shares I received - I'm still holding them. Any help understanding this would be super appreciated!
23 comments


Chloe Taylor
The 1099-B is indeed showing the shares sold to cover taxes. Here's how to understand your situation: When RSUs vest, the entire value (all 220 shares at $255.23 = $56,150.60) is considered ordinary income and should appear on your W-2. This is taxable regardless of whether you keep the shares or not. For the 83 shares that were sold automatically to cover taxes, your broker reports this on Form 1099-B. The proceeds ($20,990.58) represent what they got when selling those shares. The cost basis ($21,195.09) represents what those specific shares were worth at vesting (83 × $255.23). For your remaining 137 shares that you're still holding, your cost basis for each share is $255.23 (the FMV on vest date). You won't owe any additional tax on these shares until you sell them, and when you do, you'll only pay tax on any appreciation above $255.23 per share. To avoid double taxation, make sure your tax software knows that the basis reported on the 1099-B includes amounts already taxed as compensation on your W-2.
0 coins
Omar Hassan
•Thanks for the explanation! So just to confirm - when I eventually sell those 137 shares I'm still holding, I'll need to use $255.23 as my cost basis per share, right? And the difference between that and whatever I sell them for will be what's taxable as capital gains? Also, for the 83 shares that were already sold, should I expect to see any gain/loss on my tax return for those, or is that basically a wash since the cost basis and proceeds are so close?
0 coins
Chloe Taylor
•Yes, when you sell those 137 shares, your cost basis is $255.23 per share. You'll only pay capital gains tax on any amount above that price. If you sell below that price, you'll have a capital loss that can offset other gains. For the 83 shares already sold, you'll report a small capital loss of about $204 ($21,195.09 basis minus $20,990.58 proceeds). This happens because the shares were sold at a slightly lower price ($252.70) than their value at vesting ($255.23). It's a minor loss, but still reportable on your Schedule D.
0 coins
ShadowHunter
After dealing with RSU tax nightmares for years, I found this amazing tool at https://taxr.ai that specifically handles equity compensation like RSUs and ESPP shares. I was in the exact same situation last year with RSUs from my tech company, and I was pulling my hair out trying to reconcile the 1099-B with my W-2. Their system analyzed my brokerage documents (including those confusing vesting statements) and automatically calculated my adjusted cost basis for each lot of shares. It even showed me exactly where on my tax forms the RSU income was already reported to avoid double taxation. The best part was it generated a detailed report I could attach to my tax return explaining the adjusted basis calculations if I ever got audited.
0 coins
Diego Ramirez
•Does this tool work for ESPP shares too? I have both RSUs and ESPP and the ESPP calculations with the discount and lookback period are even more confusing to me than the RSUs.
0 coins
Anastasia Sokolov
•I'm skeptical... how does it handle different brokers? My company switched from E*Trade to Morgan Stanley mid-year and now I have this complete mess of statements and 1099s that don't seem to line up correctly.
0 coins
ShadowHunter
•Yes, it absolutely handles ESPP shares! It calculates the ordinary income portion from the discount, tracks your purchase price with lookback periods, and gives you the correct basis for tax reporting. It even handles those special ESPP holding period rules for qualifying vs disqualifying dispositions. For different brokers, that's actually one of the best features. You can upload documents from multiple brokers and it recognizes and normalizes the data from each one. I had a similar situation with both Schwab and Fidelity documents, and it matched everything up correctly and provided a consolidated view of all my equity compensation.
0 coins
Diego Ramirez
I just wanted to update everyone - I tried that taxr.ai site mentioned earlier and it was exactly what I needed for my RSU nightmare! I uploaded my vesting statements and 1099-B, and within minutes it showed me exactly how my RSUs were being reported across my tax documents. It highlighted where the income was already on my W-2 (box 14 had the RSU income listed as "STOCK") and calculated the adjusted cost basis for each lot of shares. The report it generated explained everything in plain English - how much was already taxed as ordinary income, what my new cost basis should be, and exactly how to report it all on Form 8949. It even flagged that my 1099-B was reporting the basis incorrectly (common problem with RSUs) and showed me how to fix it. Definitely worth checking out if you're dealing with RSUs or ESPP shares!
0 coins
Sean O'Connor
If you're still having issues figuring this out, you might want to try calling the IRS directly. I know everyone dreads that, but I used a service called Claimyr (https://claimyr.com) that got me through to an actual IRS agent in under 15 minutes. You can see how it works here: https://youtu.be/_kiP6q8DX5c I had a similar RSU basis issue last year and was completely stuck. The IRS agent walked me through exactly how to report the adjusted basis on Form 8949 to avoid being double-taxed. They even emailed me some documentation afterward. Saved me hours of research and probably a lot of money too.
0 coins
Zara Ahmed
•Wait, how does this actually work? I thought it was impossible to get through to the IRS. I've been trying to call them about my RSU issue for weeks.
0 coins
Luca Conti
•Sounds too good to be true. The IRS hold times are like 2+ hours these days. How could any service get you through in 15 minutes? And even if you get through, what are the chances you'd actually get someone who understands the complexities of RSU taxation?
0 coins
Sean O'Connor
•The service basically keeps dialing the IRS for you automatically and holds your place in line. When they're about to connect with an agent, you get a call back. It works because they have algorithms that know the best times to call and which menu options to select. I was definitely surprised that the IRS agent knew about RSUs, but I got transferred to someone in their specialized equity compensation department. They deal with these issues all the time because so many people report RSUs incorrectly. The agent I spoke with immediately understood the double taxation issue and knew exactly which form and which boxes needed to be adjusted.
0 coins
Luca Conti
I have to admit I was completely wrong about Claimyr. After my skeptical comment, I decided to try it myself since my RSU basis issues were driving me crazy. I got through to an IRS rep in about 20 minutes, and they transferred me to someone who actually specializes in stock compensation! The agent explained that the RSU income on my W-2 needs to be used to adjust the basis reported on my 1099-B. They walked me through exactly how to fill out Form 8949 with the correct adjustment code (B) and how to note "RSU basis adjustment" in the description column. They even sent me an email with IRS Publication 525 highlighted to show the relevant sections. Now I understand why my tax software was showing I owed an extra $15K - it was double-counting my RSU income! Getting that sorted out literally saved me thousands of dollars. Worth every penny to skip the usual 3-hour hold time.
0 coins
Nia Johnson
Here's a simple way to look at your RSUs: 1) When RSUs vest, the ENTIRE value is taxed as regular income (on your W-2) 2) Your cost basis for ALL shares (both kept and sold-to-cover) is the FMV on vesting day 3) The shares sold to cover taxes will show on 1099-B, but you'll have minimal gain/loss (just the difference between vesting price and selling price) 4) When you eventually sell your remaining shares, you only pay capital gains on any appreciation since vesting The reason people get confused is the 1099-B often doesn't show the correct basis. If your broker doesn't adjust it, you need to do it on Form 8949 with code B.
0 coins
CyberNinja
•Do you know if TurboTax handles this automatically? Or do I need to manually override something? I think mine is calculating this wrong because it's showing a huge gain on the RSU sale when there shouldn't be much.
0 coins
Nia Johnson
•TurboTax doesn't handle this automatically in most cases. When you enter your 1099-B information, you'll need to check "This sale involves compensation-related shares" and enter the correct cost basis yourself. In the Form 8949 section, you'll need to use adjustment code "B" and enter a description like "RSU basis adjustment - already taxed as compensation income." It's definitely confusing the first time, but once you understand the concept, it's pretty straightforward.
0 coins
Mateo Lopez
My company's stock tanked after my RSUs vested last year and I'm still bitter about paying all those taxes on the higher value. I got hit with about $30k in income tax when they vested at $200/share, and now the stock is worth like $120. Worst of both worlds - paid high taxes AND lost stock value. Ugh.
0 coins
Aisha Abdullah
•You can at least claim a capital loss if you sell them now. Not ideal but better than nothing. I did this last year and was able to offset some capital gains from other investments.
0 coins
Beatrice Marshall
I went through this exact same situation with my company's RSU program! The key thing to understand is that you've already been taxed on the full $56,150.60 as ordinary income (this should show up on your W-2). For your 137 remaining shares, your cost basis is indeed $255.23 per share. When you eventually sell them, you'll only pay capital gains tax on any appreciation above that amount. One tip that helped me: keep detailed records of all your RSU transactions, including the vesting statements and release confirmations. I created a simple spreadsheet tracking each vesting event, the FMV at vest, shares sold for taxes, and my remaining cost basis. This made it much easier when I had to report everything on my tax return. Also, if you're planning to hold those shares for more than a year from the vesting date, any gains will qualify for long-term capital gains treatment, which has better tax rates than short-term gains.
0 coins
Dylan Cooper
•This is really helpful advice! I'm curious about the spreadsheet you mentioned - do you track anything else besides the basic vesting info? I'm thinking about setting up something similar since I have RSUs vesting quarterly and it's getting confusing to track everything manually. Also, good point about the long-term vs short-term capital gains - I hadn't thought about timing my sales around the one-year mark from vesting.
0 coins
Leo Simmons
I've been dealing with RSU taxation for several years now, and one thing that really helped me was understanding that the IRS treats RSU vesting as a taxable event regardless of whether you sell the shares or not. Your situation looks pretty standard - the $56,150.60 should appear as supplemental wages on your W-2 (often in Box 14 or combined with your regular wages in Box 1). The key is making sure your tax software or preparer knows that this income was already taxed when calculating your capital gains/losses. For future reference, some brokers offer better RSU tax reporting than others. If you're planning to stay with your current employer and continue receiving RSUs, it might be worth asking HR if they can switch to a broker that provides clearer tax documentation. I switched from E*Trade to Schwab a few years ago and the difference in reporting quality was night and day. Also, consider setting aside cash for taxes on future RSU vestings rather than always selling shares to cover. If you believe in your company's stock, you can avoid the immediate sale and potential regret if the stock price goes up later. Just make sure you have enough liquid funds to cover the tax bill!
0 coins
Oliver Brown
•This is excellent advice about setting aside cash for future RSU taxes! I learned this the hard way - my first few RSU vestings I just let them auto-sell to cover taxes, but then I missed out on some nice gains when the stock price went up 40% over the next six months. Now I try to keep a separate savings account just for RSU tax payments. It's basically like having an estimated tax fund. The peace of mind is worth it, and I get to keep all my vested shares. Plus, if the stock tanks after vesting (which happened to me once), at least I have the cash set aside and don't have to scramble to find money for the tax bill. Your point about broker quality is spot on too. Some of these 1099-B forms are absolutely terrible at showing the correct basis adjustments. Makes tax time so much more stressful than it needs to be.
0 coins
Jamal Anderson
I've been through this exact RSU mess before! One thing that really helped me was requesting what's called a "supplemental 1099-B" from my broker specifically for RSU transactions. Some brokers will provide this if you ask directly - it shows the correct adjusted cost basis that accounts for the compensation income already reported on your W-2. If your broker won't provide that (sounds like they already said no), you'll need to manually adjust on Form 8949. The key is using code "B" in column (f) and writing something like "RSU - basis adjustment per Pub 525" in column (g). Then adjust the basis to reflect that you've already paid ordinary income tax on the full vesting value. For your 137 remaining shares, definitely keep good records showing your $255.23 per share basis. I use a simple note in my investment tracking that says "RSU vest 8/2024 - basis adjusted for W-2 income" so I don't forget years later when I sell. The most important thing is making sure your total tax burden is correct - you should only pay ordinary income tax once (at vesting) and then capital gains tax later (when you sell) on any appreciation above the vesting price.
0 coins