Calculation of standard reduction potential