The Short Answer
As a rule of thumb, we advise buyers to expect up to 6% of the purchase value for closing costs. Often, the costs end up only a little over 5%, but they can go as high as 6.5% for more expensive properties.
To see a breakdown of these costs and for more details, see The In-Depth Answer.