Ultimate Calculator
Science guide

How to calculate pH and pOH

Calculate pH and pOH from concentration for strong acids and bases, convert pH back to concentration, and understand the logarithmic scale.

pH is the negative base-10 logarithm of the hydrogen ion concentration in moles per litre: pH = −log[H⁺]. A solution with [H⁺] = 0.001 mol/L has a pH of 3.

The key formulas

pH = −log[H⁺]
pOH = −log[OH⁻]
pH + pOH = 14 (at 25 °C)

Square brackets mean concentration in mol/L (also written M). To go the other way, from pH back to concentration:

[H⁺] = 10^(−pH)
[OH⁻] = 10^(−pOH)

The relationship pH + pOH = 14 comes from the self-ionization of water. In any water-based solution at 25 °C, [H⁺] × [OH⁻] = 1.0 × 10⁻¹⁴. Taking the negative log of both sides gives the sum of 14.

The pH scale

pH[H⁺] in mol/LTypeTypical example
11 × 10⁻¹Strongly acidicStomach acid
31 × 10⁻³AcidicVinegar
51 × 10⁻⁵Weakly acidicBlack coffee
71 × 10⁻⁷NeutralPure water
91 × 10⁻⁹Weakly basicBaking soda solution
111 × 10⁻¹¹BasicHousehold ammonia
131 × 10⁻¹³Strongly basicDrain cleaner

Example values are approximate. Below 7 is acidic, 7 is neutral, and above 7 is basic (alkaline).

Why the scale is logarithmic

Hydrogen ion concentrations in everyday solutions range over more than fourteen powers of ten. A log scale compresses that into manageable numbers. The consequence is that each step of 1 on the pH scale is a factor of 10 in concentration:

  • pH 3 is 10 times more acidic than pH 4.
  • pH 3 is 100 times more acidic than pH 5.
  • pH 3 is 1,000 times more acidic than pH 6.

Because of the minus sign, a lower pH means a higher hydrogen ion concentration. If logarithms are unfamiliar, the logarithm calculator lets you experiment with them.

Strong acids

A strong acid dissociates completely in water. For an acid that releases one hydrogen ion per molecule, such as HCl, HNO₃ or HBr, [H⁺] equals the acid concentration.

Worked example 1: 0.0035 M HCl

  1. [H⁺] = 0.0035 mol/L = 3.5 × 10⁻³
  2. log(3.5 × 10⁻³) = log 3.5 + log 10⁻³ = 0.544 − 3 = −2.456
  3. pH = −(−2.456) ≈ 2.46

A quick sense check: 0.0035 lies between 0.001 (pH 3) and 0.01 (pH 2), so the answer must be between 2 and 3.

Strong bases

A strong base such as NaOH or KOH dissociates completely to give hydroxide ions. Find pOH first, then subtract from 14.

Worked example 2: 0.002 M NaOH

  1. [OH⁻] = 0.002 mol/L = 2 × 10⁻³
  2. pOH = −log(2 × 10⁻³) = −(0.301 − 3) = 2.699
  3. pH = 14 − 2.699 ≈ 11.30

Worked example 3: 0.005 M Ca(OH)₂

Each unit of calcium hydroxide releases two hydroxide ions.

  1. [OH⁻] = 2 × 0.005 = 0.010 mol/L
  2. pOH = −log(0.010) = 2.00
  3. pH = 14 − 2.00 = 12.00

From pH back to concentration

Worked example 4: a solution with pH 4.60

  1. [H⁺] = 10^(−4.60)
  2. [H⁺] ≈ 2.5 × 10⁻⁵ mol/L
  3. pOH = 14 − 4.60 = 9.40, so [OH⁻] = 10^(−9.40) ≈ 4.0 × 10⁻¹⁰ mol/L

The pH calculator converts between pH, pOH, [H⁺] and [OH⁻] in any direction. If you are starting from a mass of solute and a volume, find the concentration first with the molarity calculator.

A note on weak acids and bases

Weak acids such as ethanoic (acetic) acid only partly dissociate, so [H⁺] is much smaller than the acid concentration. Their pH depends on the acid dissociation constant, Ka, and needs an equilibrium calculation. For a weak acid of concentration C, a common approximation is [H⁺] ≈ √(Ka × C). Using the strong-acid method on a weak acid gives a pH that is too low.

Common mistakes

  • Dropping the minus sign. log(0.001) is −3. The pH is +3.
  • Using natural log. pH uses log base 10, the "log" key, not "ln".
  • Stopping at pOH for a base. A base with pOH 2.7 has pH 11.3, not 2.7.
  • Ignoring multiple ions. Ca(OH)₂ and Ba(OH)₂ give two OH⁻ each.
  • Thinking the scale is linear. pH 2 is not twice as acidic as pH 4. It is 100 times as acidic.
  • Applying the formula to extremely dilute acids. A 10⁻⁹ M HCl solution does not have pH 9. Water itself supplies 10⁻⁷ M of H⁺, so the pH stays just below 7.

Common questions

What is the formula for pH?

pH = −log[H⁺], where [H⁺] is the hydrogen ion concentration in moles per litre and the logarithm is base 10.

How do I find the pH of a strong base?

Calculate pOH = −log[OH⁻], then use pH = 14 − pOH at 25 °C. A 0.002 M NaOH solution has pOH 2.70 and pH 11.30.

How much more acidic is pH 3 than pH 5?

100 times. Each whole pH unit is a factor of 10 in hydrogen ion concentration, so two units is 10 × 10.