Calculation of Theoretical pH Values