pH Calculator
pH from [H⁺], strong or weak acid and base concentrations (Ka or Kb), with pOH and [OH⁻].
pH = −log₁₀[H⁺]. For a weak acid, [H⁺] = (−Ka + √(Ka² + 4·Ka·C)) ÷ 2. 0.1 M acetic acid (Ka 1.8 × 10⁻⁵) has [H⁺] = 1.33 × 10⁻³ M, so pH = 2.88.
Free, runs in your browser. Nothing you enter is uploaded.
How to use it
- Choose what you know: a weak acid or base with Ka/Kb, a strong acid or base, [H⁺] or pH.
- Enter the concentration in mol/L and the constant if needed (presets cover common acids).
- Read pH, pOH, [H⁺] and [OH⁻].
What you enter
- Concentration (mol/L)
- Ka or Kb for weak acids and bases
- or [H⁺] or pH
What you get
- pH
- pOH
- [H⁺]
- [OH⁻]
- Percent ionisation
Formula
pH = −log[H⁺] | pOH = 14 − pH | Weak acid: [H⁺] = (−Ka + √(Ka² + 4KaC))/2
Worked example: 0.1 M ammonia
Input: Weak base, C = 0.1 M, Kb = 1.8 × 10⁻⁵
Result: pH 11.12, [OH⁻] = 1.33 × 10⁻³ M
Only about 1.3% of the ammonia is protonated.
Questions
How do you calculate pH from concentration?
For a strong monoprotic acid, [H⁺] equals the acid concentration, so 0.01 M HCl has pH 2. For a weak acid, solve Ka = x² ÷ (C − x) for x = [H⁺].
What is the relationship between pH and pOH?
At 25 °C, pH + pOH = 14 because [H⁺][OH⁻] = Kw = 1.0 × 10⁻¹⁴.
Can I use the 5% approximation?
x ≈ √(Ka·C) works when the acid is less than 5% ionised. This calculator uses the exact quadratic so it is right either way.
Can pH be negative?
Yes, for very concentrated strong acids above 1 M, although activity effects make simple calculations inaccurate there.
Limitations
- Assumes 25 °C and ideal (dilute) behaviour.
- Polyprotic acids use only the first dissociation.
Related reading
- Acids and Bases: Definitions, Examples, and pH Basics
- The pH Scale: Acids, Bases and Everyday Examples
- Effects of Buffers on pH: Lab Explained
- pH Meter Calibration and Maintenance: A Practical Guide for the Molecular Biology Lab
More Chemistry
- Molecular Weight Calculator
- Osmolarity Calculator
- Moles to Grams Calculator
- PPM Calculator
- Percent Yield Calculator
- Molarity Calculator
- Electron Configuration Calculator
- Arrhenius Equation Calculator
- Average Atomic Mass Calculator
- Density Calculator
- Ideal Gas Law Calculator (PV = nRT)
- Stoichiometry Calculator (Limiting Reagent and Theoretical Yield)
All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.