The pH of solution is related to the hydrogen ion concentration by the expression pH=−log[H+]. The hydrogen ion concentration is related to the voltage of hydrogen electrode by the expression E=E0−0.0592nlogPH2[H+]2. Thus, the pH of solution is related to the potential of hydrogen electrode.