Calcamaze

pH Calculator

Convert between pH, pOH, hydrogen ion [H⁺] and hydroxide [OH⁻] concentration, and see whether a solution is acidic or basic.

mol/L

For a strong acid such as HCl, this equals the acid’s molarity. Use e-notation for small values, e.g. 1e-9.

Result

pH
3
Acidic
pOH
11
Hydrogen ion concentration [H⁺]
1 × 10^-3 mol/L
Hydroxide concentration [OH⁻]
1 × 10^-11 mol/L

Find the pH of a solution from its hydrogen ion or hydroxide concentration, or convert a pH into concentrations and pOH. The calculator also tells you whether the solution is acidic, neutral or basic. It uses the standard relationships for water at 25 °C.

What is pH?

pH is a measure of how acidic or basic a water-based solution is. It is defined as the negative base-10 logarithm of the hydrogen ion concentration: pH = −log₁₀[H⁺], with [H⁺] in moles per litre. Pure water at 25 °C has [H⁺] = 1.0 × 10⁻⁷ mol/L, so its pH is 7.

Water always contains a little H⁺ and OH⁻, and at 25 °C their product is fixed: Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴. Taking logarithms gives pH + pOH = 14, so knowing any one of pH, pOH, [H⁺] or [OH⁻] gives the other three. Because the scale is logarithmic, each step of one pH unit is a tenfold change in acidity.

Formula

pH = −log₁₀[H⁺] · pOH = −log₁₀[OH⁻] · pH + pOH = 14

Concentrations are in moles per litre. pH + pOH = 14 holds at 25 °C, where the ion product of water Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴.

For a strong acid or base that fully dissociates, [H⁺] or [OH⁻] is simply its molarity (times the number of H⁺ or OH⁻ ions per formula unit).

Worked examples

0.001 M hydrochloric acid

I know the…
Hydrogen ion concentration [H⁺]
[H⁺]
0.001 mol/L
pH
3
pOH
11
Hydrogen ion concentration [H⁺]
1 × 10^-3 mol/L

HCl is a strong acid, so [H⁺] = 0.001 = 10⁻³ mol/L and pH = −log₁₀(10⁻³) = 3.

0.01 M sodium hydroxide

I know the…
Hydroxide concentration [OH⁻]
[OH⁻]
0.01 mol/L
pH
12
pOH
2
Hydrogen ion concentration [H⁺]
1 × 10^-12 mol/L

NaOH gives [OH⁻] = 0.01 mol/L, so pOH = 2 and pH = 14 − 2 = 12.

The hydrogen ion concentration of blood

I know the…
pH
pH
7.4
pH
7.4
pOH
6.6
Hydrogen ion concentration [H⁺]
3.981 × 10^-8 mol/L

At pH 7.4, [H⁺] = 10^−7.4 = 3.981 × 10^-8 mol/L — slightly basic.

pH of everyday substances (approximate)

SubstancepH[H⁺]
Battery acid0.53.162 × 10^-1 mol/L
Lemon juice21 × 10^-2 mol/L
Coffee51 × 10^-5 mol/L
Pure water (25 °C)71 × 10^-7 mol/L
Blood7.43.981 × 10^-8 mol/L
Baking soda solution8.35.012 × 10^-9 mol/L
Household ammonia11.53.162 × 10^-12 mol/L
Bleach131 × 10^-13 mol/L

Neutral is only pH 7 at 25 °C

Water ionizes more as it warms, so Kw rises and pH + pOH falls below 14. At 0 °C, pKw is about 14.9 and neutral water has a pH near 7.5; at 50 °C pKw is about 13.3 and neutral is near 6.6. Hot pure water is not acidic: [H⁺] and [OH⁻] are still equal. This calculator uses the 25 °C values, which suit most room-temperature work.

Common mistakes

  • Forgetting the minus sign: pH = −log₁₀[H⁺], so a smaller concentration gives a larger pH.
  • Using the molarity of a weak acid such as acetic acid as [H⁺] — weak acids only partly dissociate.
  • Applying pH + pOH = 14 at temperatures far from 25 °C, where Kw is different.

Frequently asked questions

What pH is neutral?

pH 7 at 25 °C, where [H⁺] = [OH⁻] = 1.0 × 10⁻⁷ mol/L. Below 7 is acidic and above 7 is basic.

How much more acidic is pH 3 than pH 5?

Each pH unit is a factor of 10 in [H⁺], so pH 3 has 100 times more hydrogen ions than pH 5.

Can pH be negative?

Yes. Any solution with [H⁺] above 1 mol/L has a negative pH; 2 M hydrochloric acid works out at about −0.3. At such high concentrations the simple formula is only approximate.

Does this work for weak acids?

Only if you already know [H⁺]. A weak acid only partly dissociates, so its [H⁺] is less than its molarity and depends on its acid dissociation constant Ka.

Sources

  1. Chemistry 2e, 14.2: pH and pOH, OpenStax, Rice University
  2. pH and Water, U.S. Geological Survey

Last updated · Calculations checked by automated tests· Editorial policy