pH Calculator
Convert between pH, pOH, hydrogen ion and hydroxide concentration, or find the pH of a strong or weak acid or base from its concentration and Ka.
Weak acid. Solved from x² + Kax − KaC = 0 in full rather than assuming x is small, so the answer holds even when the acid is strongly ionised.
The acid or base is 1.31% ionised at this concentration.
What pH measures
pH is the negative base ten logarithm of the hydrogen ion concentration, so pH = −log10[H+]. Because it is a logarithm, each whole step is a factor of ten: pH 3 is ten times as acidic as pH 4 and a hundred times as acidic as pH 5. In pure water at 25 °C, [H+] and [OH−] are both 1.0 × 10−7 mol/L, which is where the familiar neutral value of 7 comes from. That 7 is not a universal constant; it is the water autoionisation constant Kw at room temperature, and it shifts if the temperature does.
pH, pOH and the two concentrations
These four quantities are one number wearing four hats. Give any one of them and the other three follow from pH + pOH = 14 and [H+][OH−] = Kw = 1.0 × 10−14. The first four options in the menu do exactly that. A pH of 3.4 gives a pOH of 10.6, a hydrogen ion concentration of 4.0 × 10−4 mol/L and a hydroxide concentration of 2.5 × 10−11 mol/L, and the calculation runs the same way from whichever end you start.
Strong acids and bases
A strong acid dissociates completely, so a 0.01 mol/L solution of hydrochloric acid gives 0.01 mol/L of hydrogen ions and a pH of 2. The shortcut pH = −log10C works fine down to about 10−6 mol/L and then quietly fails: it says 10−8 mol/L HCl has a pH of 8, which would make an acid basic. This tool solves the full balance including the hydrogen ions water contributes on its own, giving pH 6.98 instead, which is very slightly acidic, as it should be.
Weak acids and bases
A weak acid only partly ionises, and how far it goes depends on its acid dissociation constant Ka. The equilibrium gives x² + Kax − KaC = 0, where x is the hydrogen ion concentration. Textbooks usually drop the middle term and use x = √(KaC), which is close enough when ionisation is under about 5 per cent, and noticeably wrong when it is not. This tool solves the quadratic in full and also reports the percentage ionised, so you can see for yourself whether the shortcut would have held. Enter Ka as a number like 1.75 × 10−5, or switch the last box to pK and type 4.76.
Worth knowing
- pH is a logarithm, so a difference of one unit is a factor of ten in acidity, not a small step.
- The neutral point is 7 only at 25 degrees Celsius; it drops to about 6.14 in water at 100 degrees.
- pH values below 0 and above 14 are perfectly real, they just need very concentrated solutions.
- Strong means fully dissociated, not dangerous. Hydrofluoric acid is weak and still highly corrosive.
- Nothing is stored. The calculation runs on our server and the result is discarded once it is sent.