The amount realized on the sale of your home is the selling price minus selling expenses.
Per IRS Publication 523 Selling Your Home:
Selling expenses include:
- Fees for a service that helped sell your home without a broker,
- Advertising fees,
- Legal fees, and
- Mortgage points or other loan charges paid by the seller, such as loan placement fees or "points."