What is the total amount of fees when purchasing real estate in the USA?

Typical buyer closing costs (excluding down payment) are about 2–5% of the purchase price and include lender fees, title insurance, escrow/attorney fees, recording fees and prepaid taxes/insurance; sellers pay their own costs plus broker commissions.​