Get your taxes done using TurboTax

When you report your 1099-B TurboTax will calculate that for you.