pH Calculator: pH, pOH, [H+] and [OH-] with Universal Indicator Colour

This calculator finds the pH, pOH, hydrogen ion concentration [H+] and hydroxide ion concentration [OH−] of a solution at 25 °C. You can start from the concentration of a strong acid or base, from [H+] or [OH−], or from pH or pOH. It also shows where the solution sits on the universal indicator colour strip. It suits Class 10 Science (Acids, Bases and Salts) and the ionic equilibrium part of Class 11 Chemistry (Equilibrium).

Small numbers: 1e-3 or 1 x 10^-3

Formulas used

pH tells us how acidic or basic a solution is. The "p" means "negative logarithm (base 10) of".

  • pH = −log[H+] and [H+] = 10−pH
  • pOH = −log[OH−]
  • In water at 25 °C, Kw = [H+] × [OH−] = 1 × 10−14, so pH + pOH = 14

pH less than 7 means acidic, exactly 7 means neutral, and more than 7 means basic (alkaline). Each step of 1 on the pH scale is a tenfold change in [H+]: a solution of pH 3 has ten times more H+ ions than one of pH 4. Kw changes with temperature, so these numbers are for 25 °C only.

Strong acids and bases

Strong acids such as HCl and HNO3, and strong bases such as NaOH and KOH, ionise completely in water. So for an acid that gives n H+ ions per formula unit, [H+] = n × concentration. School questions usually treat H2SO4 as giving 2 H+ and Ca(OH)2 or Ba(OH)2 as giving 2 OH−. Weak acids such as acetic acid ionise only partly, and need their Ka, so they are not covered here.

Very dilute solutions

Water itself gives 10−7 mol/L of H+. When an acid is more dilute than about 10−6 mol/L, this cannot be ignored. For 10−8 M HCl, the simple formula gives pH 8, which is wrong because an acid cannot be basic. Taking water's ions into account, the calculator uses [H+] = (c + √(c2 + 4Kw)) ÷ 2, which gives pH 6.98.

Worked example

Question: Find the pH, pOH and [OH−] of 0.005 M sulphuric acid at 25 °C, taking it as completely ionised.

Step 1. Each H2SO4 gives 2 H+, so [H+] = 2 × 0.005 = 0.01 = 10−2 mol/L

Step 2. pH = −log(10−2) = 2.00

Step 3. pOH = 14 − 2 = 12.00

Step 4. [OH−] = 10−14 ÷ 10−2 = 10−12 mol/L

The solution is strongly acidic and would turn universal indicator red-orange. These are the values the calculator shows when the page opens. For practice: 0.001 M NaOH has pH 11, 0.05 M Ba(OH)2 has pH 13, and a solution with pH 4.5 has [H+] = 3.162 × 10−5 mol/L.

Universal indicator colours

Universal indicator is a mixture of indicators that shows a different colour at each pH: red for strong acids, orange and yellow for weak acids, green for neutral, blue for weak bases and violet for strong bases. The colours in the strip are a guide only; the exact shades depend on the brand of indicator.

Common mistakes

  • Forgetting the minus sign: pH is the negative log of [H+].
  • Forgetting to multiply by the number of H+ or OH− ions, for example in H2SO4 or Ba(OH)2.
  • Finding pOH for a base and giving it as the pH. For a base, find pOH first, then pH = 14 − pOH.
  • Thinking a lower pH means less acid. A lower pH means more H+ ions, so a stronger acidic solution.
  • Using pH + pOH = 14 at temperatures other than 25 °C.

Practise with