Worked example
Example: Illustrative water pH 7 with iron. The inputs, in the units selected above:
| Input | Value |
|---|---|
| pH | 7.0000 - |
| Temperature | 25.000 °C |
| Hydrogen partial pressure (atm) | 1.0000 - |
| Oxygen partial pressure (atm) | 0.21000 - |
| Metal standard potential | -447.00 mV |
| Ion charge | 2.0000 - |
| Ion activity defining immunity | 1.0000e-06 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Hydrogen line (below: water reduced) | -414.12 mV |
| Oxygen line (above: water oxidised) | 804.86 mV |
| Metal equilibrium potential (immunity below) | -624.48 mV |
| Metal above the hydrogen line (corrodes with H⁺ evolution if > 0) | -210.36 mV |
Open this example in the calculator and change any input.
Formula
\(E_{H_2} = -0.0592pH - 0.0296\log p_{H_2}, \quad E_{O_2} = 1.229 - 0.0592pH + 0.0148\log p_{O_2}, \quad E_M = E^0 + \frac{0.0592}{z}\log a\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(pH\) | pH | - |
| \(T\) | Temperature | K |
| \(p_{H_2}\) | Hydrogen partial pressure (atm) | - |
| \(p_{O_2}\) | Oxygen partial pressure (atm) | - |
| \(E^0_M\) | Metal standard potential | V |
| \(z\) | Ion charge | - |
| \(a_{M^{z+}}\) | Ion activity defining immunity | - |
| \(E_{H_2}\) | Hydrogen line (below: water reduced) | V |
| \(E_{O_2}\) | Oxygen line (above: water oxidised) | V |
| \(E_{M}\) | Metal equilibrium potential (immunity below) | V |
| \(E_M - E_{H_2}\) | Metal above the hydrogen line (corrodes with H⁺ evolution if > 0) | V |
Method and standards
Potential–pH.
Where it is used
- Cathodic protection potentials.
- Teaching Pourbaix diagrams.
Common mistakes
- Mixing SHE and reference electrode scales.
- Ignoring oxide passivity regions.
Assumptions and limits
- Equilibrium thermodynamics; ideal activities; water E⁰ at 25 °C.
References
- Potential–pH equilibria
Questions and answers
What does 'immunity' mean here?
Below the metal's equilibrium potential for 10⁻⁶ ion activity, the metal is thermodynamically stable and cannot corrode.
Why compare with the hydrogen line?
If the metal's potential is below it, water itself can oxidise the metal, releasing hydrogen.
What do the defaults represent?
Water at pH 7 and 25 °C in air, compared with iron (Fe²⁺, E⁰ −0.447 V) at 10⁻⁶ activity.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Pourbaix, Atlas of Electrochemical Equilibria in Aqueous Solutions (NACE, 1974), Fontana, Corrosion Engineering, 3rd ed. (McGraw-Hill, 1986)