Acid-Base & pH Calculator

pH/pOH/[H+]/[OH-] converter, Ka/Kb/pKa/pKb, Henderson-Hasselbalch buffer, and titration curve simulation. Also: Redox.

Convert between pH, pOH, [H+], and [OH-]. Auto-detects acidity: pH<7 acidic, pH=7 neutral, pH>7 basic.

Key Constants (25°C): Kw = 1.0×10−¹&sup4;; pKw = 14.0; pH + pOH = 14.0; [H+][OH−] = 1.0×10−¹&sup4;. pH Scale: 0–6.9 acidic, 7 neutral, 7.1–14 basic. Henderson-Hasselbalch: valid when 0.1 < [A−]/[HA] < 10.
What are acids and bases?

An acid is a proton (H+) donor and a base is a proton acceptor — the Brønsted–Lowry definition, and the one every panel on this page uses. Vinegar (acetic acid) donates a proton to water; ammonia accepts one and becomes ammonium. Every acid is paired with the species left behind after it gives up its proton: that pair — acetic acid CH3COOH with acetate CH3COO−, or ammonium NH4+ with ammonia NH3 — is a conjugate acid–base pair, and the whole of buffer and titration chemistry is bookkeeping of those pairs.

The one number to remember: the pH scale is logarithmic. One pH unit means a 10-fold change in [H+], so pH 3 is not “a bit more acidic” than pH 7 — it is 10,000 times more acidic.
pH and pOH: counting protons on a log scale

Because [H+] spans more than fourteen powers of ten between battery acid and drain cleaner, chemists compress it: pH = −log10[H+]. Water itself always splits a little, [H+][OH−] = Kw = 1.0×10−14 at 25°C, which is why pH + pOH = 14: raise one and the other falls by the same amount. Neutral simply means [H+] = [OH−] = 10−7, which is pH 7 only at 25°C — hot pure water sits slightly below 7 and is still perfectly neutral. As a scale check the page can reproduce: pH 3.5 (about the acidity of orange juice) corresponds to [H+] = 3.16×10−4 mol/L.

SubstanceApprox. pHSubstanceApprox. pH
Gastric acid1.5–2Pure water (25°C)7.0
Lemon juice~2.4Human blood7.35–7.45
Black coffee~5Seawater~8.1
Milk~6.7Household ammonia~11.5
Ka, Kb and pKa: how strong is the acid?

Strong acids such as HCl dissociate essentially completely — pour them in water and virtually every molecule hands over its proton. Weak acids reach an equilibrium: HA ⇌ H+ + A−, described by Ka = [H+][A−]/[HA]. Acetic acid has Ka = 1.8×10−5, usually quoted as pKa = 4.74 (the same −log trick as pH). The useful part is the pairing rule: Ka × Kb = Kw for a conjugate pair, so a stronger acid automatically has a weaker conjugate base. Acetate, the partner of weak acetic acid, is a very weak base with Kb = 5.6×10−10 (pKb = 9.26) — both conversions run in the Ka & Kb panel above.

Buffers and the Henderson–Hasselbalch equation

A buffer is a weak acid and its conjugate base present in comparable amounts. Added H+ gets eaten by A−; added OH− gets eaten by HA; either way the ratio barely moves, so the pH barely moves. The bookkeeping collapses into pH = pKa + log10([A−]/[HA]). When the two concentrations are equal, pH = pKa exactly, and every ten-fold shift in the ratio moves pH by exactly one unit — the 1:10 sample button gives pH 5.76 for an acetate buffer whose pKa is 4.76. Reliable buffering only spans pKa ± 1 (ratio 0.1–10), which is why choosing a buffer means choosing one whose pKa sits near your target pH. Blood is the showcase: the bicarbonate/CO2 pair holds plasma at 7.35–7.45, and enzymes stop working outside that window.

Titration curves: watching the buffer break

Adding strong base to an acid changes the [A−]/[HA] ratio continuously, and the curve is the Henderson–Hasselbalch equation drawn out. Early on the buffer soaks up the base and the pH crawls — the flat region. At the equivalence point the base exactly matches the acid moles; there the curve is nearly vertical, which is why that point flags the end of a titration. Halfway there, [A−] = [HA], so the pH equals the pKa — a standard way to measure pKa from a curve. Strong acid + strong base meets at pH 7, but weak acid + strong base finishes above 7 (near 8.7 for the default acetic-acid sample), because what remains in the flask is a weak base.

Common misconceptions
  • Strong means concentrated. No — strength is how completely an acid dissociates, concentration is how much of it there is. 0.001 M HCl is a dilute strong acid; glacial acetic acid is a concentrated weak one.
  • Neutral is always pH 7. Only at 25°C, where Kw = 10−14. Neutral means [H+] = [OH−], full stop.
  • pH stops at 0 and 14. Those are just the boundaries of the 25°C water scale. 12 M HCl is around pH −1, and concentrated NaOH exceeds 14.
  • Weak acid pH = −log of its concentration. That shortcut works only for strong acids. A weak acid's pH also needs its Ka, because most molecules never dissociate.

Related tools: Chemical Equilibrium (where equilibrium constants like Ka come from), Spectroscopy (measuring concentrations with light), and Bio Calculators (buffer recipes in micromolar units).