pH Calculator
Definitive Answer
pH = -log10[H+]. Pure water has pH 7 (neutral). pH below 7 is acidic; above 7 is basic. Each pH unit represents a 10x change in hydrogen ion concentration. Stomach acid is pH ~1.5; blood is pH 7.35-7.45.
Calculate pH from H+ concentration, or find [H+] and [OH-] from pH.
How It Works
Enter either the pH value or the hydrogen ion concentration [H⁺] in mol/L. The calculator uses the logarithmic relationship between the two, then computes pOH and [OH⁻] using the water autoionization constant (Kw = 10⁻¹⁴ at 25°C). Changing either input field updates all four output values instantly.
Formulas
Common pH Reference Values
- Battery acid: pH ≈ 0 | Stomach acid: pH ≈ 1–2 | Lemon juice: pH ≈ 2–3
- Coffee: pH ≈ 5 | Milk: pH ≈ 6–7 | Pure water: pH = 7
- Blood: pH ≈ 7.4 | Seawater: pH ≈ 8 | Baking soda: pH ≈ 8.3
- Bleach: pH ≈ 12 | NaOH (1 M): pH = 14
Why pH Uses a Logarithmic Scale
The concentration of H⁺ ions in common solutions spans 14 orders of magnitude — from 1 mol/L in strong acids to 10⁻¹⁴ mol/L in strong bases. A logarithmic scale compresses this enormous range into a convenient 0–14 scale. Each one-unit change in pH represents a tenfold change in H⁺ concentration, so a solution at pH 3 is 10 times more acidic than one at pH 4 and 100 times more acidic than one at pH 5.
Strong vs. Weak Acids and pH
For strong acids (HCl, H₂SO₄, HNO₃), [H⁺] equals the molar concentration because they dissociate completely. For a 0.01 M HCl solution, pH = −log(0.01) = 2. Weak acids (acetic acid, citric acid) only partially dissociate; their pH is calculated using the acid dissociation constant Ka and the Henderson-Hasselbalch equation, which is more complex. This calculator is suitable for strong acids and bases or situations where [H⁺] is directly known.
Buffers and pH Stability
A buffer solution resists pH changes upon addition of small amounts of acid or base. Buffers consist of a weak acid and its conjugate base (or weak base and its conjugate acid) in roughly equal concentrations. Biological systems rely heavily on buffers — blood is maintained at pH 7.35–7.45 by the bicarbonate buffer system. Even a small shift outside this range (below 7.35 = acidosis; above 7.45 = alkalosis) is a medical emergency.