pH calculator
Find the pH of strong and weak acids and bases, polyprotic acids and buffers. It shows the textbook working (ICE table, 5% rule, Henderson–Hasselbalch) and the exact answer.
How pH is calculated
pH = −log[H⁺], and pH + pOH = 14 at 25 °C. Strong acids and bases ionize completely, so [H⁺] or [OH⁻] comes straight from the concentration. Weak acids only partly ionize, so you use Ka and an ICE table; when ionization is under 5%, x ≈ √(Ka × C).
Exact answers
Behind the scenes, the calculator solves the full charge balance, including every proton of polyprotic acids and the ions from water. That is why a very dilute strong acid (say 10⁻⁸ M HCl) correctly gives a pH just under 7, not 8.
Buffers
A buffer is a weak acid with its conjugate base. The Henderson–Hasselbalch equation, pH = pKa + log([A⁻]/[HA]), gives its pH. A buffer works best within about one pH unit of its pKa.
Questions students ask
Can pH be negative?
Yes. Very concentrated strong acids (above 1 M) give pH below 0, though real solutions this strong behave less ideally.
Why is the pH at the equivalence point not 7 for weak acids?
At equivalence only the conjugate base is left, and it is itself a weak base, so the solution is slightly basic.