In the US, you pay about 6.5-7%. You pay 5.5 to 6% to the two agents (buyer and seller agents) and about 1% in closing costs (title insurance, etc).
It has always seemed wildly inefficient to me. Especially the “buyer agent” who gets a couple percent entirely for escorting the buyer through homes and submitting an offer.