How do I calculate the selling expenses of my home

Is the payoff of my mortgage and owed property taxes on a home sale considered a selling expense of the home?