pH calculator: acids, bases, buffers and converter
Pick an acid or a base and a concentration to get its pH, pOH and ion concentrations, solved exactly. Or find the pH of a buffer, or convert between pH, pOH, [H⁺] and [OH⁻]. It runs in your browser.
Ideal solutions at 25 °C: activities are ignored, as in textbook problems, so very concentrated solutions (1 M and above) differ in practice.
The solution is acidic. About 1.3% of the acid has reacted with water, and the shortcut √(Ka·C) would be accurate to within 5%.
Questions
How is the pH of a strong acid calculated?
A strong acid dissociates completely, so [H⁺] equals the acid concentration (twice that for the first step of sulfuric acid, with the second step partial), and pH = −log₁₀[H⁺]. For a 0.01 M solution of HCl the pH is 2.
How is the pH of a weak acid calculated?
A weak acid only partly reacts with water, so you solve Ka = x²/(C − x) for x = [H⁺], then take −log₁₀(x). This calculator solves the exact equation, with water's own ions included. The shortcut x ≈ √(Ka·C) is accurate when it is less than 5% of C.
How do I find the pH of a base?
Find [OH⁻] the same way (complete dissociation for a strong base, Kb for a weak one), take pOH = −log₁₀[OH⁻], and then pH = 14 − pOH at 25 °C.
What does the buffer calculator use?
The Henderson–Hasselbalch equation, pH = pKa + log([A⁻]/[HA]). It holds well when both concentrations are much larger than the amount of acid or base you add.
Where do the Ka and Kb values come from?
They are typical textbook values at 25 °C. Published tables differ slightly in the second digit, so a result can differ from your textbook by a few hundredths of a pH unit.
Worked examples: the pH of 195 common solutions, with every step. See also the equation balancer.