How to Calculate pH: Formulas, pOH and Worked Examples
A question gives [H₃O⁺] = 3.20 × 10⁻⁴ mol/L and asks for pH. The calculation is −log₁₀(3.20 × 10⁻⁴) = 3.495. If it gives [OH⁻] instead, that same calculation gives pOH, and you need one more step. The number on the page tells you which route to use.
This guide starts with that choice, then works through hydronium, hydroxide, pH in reverse and a dilute strong acid. All examples assume aqueous solutions at 25 °C unless stated otherwise. The calculations use the common concentration approximation; the precise definition of pH uses activity.
The pH formula and what its input means
For the dilute aqueous solutions in introductory problems, use
The bracket means the equilibrium molar concentration of hydronium, H₃O⁺. Textbooks often write [H⁺] as shorthand. The division by 1 mol/L makes the logarithm's argument dimensionless; on a calculator you enter just the numerical value of the concentration in mol/L. log, not ln, is the base-10 key. OpenStax Chemistry 2e, section 14.2 gives the introductory pH and pOH formulas, their inverse forms and the 25 °C relation between them.
A pH unit is logarithmic. A tenfold increase in [H₃O⁺] lowers pH by exactly one under this approximation: 1.00 × 10⁻³ mol/L gives pH 3.00, and 1.00 × 10⁻⁴ mol/L gives pH 4.00. A twofold concentration change moves pH by log₁₀2 ≈ 0.301, not by two pH units. This is why averaging pH values is not the same as averaging concentrations.
The IUPAC pH measurement recommendations use the activity of hydrogen ions, a measure that accounts for interactions in solution. Concentration stands in for activity in the classroom method for sufficiently dilute solutions. Treat the answers below as calculations from the stated concentrations, not promises about what a pH meter reads in a concentrated or complex mixture.
Diagnostic table: choose the route before calculating
The table is a quick test for the most common wrong turns. Every numerical check is for 25 °C and the dilute-solution approximation. Compare the input type with the first column before pressing log.
| Given input | Correct path | Numerical check | Common wrong answer and why |
|---|---|---|---|
| [H₃O⁺] = 3.20 × 10⁻⁴ mol/L | pH = −log₁₀(3.20 × 10⁻⁴) | 3.495 | −3.495: the minus sign was dropped from the formula |
| [OH⁻] = 4.50 × 10⁻³ mol/L | pOH = −log₁₀(4.50 × 10⁻³), then pH = 14.00 − pOH | 11.65 | 2.347: that is pOH, not pH |
| pH = 5.20 | [H₃O⁺] = 10⁻⁵·²⁰ mol/L | 6.3 × 10⁻⁶ mol/L | 5.20 mol/L: pH is not itself a concentration |
| 0.0120 mol/L HCl diluted from 15.0 to 60.0 mL total | First c₂ = c₁V₁/V₂ = 0.00300 mol/L; then pH = −log₁₀(c₂) | 2.523 | 1.921: using the undiluted concentration |
| 0.100 mol/L weak acid HA, with Ka given | Find equilibrium [H₃O⁺] from Ka, then take −log₁₀ | Depends on Ka | 1.000: assumes all HA dissociates |
That last row matters. The pH formula takes hydronium concentration, not whatever concentration appears in the question. For a weak acid, the initial acid concentration and equilibrium hydronium concentration are different. The equilibrium-constant guide shows how to set up the reaction expression needed to find the latter.
Example 1: calculate pH from hydronium
Question. An aqueous sample has [H₃O⁺] = 3.20 × 10⁻⁴ mol/L at 25 °C. Find its pH and check the answer by reversing the calculation.
- Identify the input: it is already the equilibrium hydronium concentration, in mol/L. No acid-dissociation calculation is needed.
- Enter
−log(3.20E−4)in base 10. The unrounded result is 3.494850..., so pH = 3.495. - Reverse it: 10⁻³·⁴⁹⁵ ≈ 3.20 × 10⁻⁴ mol/L. The result recovers the input to its stated precision.
The 3.20 has three significant figures, so report three digits after the decimal point in the logarithmic pH value. The digit before the decimal point locates the power of ten; it does not count as a significant digit of the measured concentration. OpenStax's pH example uses this decimal-places rule. If your course rounds pH to two decimal places, follow its stated convention, but avoid reporting the whole calculator display as a measurement.
A quick magnitude check catches a mistyped exponent. Since the concentration lies between 10⁻³ and 10⁻⁴ mol/L, pH must lie between 3 and 4. The logarithmic midpoint is pH 3.500, where [H₃O⁺] = √(10⁻³ × 10⁻⁴) = 3.162... × 10⁻⁴ mol/L. Our 3.20 × 10⁻⁴ is slightly higher, so its pH must be just below 3.500. It is.
Example 2: calculate pH from hydroxide
Question. A solution has [OH⁻] = 4.50 × 10⁻³ mol/L at 25 °C. Find pOH, pH and [H₃O⁺].
Water's ion product is Kw = [H₃O⁺][OH⁻] = 1.0 × 10⁻¹⁴ under the usual 25 °C approximation. Taking negative base-10 logarithms gives pH + pOH = pKw = 14.00. The word "at" matters: OpenStax notes that Kw changes with temperature.
- Calculate pOH = −log₁₀(4.50 × 10⁻³) = 2.346787..., so pOH = 2.347.
- Subtract from pKw: pH = 14.00 − 2.346787... = 11.65 to two decimal places. Keep guard digits until the last step.
- Check from Kw: [H₃O⁺] = (1.0 × 10⁻¹⁴)/(4.50 × 10⁻³) = 2.222... × 10⁻¹² mol/L before rounding, or 2.2 × 10⁻¹² mol/L at the precision of Kw. Taking −log₁₀ of the unrounded value gives ≈ 11.65.
The solution is basic because [OH⁻] exceeds [H₃O⁺]. A first answer of 2.347 for pH would describe the opposite side of the scale. If a task gives [OH⁻], label the first logarithm pOH on your paper, even when you can do the arithmetic mentally.
Example 3: work backwards from pH
Question. A solution has pH 5.20 at 25 °C. Estimate its hydronium concentration and pOH.
Reverse the logarithm rather than dividing by the pH:
With pH 5.20, 10⁻⁵·²⁰ = 6.30957... × 10⁻⁶ mol/L. Two decimal places in pH support two significant figures in the concentration, so write 6.3 × 10⁻⁶ mol/L. At 25 °C, pOH = 14.00 − 5.20 = 8.80. Multiplying 6.3 × 10⁻⁶ by 10⁻⁸·⁸⁰, about 1.6 × 10⁻⁹ mol/L, recovers Kw to rounding.
The inverse is useful when a question gives a pH and asks for an amount of acid or base in a volume. Get the ion concentration first, then use n = cV with volume in litres. The moles guide covers that unit conversion. Do not treat this hydronium amount as the original amount of a weak acid without considering its dissociation.
Example 4: concentration before pH for a strong acid
Question. Dilute 15.0 mL of 0.0120 mol/L HCl to a total volume of 60.0 mL. Estimate the final pH at 25 °C.
HCl is a strong monoprotic acid: for this suitably dilute introductory example, one mole of dissolved HCl supplies approximately one mole of H₃O⁺. OpenStax's acid-strength section distinguishes complete ionization of a strong acid from partial ionization of a weak one. First conserve the moles of HCl during dilution:
- n(HCl) = 0.0120 mol/L × 0.0150 L = 1.80 × 10⁻⁴ mol.
- c after dilution = (1.80 × 10⁻⁴ mol)/0.0600 L = 0.00300 mol/L. Equivalently, c₂ = c₁V₁/V₂.
- Approximate [H₃O⁺] by 0.00300 mol/L. Then pH = −log₁₀(0.00300) = 2.522878..., or 2.523.
The volume is 60.0 mL total, not 60.0 mL of added water. Using 75.0 mL would describe a different dilution. As a check, the concentration fell by a factor of four, and pH rose from −log₁₀(0.0120) ≈ 1.921 by log₁₀4 ≈ 0.602 to 2.523. Do not apply [H₃O⁺] = initial acid concentration to a weak acid: its dissociation is an equilibrium problem.
If the acid concentration is unknown and an experiment gives the equivalence volume, the titration calculation guide shows how to find that concentration from burette readings and the reaction ratio before any pH question.
Common traps and limits of the shortcut
Using pH = 14 − pOH without a temperature. The general relation is pH + pOH = pKw. The familiar 14.00 belongs to 25 °C. Neutral means equal hydronium and hydroxide concentrations, so neutral pH is pKw/2. At another temperature that need not be 7.00. A solution at pH below 7 is therefore not automatically acidic if the temperature is not 25 °C.
Taking a log of an amount in moles. pH uses activity or, in these exercises, molar concentration. If the question gives moles and volume, calculate n/V in mol/L first. If it gives mass, use molar mass to get n before you divide by volume.
Treating every acid as fully dissociated. A weak acid needs its acid dissociation constant Ka and an equilibrium calculation. If a question gives equilibrium [H₃O⁺] directly, you can use it regardless of whether the acid is weak or strong. The Le Chatelier guide explains how changing concentration can shift an equilibrium, but a pH calculation still needs a numerical ion concentration.
Treating the concentration formula as an exact meter reading. IUPAC defines pH through hydrogen-ion activity. Solutions with appreciable ionic interactions can depart from the concentration approximation; mixtures, buffers and concentrated solutions need their own model or measurement. The simple formula is best used within the assumptions the problem states.
Self-check: solve first, then compare
A. At 25 °C, [H₃O⁺] = 2.50 × 10⁻⁵ mol/L. Find pH to three decimal places. Solution: −log₁₀(2.50 × 10⁻⁵) = 4.602. The input lies between 10⁻⁴ and 10⁻⁵ mol/L, so the pH lies between 4 and 5.
B. At 25 °C, [OH⁻] = 6.30 × 10⁻⁶ mol/L. Find pOH and pH. Solution: pOH = −log₁₀(6.30 × 10⁻⁶) = 5.201; pH = 14.00 − 5.200659... = 8.80 to two decimal places. Since pH exceeds 7 at this temperature, the solution is basic.
C. At 25 °C, pH is 4.00. What happens to [H₃O⁺] if pH falls to 3.00? Solution: 10⁻⁴·⁰⁰ = 1.0 × 10⁻⁴ mol/L; 10⁻³·⁰⁰ = 1.0 × 10⁻³ mol/L. The hydronium concentration becomes ten times larger, not one unit larger. The pH values have two decimal places, so the concentrations are written to two significant figures.
The route is the skill: identify the ion, find its equilibrium concentration in mol/L, then take the right logarithm. Chemistry Zen includes acids-and-bases practice with hints, theory and a worked solution beside each question. Use the table above to check which operation the next question actually calls for.
Common questions
- What is the formula for pH?
- For a dilute aqueous solution, pH ≈ −log₁₀([H₃O⁺]/(1 mol/L)). Enter the hydronium concentration in mol/L. The exact thermodynamic definition uses hydrogen-ion activity rather than concentration.
- How do you calculate pH from pOH?
- At 25 °C, pH + pOH = 14.00, so pH = 14.00 − pOH. At another temperature use the appropriate pKw, because water's ion product changes with temperature.
- Can you use the starting acid concentration as [H₃O⁺]?
- Only when the acid's dissociation and stoichiometry justify it, such as a suitably dilute solution of the strong monoprotic acid HCl. A weak acid partially dissociates, so its equilibrium [H₃O⁺] must be found from Ka or given directly.
- Does neutral always mean pH 7?
- No. Neutral means [H₃O⁺] and [OH⁻] are equal. Neutral pH is 7.00 at 25 °C under the usual dilute-solution approximation, but pKw and neutral pH change with temperature.
Edited by Ivan Terekhin, drafted with AI tools.
