Among the costs of selling a home, you can expect to pay real estate agent commissions and closing fees plus capital gains taxes if their profit exceeds IRS exclusion limits.