Get your taxes done using TurboTax

if the gain on the worksheet is the same as on schedule D and the sales price on schedule D is gross (before sales expenses  - this is necessary because the IRS matches gross proceeds reported with any 1099-S they get) then the cost column includes sales expenses and everything is fine