Chlorine Dose for Industrial Water

How can I calculate the right dose of chlorine in an industrial water tank? This water is treated to become drinking water.  Is there a formula in which I can enter my parameters?