Buffers are solutions that resist pH change when small amounts of acid or base are added, and they underpin everything from blood chemistry to laboratory reagent prep. The Henderson-Hasselbalch equation is the simple algebraic tool chemists use to predict, design, and troubleshoot buffer pH from just three numbers: a pKa and two concentrations.

Where the equation comes from

A weak acid HA partially dissociates in water: HA ⇌ H⁺ + A⁻. The equilibrium constant for this reaction, Ka, is defined as Ka = [H⁺][A⁻]/[HA]. Taking the negative log₁₀ of both sides and rearranging turns that equilibrium expression into the Henderson-Hasselbalch equation: pH = pKa + log₁₀([A⁻]/[HA]). The equation is exact for the equilibrium it describes — it is not an approximation, though its usefulness is greatest when the buffer's concentrations are much larger than the amount of H⁺ or OH⁻ actually present in solution.

Why buffers work best near pH = pKa

When [A⁻] and [HA] are equal, the log term is zero and pH equals pKa exactly — this is the buffer's point of maximum capacity, because there is plenty of both the acid and base forms available to absorb an incoming H⁺ or OH⁻. As the ratio moves away from 1:1, the buffer still resists pH change, but less effectively, because one of the two species starts running low. The practical rule of thumb is that a buffer is considered effective within about one pH unit of its pKa (a 10:1 to 1:10 base:acid ratio) — outside that range, small additions of acid or base cause disproportionately large pH swings.

Choosing the right buffer for a target pH

Because effective buffering only spans roughly pKa ± 1, the first step in designing a buffer is picking a weak acid whose pKa sits close to the pH you need. Acetate (pKa 4.76) suits mildly acidic conditions; phosphate (pKa 7.21) suits near-neutral pH like many biological applications; bicarbonate (pKa 6.1) and ammonia (pKa 9.25) cover other common ranges. Once the acid is chosen, the Henderson-Hasselbalch equation gives the exact base:acid ratio needed to hit the target pH.

Limits of the equation

The Henderson-Hasselbalch equation assumes ideal behavior and works best in the moderate concentration ranges typical of lab buffers (roughly 0.01–1 M). It does not account for ionic strength effects, temperature dependence of pKa, or the buffer running out of capacity entirely outside its effective range. For very dilute solutions, very strong ionic environments, or polyprotic acids with overlapping pKa values, more detailed equilibrium calculations may be needed.