How to calculate pH from concentration
To calculate pH, take the negative log (base 10) of the hydronium concentration: pH = −log[H₃O⁺]. For [H₃O⁺] = 3.2 × 10⁻⁴ M, pH = −log(3.2 × 10⁻⁴) = 3.49. On a calculator, press (−), then LOG, then type the concentration.
If you know the hydroxide concentration instead, find pOH = −log[OH⁻] first, then pH = 14.00 − pOH (at 25 °C).
Strong acids and strong bases
Strong acids such as HCl, HBr, HI, HNO₃ and HClO₄ give up every H⁺ in water, so [H₃O⁺] equals the acid's molarity. Strong bases such as NaOH and KOH release one OH⁻ each; Ca(OH)₂, Sr(OH)₂ and Ba(OH)₂ release two, so [OH⁻] is twice their molarity.
- Strong acid: [H₃O⁺] = molarity, then pH = −log[H₃O⁺].
- Strong base: [OH⁻] = (number of OH) × molarity, then pOH = −log[OH⁻], then pH = 14.00 − pOH.
How many decimal places?
pH uses a special significant figure rule: the number of significant figures in the concentration becomes the number of decimal places in the pH. The digits before the decimal point only show the power of ten. So 3.2 × 10⁻⁴ M (two significant figures) gives pH 3.49 (two decimal places), and 1.00 × 10⁻³ M gives pH 3.000.
A sense check
Acids have a pH below 7 and bases above 7 at 25 °C. Each pH unit is a factor of 10 in [H₃O⁺], so a solution at pH 3 has ten times more H₃O⁺ than one at pH 4. If a base comes out with a pH under 7, you probably took the pOH and forgot to subtract it from 14.
Worked example: three concentrations
- [H₃O⁺] = 3.2 × 10⁻⁴ M: pH = −log(3.2 × 10⁻⁴) = 3.4949, which rounds to 3.49 (two significant figures in, two decimal places out).
- 0.025 M HNO₃, a strong acid: [H₃O⁺] = 0.025 M, so pH = −log(0.025) = 1.60.
- 0.0050 M Ba(OH)2, a strong base with two OH⁻: [OH⁻] = 2 × 0.0050 = 0.010 M, pOH = −log(0.010) = 2.00, so pH = 14.00 − 2.00 = 12.00.
- Sense check: the two acids are below 7, the base is above 7.
Common mistakes
- Forgetting the minus sign: the log of a small concentration is negative; the minus makes the pH positive.
- Using ln instead of log: pH uses log base 10, the LOG key.
- Giving pOH instead of pH for a base: after −log[OH⁻], subtract from 14.00.
- Counting one OH⁻ for Ba(OH)2: it releases two, so [OH⁻] is twice the molarity.
- Treating pH as a linear scale: pH 3 has 10 times more H₃O⁺ than pH 4.
Try it in the lab
- pH and pOH Lab, Stage 2: pH from [H₃O⁺], pOH from [OH⁻] →
- pH and pOH Lab, Stage 3: pH + pOH = 14 and Kw →
- pH and pOH Lab, Stage 5: Strong acids and bases →
Questions students ask
What is the formula for pH?
pH = −log[H₃O⁺], where [H₃O⁺] is the hydronium (hydrogen ion) concentration in mol/L.
How do I enter it on a calculator?
On most calculators press (−), then LOG, then the concentration. For 3.2 × 10⁻⁴, type 3.2, then EE or ×10ˣ, then (−)4.
Does this work for weak acids like vinegar?
Not directly. A weak acid only partly ionizes, so [H₃O⁺] is less than its molarity and must be found from its Ka first. Once you know [H₃O⁺], the pH formula is the same.
Can pH be negative?
Yes, for very concentrated strong acids: 2.0 M HCl has a pH of −0.30. In most general chemistry problems a negative pH means a typo.