Carl
Level 15

Deductions & credits

As the seller, sales expenses that you incur that are related to the disposition/payoff of  your existing mortgage are flat out deducted from your gain. I doubt you have any such expenses.

Expenses related to your disposition/sale/transfer of the property to the buyer are added to the cost basis of the property, and thus decrease your taxable gain on the sale. I would expect these types of expenses to be the only expenses you have.