pH Calculator

Convert between pH, pOH, [H⁺] and [OH⁻], and get pH from strong acid or base concentration.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A complete pH calculator for chemistry homework, lab prep and titration planning. It does two jobs. First, it converts freely between pH, pOH, the hydrogen-ion concentration [H⁺] and the hydroxide-ion concentration [OH⁻] — give it any one and it returns the other three with an acidic / neutral / basic label. Second, it works out the pH of a strong acid or strong base directly from its molar concentration, handling multivalent species such as sulfuric acid or calcium hydroxide.

How it works

Every result rests on three relationships that hold for dilute aqueous solutions at 25 °C. The self-ionisation of water gives the ion product Kw = [H⁺][OH⁻] = 1.0 × 10⁻¹⁴. pH and pOH are defined as pH = −log₁₀[H⁺] and pOH = −log₁₀[OH⁻], and taking the negative log of the Kw expression yields pH + pOH = 14. Whatever you enter is first turned into [H⁺]; pH, pOH and [OH⁻] then follow from those three equations.

For the strong-acid/base mode, a strong monoprotic acid is assumed to dissociate fully, so [H⁺] ≈ C, where C is the analytical concentration. A diprotic acid (count = 2) contributes roughly 2C. A strong base supplies [OH⁻] ≈ n·C, where n is the number of hydroxide groups per formula unit. Rather than naively taking −log(C), the tool solves the exact quadratic [H⁺]² − C[H⁺] − Kw = 0. That matters for very dilute solutions: near 10⁻⁷ mol/L the water background dominates, and the exact solution keeps the pH on the correct side of 7 instead of crossing it — a classic textbook trap.

Worked example

Take 0.01 mol/L hydrochloric acid (HCl), a strong monoprotic acid. Because it fully dissociates, [H⁺] ≈ 0.01 mol/L. Then:

  • pH = −log₁₀(0.01) = 2 (acidic)
  • pOH = 14 − 2 = 12
  • [OH⁻] = Kw ⁄ [H⁺] = 10⁻¹⁴ ⁄ 10⁻² = 1 × 10⁻¹² mol/L

Switch the species to 0.01 mol/L NaOH and the symmetry shows: [OH⁻] = 0.01, pOH = 2, pH = 12, and [H⁺] = 1 × 10⁻¹² mol/L.

InputpHpOH[H⁺] (mol/L)[OH⁻] (mol/L)
0.01 M HCl2121×10⁻²1×10⁻¹²
Pure water771×10⁻⁷1×10⁻⁷
0.01 M NaOH1221×10⁻¹²1×10⁻²

Formula note

The defining constants and equations used here are Kw = 1.0 × 10⁻¹⁴ at 25 °C, pH = −log₁₀[H⁺], pOH = −log₁₀[OH⁻] and pH + pOH = 14. These describe strong acids and bases and simple ion conversions. Weak acids and bases reach equilibrium governed by their dissociation constants Ka and Kb and are not modelled by this tool.

Everything is computed in your browser — no numbers are uploaded or stored.

Ad placeholder (rectangle)