Whatever percentage you and the Realtor agree to.
The percentage is agreed to when you sign the listing agreement.
Yes, there are other costs involved in selling a home. Your Realtor can give you a pretty good estimate of what those will be. (They vary some, depending on location and regional customs.) They're generally not too much for the seller, though. The buyer usually ends up with a lot more transaction expenses.