Supposing the"reference value"of each index of groundwater quality and substituting the relative value for the monitoring value of index in the formula of pollution harm index,a general index formula of groundwater quality assessment are derived using the genetic algorithm to optimize the parameters.The formula was verified by the case analysis of groundwater quality assessment.The result shows the formula is simplifying,easy to calculate,simple to use and the objectivity,generality and comparison.