Chemistry and laboratory

pH calculator for acids and bases

pH, pOH, [H⁺] and [OH⁻] for strong and weak acids and bases from concentration and Ka, pKa, Kb or pKb, solved exactly, plus pH conversions.

Runs in your browser. What you enter stays on this page and is not uploaded.

pKa at 25 °C (Goldberg et al. 2002); for bases, the pKa of the conjugate acid.
For a base you may give the pKa of its conjugate acid; it is converted with pKw.
14.00 at 25 °C; it is lower in warmer water.

Result

pH
2.881
pOH
11.119
[H⁺]
0.00132 mol/L
[OH⁻]
7.60 × 10⁻¹² mol/L
Fraction dissociated
1.32 %

Working

  1. Ka = 1.754 × 10⁻⁵ (pKa = 4.756)
  2. Exact: [H⁺] = Ka·C ÷ ([H⁺] + Ka) + Kw ÷ [H⁺], solved numerically
  3. Approximation √(Ka·C) = 0.001324 M, giving pH 2.878
  • Only one proton (or one OH⁻ equivalent) is considered; later dissociations of polyprotic acids are ignored, which is fine when their pKa values are 3 or more units apart.
  • Uses concentrations in place of activities (ideal dilute solution), with pKw = 14.00 (14.00 at 25 °C). pH is shown with as many decimal places as the least precise input has significant figures (2 to 4).

Method and limits

Pick the kind of solution, then enter its concentration and, for a weak acid or base, its dissociation constant. The pH appears as you type.

Equations

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

  • Strong acid: complete dissociation, plus water’s own ions: [H⁺] = (C′ + √(C′² + 4Kw)) ÷ 2, with C′ = number of protons × C. This matters below about 10⁻⁶ M: 1.0 × 10⁻⁸ M HCl has pH 6.98, not 8.
  • Weak acid HA: the charge balance [H⁺] = Ka·C ÷ ([H⁺] + Ka) + Kw ÷ [H⁺] is solved numerically, so it stays exact when the familiar shortcut [H⁺] ≈ √(Ka·C) fails (dilute solutions or larger Ka). The shortcut is shown for comparison.
  • Weak base: the same with Kb and [OH⁻]. Kb = Kw ÷ Ka of the conjugate acid.

Preset pKa values are thermodynamic values at 25 °C and zero ionic strength from Goldberg, Kishore and Lennen (2002), a NIST-reviewed compilation.

Limits

Concentrations stand in for activities, which is accurate for dilute solutions (roughly below 0.01–0.1 M); in concentrated solutions measured pH can differ by tenths of a unit. Only the first dissociation of a polyprotic acid is used. pH is shown with as many decimal places as the concentration has significant figures.

Worked example

0.100 M acetic acid (pKa 4.756, Ka = 1.754 × 10⁻⁵): the exact solution gives [H⁺] = 1.32 × 10⁻³ M, pH 2.881, with 1.3 % of the acid dissociated. 0.100 M ammonia (pKa of NH₄⁺ 9.245, so Kb = 1.76 × 10⁻⁵) gives pH 11.12.

References

Related tools

Share this page

Remind me to visit Contifield

Adds a repeating reminder to your calendar, titled “Contifield Reminder: Visit www.contifield.com”.