How to calculate cost basis for company stock reported as W-2 income and 1099-B
Sold my ESPP shares this year and my broker's 1099-B shows a cost basis that is way lower than what I actually paid effectively. I know the discount portion showed up as ordinary income on my W-2, but I have no idea how to calculate cost basis for company stock reported as W-2 income 1099-B style when both forms seem to be telling a different story. I've compared the numbers manually but can't reconcile them. My broker shows the purchase price only as basis, with no adjustment for the income already taxed. If I just enter what's on the 1099-B into Form 8949 without fixing anything I'll be paying tax on that same income twice. How do I figure out the correct adjusted basis and where exactly do I enter the adjustment on the return?