A good rule of thumb is to set aside an amount equal to 2-3% of the purchase price (most lenders will look for proof that you have a minimum of 1.5% for closing costs)