As a seller, you will have to pay for some of the transfer taxes, recording fees, escrow fees, and title insurance. Those will run about 2-3% of the price of your home. Then, you have broker commission fees. Those will run you about 3-6%, depending on the arrangement you have with a listing agent or if you even have an listing agent at all.
From the buyer side, the fees really depends on a number of factors, whether financing is used and whether you're offering to pay for non-customary fees.