Dr. Ione
Buffer Solution Calculator

Buffer Solutions

Field: Chemistry

Written and maintained by the PhDino author · Last reviewed 21 September 2026 · Checked against 2 independent reference calculations · how PhDino checks its numbers

How a mix of a weak acid and its conjugate base resists changes in pH.

A buffer is a solution that resists changing pH when a small amount of acid or base is added to it — useful anywhere a process needs to stay within a narrow pH range (biological systems are full of them; blood itself is buffered). It works by combining a weak acid with its own conjugate base (or a weak base with its conjugate acid) in the same solution, so there's a reserve of both an acid-neutralizer and a base-neutralizer on hand at once.

The Henderson-Hasselbalch equation is a shortcut derived from the weak acid's own equilibrium expression, letting the buffer's pH be read directly off the ratio of its two components rather than solving the full equilibrium each time.

Where it comes from

Lawrence Henderson, at the Laboratory of Biological Chemistry of Harvard Medical School, published the relation in 1908 while asking how the body keeps its fluids near neutral. From the law of mass action he wrote the hydrogen ion concentration as a constant times the ratio of acid to salt, and showed that a mixture holds its acidity best when the two are present in about equal amounts. Karl Albert Hasselbalch applied it to the acidity of blood in the Biochemische Zeitschrift, and the equation carries both their names.

Sources: Henderson (1908), American Journal of Physiology · The 1908 volume, scanned (Internet Archive) · Garrison–Morton entry for Hasselbalch's paper

Key formula

pH = pKa + log₁₀([A⁻] ÷ [HA])
No. 042 / 092Chemistry
Buffer Solution
Presented by Dr. Ione · Chemistry
No. 042 / 092Buffer Solution
pH = pKa + log₁₀([A⁻] ÷ [HA])
pKa
the weak acid's own equilibrium constant, expressed on a log scale
[A⁻]
concentration of the conjugate base
[HA]
concentration of the weak acid
Worked example
pKa of the Weak Acid: 4.76 · Conjugate Base Concentration [A⁻]: 0.1 M · Weak Acid Concentration [HA]: 0.1 M
→ Buffer pH: 4.76
Checked: this exact example is one of the automated reference tests, its answer worked out independently of the calculator.
phdino.com/calc/buffer-solution

Variables

pKa
the weak acid's own equilibrium constant, expressed on a log scale
[A⁻]
concentration of the conjugate base
[HA]
concentration of the weak acid

Notes & limitations

  • A buffer works best — resists pH change most effectively — when the acid and conjugate base concentrations are close to equal, which happens when the solution's pH is close to the acid's pKa. That's why choosing a buffer means picking a weak acid whose pKa is near the pH you actually need to hold.
  • A buffer has a limited capacity: enough strong acid or base added will eventually use up one of the two components entirely, at which point the solution stops buffering and the pH starts changing rapidly, same as an unbuffered solution.

Further reading

PhDino earns a commission on qualifying purchases made through this link, at no extra cost to you.

Chemistry: A Very Short Introduction by Peter Atkins — A concise overview of reactions, equilibria, and gases from a leading chemistry author. (Bookshop.org UK, UK delivery only)

→ The full PhDino bookshelf on Bookshop.org (UK delivery only)

Educational tool — not a substitute for a licensed engineer or the official code text.