pH Calculator

Concentrations in mol/L (1e-16 to 100, scientific notation such as 3.2e-5 works). pH or pOH from -2 to 16.
Chemistry Updated 29 Oct 2026

Calculates pH, pOH, the hydrogen ion concentration [H+] and the hydroxide ion concentration [OH-] for aqueous solutions at 25 °C. Start from any one of these four values, or from the concentration of a strong acid, a strong base, or a weak acid or base chosen from a list (or with your own Ka or Kb). The calculator shows whether the solution is acidic, neutral or basic and, for weak acids and bases, how much of it is ionised.

  • Temperature is 25 °C (Kw = 1.0 × 10⁻¹⁴).
  • Ideal behaviour: concentration is used in place of activity.
  • Strong acids and bases are fully dissociated; weak acids and bases are treated as monoprotic (only the first Ka or Kb is used).
  • Accepted range: ion concentrations 1e-16 to 100 mol/L, pH or pOH -2 to 16, acid or base concentrations 1e-12 to 20 mol/L.

Formula

pH = −log10[H+]; pOH = −log10[OH−]; pH + pOH = 14 at 25 °C. Weak acid: [H+]³ + Ka[H+]² − (Ka·C + Kw)[H+] − Ka·Kw = 0
  • At 25 °C the ion product of water is Kw = [H+][OH−] = 1.0 × 10⁻¹⁴, which gives pH + pOH = 14.
  • [H+] = 10^(−pH) and [OH−] = 10^(−pOH).
  • Strong acids and bases are fully dissociated: [H+] = (C + √(C² + 4Kw)) ÷ 2, which includes the H+ from water so very dilute solutions approach pH 7 instead of passing it. A base such as Ca(OH)2 releases 2 OH⁻ per unit.
  • Weak acids and bases are solved from the full charge balance (the cubic above, with Kb and [OH−] for a base). For most lab concentrations this matches the familiar approximation [H+] ≈ √(Ka·C).
  • Percent ionised = Ka ÷ (Ka + [H+]) for an acid, or Kb ÷ (Kb + [OH−]) for a base.
  • pH below 7 is acidic, exactly 7 is neutral and above 7 is basic at 25 °C.

[H+] = 3.2 × 10⁻⁵ mol/L

Inputs
  • Calculate pH from: h
  • Value: 0.000032

pH = −log10(3.2 × 10⁻⁵) = 4.49. pOH = 14 − 4.49 = 9.51 and [OH−] = 10⁻¹⁴ ÷ 3.2 × 10⁻⁵ = 3.125 × 10⁻¹⁰ mol/L, so the solution is acidic.

Sources & references

Frequently asked questions

What does pH measure?
pH is the negative base-10 logarithm of the hydrogen ion activity, which for dilute solutions is approximated by the concentration in mol/L. Lower values mean more acidic solutions.
Why is the calculation fixed at 25 °C?
The ion product of water changes with temperature. The relation pH + pOH = 14 and the neutral point of pH 7 are only exact at 25 °C.
How do I calculate the pH of a weak acid?
Choose 'Weak acid concentration and Ka', pick the acid or enter its Ka, and enter the concentration. For 0.1 M formic acid (Ka 1.8 × 10⁻⁴) the pH is 2.38, because only about 4% of the acid is ionised.
Why does a very dilute acid not go above pH 7?
Water itself supplies about 10⁻⁷ mol/L of H+. The calculator includes this, so 10⁻⁸ M HCl gives pH 6.98, not 8.
Why are very concentrated solutions inaccurate?
At high concentrations ions interact, so activity differs from concentration and the measured pH deviates from the ideal value shown here.
How is pOH related to pH?
pOH is the negative logarithm of the hydroxide concentration. At 25 °C, pOH = 14 − pH.

Related calculators