Are you paying Cash or with a Mortgage?
Cash, around 2-3k.
Mortgage around 4%.
If you have applied for a Mortgage , request a Good Faith Estimate based on the property you are looking to buy or based on an estimate.
A good rule of thumb for Closing Costs is 3 - 4% of the Purchase Price. So $5,100 to $6,800 is a good target for a $170,000 Purchase. You can obviously get a Good Faith Estimate from a Lender to help you fine tune this number.