Buffers and the Henderson-Hasselbalch Equation
A clinical laboratory adds 0.10 mL of concentrated HCl to a liter of human blood plasma. The pH barely moves — from 7.40 to perhaps 7.39. Add that same drop of acid to a liter of pure water instead. The pH collapses from 7.00 to nearly 4. The difference is a buffer. It is a solution engineered to absorb protons or hydroxide ions without surrendering its identity. Buffers are not a laboratory curiosity. They are the reason blood, cell cytoplasm, seawater, and nearly every quantitative titration or chromatographic mobile phase behave predictably under chemical assault. The Henderson–Hasselbalch equation is the working tool for this behavior. It turns the equilibrium chemistry of pH of Weak Acid and Weak Base Solutions into a fast, linear relationship. That relationship links pH, the acid dissociation constant, and the ratio of conjugate base to conjugate acid. It converts a quadratic equilibrium problem into arithmetic. A chemist can do this arithmetic at the bench while weighing out sodium acetate. Its power is precisely why it must be used with discipline. The equation is an approximation. It is valid only when the buffer components dominate over water autoionization and over each other's depletion by reaction. The big picture is this. A buffer resists pH change because it contains a reservoir of both a proton donor and a proton acceptor. Adding strong acid or strong base converts one reservoir species into the other. This happens rather than changing the free H⁺ concentration by orders of magnitude. The Henderson–Hasselbalch equation is simply the logarithmic restatement of the acid-dissociation equilibrium expression. It is algebraically trivial. But its correct and incorrect uses reveal deep truths about approximation in equilibrium chemistry. These truths echo themes from Salt Solutions and Hydrolysis. This article derives the equation rigorously from mass-action and mass-balance principles. It shows exactly where the common approximations break down. It also works three complete numerical examples. These span a classroom acetate buffer, a physiological bicarbonate system, and a competition-level polyprotic buffer problem requiring correction terms. It also previews how buffer capacity and diprotic fractional composition extend this framework.
- A buffer is a mixture of a weak acid and its conjugate base (or weak base and conjugate acid) present in comparable amounts, resisting pH change on addition of strong acid/base.
- The Henderson–Hasselbalch equation, pH = p + log([A⁻]/[HA]), is the logarithmic form of the expression using equilibrium (not just formal) concentrations.
- It is an approximation: it assumes formal concentrations equal equilibrium concentrations, valid only when [HA] and [A⁻] are both ≫ [H₃O⁺] and ≫ [OH⁻].
- Buffer pH depends only on the ratio of conjugate base to acid, not on absolute dilution — until dilution is extreme enough that autoionization matters.
- Maximum resistance to pH change occurs at [A⁻] = [HA], i.e., pH = p, and the equation is most reliable within about one pH unit of p.
- Physiological and analytical buffers (bicarbonate, phosphate, acetate, Tris) are chosen so p sits near the target pH, a principle refined further in buffer-capacity analysis.
- Key idea: a buffer's pH is set by the logarithm of a ratio of two coexisting reservoirs, so adding modest strong acid or base merely shifts that ratio rather than swamping the solution with free H⁺ or OH⁻.
Where this lives today
Clinical blood-gas analyzers report pH, , and calculated using exactly the bicarbonate Henderson–Hasselbalch relationship from Example 2, and physicians classify acid-base disorders (respiratory acidosis, metabolic alkalosis, and their compensations) by tracking how these three variables move together. Pharmaceutical formulation scientists use the equation to predict a drug's ionization state at physiological pH — critical for oral bioavailability, since only the neutral (un-ionized) form of a weak-acid or weak-base drug crosses lipid membranes efficiently, and the fraction ionized at any pH follows directly from Henderson–Hasselbalch. Molecular biology and biochemistry labs rely on the equation daily to prepare Tris, phosphate, HEPES, and citrate buffers for protein purification, PCR, and enzyme assays, choosing a buffering agent whose p lies close to the desired working pH because that is exactly where the logarithmic buffering effect (and buffer capacity, treated quantitatively elsewhere) is strongest. In analytical chemistry, buffers prepared via Henderson–Hasselbalch control the ionization state of analytes in capillary electrophoresis and HPLC mobile phases, determine the shape of complexometric and precipitation titration curves by fixing metal-ion side reactions, and set the pH windows used in gravimetric and electrochemical (ISE, glass electrode) analyses. Environmental chemists apply the same framework to the carbonate buffering of seawater and its sensitivity to rising atmospheric CO₂ — ocean acidification is, quantitatively, a slow shift of the marine bicarbonate/carbonate Henderson–Hasselbalch ratio.
:::quiz[Blood plasma has and dissolved CO₂ = 1.2 mmol/L, with apparent p = 6.10. What is the pH?]
- 6.10
- 7.10
- 7.40 ✓
- 7.70
Ask the tutor: How does the buffer capacity β formally quantify the "flatness" of the titration curve near pH = pKa, and how is it derived from the Henderson–Hasselbalch framework?
The physical picture
Picture a weak acid HA dissolved alongside its conjugate base A⁻, supplied for instance as the sodium salt NaA. Both species are present in bulk, at concentrations far exceeding the tiny amount of H₃O⁺ that equilibrium chemistry alone would produce. The acid-dissociation equilibrium
is always straining toward its equilibrium constant . If a chemist adds a small increment of strong acid, the incoming H₃O⁺ does not accumulate freely — it is consumed by the abundant A⁻ reservoir, converting some A⁻ into HA. If strong base is added instead, the OH⁻ deprotonates some HA, converting it into A⁻. In both cases the perturbation is absorbed by shifting the HA/A⁻ ratio slightly, and because pH depends on the logarithm of that ratio, even a substantial fractional shift in composition produces only a small pH change. This logarithmic damping is the entire secret of buffering. Consider an acetate buffer at pH = p, where [A⁻] = [HA]. Adding enough strong acid to convert 10% of the A⁻ into HA changes the ratio from 1.00 to about 0.82, and — under a tenth of a pH unit. Compare this to unbuffered water, where adding acid changes [H₃O⁺] directly and linearly, so the same absolute amount of acid can move the pH by several units. The buffer's flat response near pH = p is visible as the near-horizontal plateau in a titration curve, a signature you can trace directly in acid-base titration curves. The Henderson–Hasselbalch equation is nothing more than the equilibrium-constant expression for HA, rearranged and logarithmically transformed. Because is fixed by temperature, the pH is dictated entirely by the ratio [A⁻]/[HA] — a compositional variable the chemist controls by choice of stoichiometry. This is why buffer pH is, to first approximation, independent of dilution: diluting the solution scales both [HA] and [A⁻] by the same factor, leaving their ratio — and hence the pH — essentially unchanged, provided dilution does not become so extreme that water's autoionization or incomplete dissociation begins to matter.
:::svg[Buffer action: added acid or base shifts the HA/A⁻ ratio, not free [H₃O⁺]]
The core ideas
The acid-dissociation equilibrium constant for a weak acid HA is
where: is the thermodynamic (or, in practice, concentration) dissociation constant at a given temperature and ionic strength; the bracketed terms are equilibrium concentrations, not formal (analytical) concentrations. Taking the negative logarithm of both sides and rearranging gives the Henderson–Hasselbalch equation:
where: p; [A⁻] and [HA] are the equilibrium concentrations of conjugate base and conjugate acid. Reading it: pH equals p when the two species are equal in concentration, and moves one full unit for every tenfold change in their ratio — a direct consequence of the logarithmic scale of pH itself. For a weak base B with conjugate acid BH⁺, the analogous relation is often written using p of the conjugate acid:
where: p, and p at 25 °C (). Reading it: the same logarithmic-ratio law governs base buffers, just referenced to the conjugate acid's . The approximation buried in ordinary use is that equilibrium concentrations [HA] and [A⁻] are replaced by their formal (stoichiometric, pre-equilibrium) concentrations and :
where: , are moles of base/acid form added per liter, before any equilibrium shift. Reading it: this is valid only when the amount of HA that dissociates (or A⁻ that hydrolyzes) is negligible compared to and themselves — the working definition of "buffer region."
Goal. Derive the Henderson–Hasselbalch equation from first principles and identify exactly the conditions under which the formal-concentration approximation is valid.
Step 1 — Mass balance. Suppose a buffer is prepared by dissolving formal concentration of a weak acid and of its sodium salt in the same liter of solution. Conservation of the acetate/acid moiety requires
because every molecule is either still protonated (HA) or deprotonated (A⁻); nothing is destroyed.
Step 2 — Proton balance. Protons removed from HA either end up as free H₃O⁺ or are still bound. A proton-condition (reference level HA and H₂O) states that any H₃O⁺ present beyond the reference must equal A⁻ formed beyond its formal amount, minus OH⁻ consumed:
Equivalently, the equilibrium concentration of A⁻ differs from its formal value by exactly the net proton deficit:
and by mass balance,
Step 3 — Substitute into the equilibrium expression. Insert these into :
This is the exact equilibrium equation — a nonlinear equation in requiring iterative or quadratic solution in general.
Step 4 — Apply the buffer condition. If both and are much larger than and — the defining condition of a "true" buffer, typically satisfied when both formal concentrations exceed about the expected — the correction terms drop out:
Substituting recovers
Taking of both sides yields
which is the familiar Henderson–Hasselbalch equation, now understood as a controlled approximation, not an independent law.
Step 5 — Limiting-case check. As (extreme dilution), the correction terms and become comparable to or larger than the formal concentrations, the approximation fails, and the solution's pH approaches 7 (governed by water) regardless of the nominal ratio — exactly the "dilute buffer" pathology every quantitative textbook warns against.
Go deeper · Derivation B · 1 minpH is independent of dilution — and where that independence breaks down
Goal. Show that diluting a buffer by a factor leaves pH unchanged in the ideal limit, then show precisely when this fails.
Step 1 — Set up dilution. Start with formal concentrations and in volume . Dilute with pure water to volume (). Because moles are conserved and volume scales by , the new formal concentrations are
Step 2 — Substitute into the approximate Henderson–Hasselbalch relation.
The dilution factor cancels exactly inside the logarithm, so : to the level of the buffer approximation, pH does not depend on dilution, only on the ratio of the two forms.
Step 3 — Include the exact expression to find where this fails. Return to the exact relation from the mass/proton balance,
As grows large, and shrink toward zero while and do not (they are bounded below by water's autoionization, ). Eventually the correction terms dominate the numerator and denominator, the ratio no longer controls , and pH drifts toward 7.00 (at 25 °C) regardless of the original buffer ratio.
Step 4 — Quantify the crossover. As a working rule, the ideal-dilution law holds to within 0.02 pH units as long as
For an acetate buffer near pH 4.76, , so formal concentrations should stay above roughly for the dilution-independence law to hold — a criterion sharpened further when buffer capacity is treated quantitatively.
Worked examples
Example 1 — Foundational: preparing an acetate buffer at a target pH. A student must prepare 1.00 L of an acetate buffer at pH = 5.00 using acetic acid (, p) and sodium acetate, with a total acetate-species concentration (HA + A⁻) fixed at 0.200 M by the amount of stock solution available.
Step 1. Apply Henderson–Hasselbalch to find the required ratio:
Step 2. Use the total-concentration constraint . Let ; then :
Step 3. Convert to masses for 1.00 L. Acetic acid, : mass . Sodium acetate (anhydrous), : mass .
Step 4 — Validity check. Formal concentrations (0.0714 M and 0.129 M) are both roughly 4,000-fold larger than the expected , easily satisfying the criterion from the dilution derivation — the Henderson–Hasselbalch approximation is excellent here, good to better than ±0.01 pH unit from approximation error alone (real bench uncertainty, from balance and glassware tolerances, is typically ±0.02–0.05 pH unit).
Limiting-case check. If the target pH had been set exactly to p, the ratio would collapse to 1.00 and the two masses would be closer (roughly equal molar amounts), consistent with the "maximum buffering at pH = p" principle developed physically above.
Example 2 — Applied: the bicarbonate buffer of blood plasma. Human blood plasma is buffered chiefly by the CO₂/HCO₃⁻ system:
Using the apparent p = 6.10 (which lumps dissolved CO₂ and true carbonic acid together, a standard clinical convention), typical plasma values are and dissolved (this is set by the partial pressure of CO₂ in the lungs via Henry's law, , with at 37 °C and normal ).
Step 1 — Compute normal plasma pH.
This matches the physiological reference value precisely, confirming the apparent p convention.
Step 2 — Metabolic perturbation. Suppose a patient in metabolic acidosis has fall to 14.0 mmol/L while respiratory compensation holds at 32 mmHg (partial compensation, lowering CO₂ to reduce the denominator too). Then
This is a clinically realistic compensated acidosis (pH depressed from 7.40 but not to the dangerous sub-7.20 range), and it illustrates how two variables — bicarbonate (renal, metabolic) and (respiratory) — jointly control blood pH through the same logarithmic-ratio law.
Step 3 — Check the buffer-validity criterion. and here are in the millimolar range, while at pH 7.3–7.4 is about – — five orders of magnitude smaller than the formal concentrations, so the approximation is essentially exact for physiological purposes; the open, CO₂-exchanging nature of this buffer (constantly replenished by respiration) is what makes it far more powerful than a closed acetate buffer of similar formal concentration, a nuance developed further under buffer capacity.
Example 3 — Exam/competition level: buffer with significant self-dissociation correction. A very dilute buffer is prepared by mixing mol of a weak acid HA (p, so ) with mol of its sodium salt NaA in exactly 1.00 L. Naively applying Henderson–Hasselbalch:
But formal is uncomfortably close to the expected — only about a factor of 4, not the required . The naive approximation is suspect and the exact quadratic must be solved.
Step 1 — Write the exact equilibrium equation. From the derivation above,
Since pH is expected near 4.3, — utterly negligible compared to . Drop but retain the correction terms.
Step 2 — Let . The equation becomes
Step 3 — Expand into a quadratic.
Step 4 — Solve the quadratic. Using the quadratic formula with , , :
Step 5 — Convert to pH.
Step 6 — Compare. The naive Henderson–Hasselbalch value was 4.30; the exact treatment gives 4.40 — a discrepancy of 0.10 pH units, well outside typical analytical tolerance (±0.02–0.05), confirming that ignoring the self-ionization/depletion correction was not justified for this dilute, base-poor mixture. Physically, HA dissociates enough on its own that the effective [A⁻] exceeds its formal value by a non-negligible fraction ( compared to , a 20% correction), explaining why the true pH is higher (less acidic) than naively predicted.
Limiting-case check. If instead and (same ratio, 1000-fold higher concentration), from the naive formula would be , now utterly negligible next to both formal concentrations (ratio ), and the quadratic correction shrinks to well under 0.001 pH units — recovering the ordinary Henderson–Hasselbalch regime and confirming the correction term vanishes as formal concentrations grow relative to .
Limiting cases, scope & common traps
| Regime | Behavior | Henderson–Hasselbalch validity |
|---|---|---|
| , ratio near 1 | Maximum buffering, pH ≈ p | Excellent (< 0.01 pH unit error) |
| , ratio far from 1 (e.g., 100:1) | Weak buffering, pH near p | Good, but buffer capacity is low (see buffer-capacity treatment) |
| or comparable to | Self-dissociation/hydrolysis competes with formal ratio | Fails — must solve exact quadratic (Example 3) |
| Extreme dilution () | pH → 7.00 regardless of nominal ratio | Fails completely |
| One component absent (pure weak acid or pure salt) | Not a buffer at all | Formula inapplicable; use simple weak-acid/hydrolysis formulas from pH of Weak Acid and Weak Base Solutions and Salt Solutions and Hydrolysis |
| Polyprotic acid, two buffer regions overlapping | Cross-contamination between equilibria | Requires full fractional-composition treatment |
The chemist behind it
The equation bears two names for good reason. Lawrence Joseph Henderson, an American physiologist and biochemist working at Harvard in the first decade of the twentieth century, was investigating how blood maintains a nearly constant pH despite continuous production of CO₂ and lactic acid by metabolism. In 1908 he derived the mathematical relationship between the concentrations of carbonic acid and bicarbonate and the hydrogen-ion concentration of blood, framing it as a mass-action equilibrium — but he expressed it in terms of concentration ratios directly, without logarithms, because the pH concept itself did not yet exist in its modern form. The logarithmic recasting came from Karl Albert Hasselbalch, a Danish biochemist and physician working at the Rigshospitalet in Copenhagen, who in 1916–1917 was extending Søren Sørensen's newly introduced pH scale (1909) to physiological measurements of blood. Hasselbalch rewrote Henderson's mass-action relationship in logarithmic form, producing the equation essentially as used today, and applied it to interpret clinical blood-gas and acid-base disturbances — work that laid the foundation for modern blood-gas analysis and acid-base nomenclature (respiratory versus metabolic acidosis/alkalosis) still used at every hospital bedside.
Origins · 1 minKarl Albert Hasselbalch and how this was discovered
Hasselbalch worked at the intersection of clinical medicine and physical chemistry during the years when Sørensen's pH concept was being absorbed into physiology. His 1916–1917 papers combined precise glass-electrode-adjacent pH measurement of blood with Henderson's mass-action framework, producing a tool clinicians still use to interpret arterial blood gases. He also collaborated closely with Danish physiologists on respiratory physiology, including early studies of oxygen-hemoglobin binding curves alongside Christian Bohr.
Does the Henderson–Hasselbalch equation apply to strong acids and bases?
No. The equation is derived from the equilibrium expression for a weak acid (or weak base) that only partially dissociates, leaving both the protonated and deprotonated forms present in significant, comparable amounts. Strong acids and bases dissociate essentially completely, so there is no meaningful conjugate-acid/conjugate-base reservoir pair to buffer with — the "acid" form is essentially absent in solution. Attempting to apply the equation to a strong acid/strong base mixture gives nonsensical results because for a strong acid is enormous (or undefined in aqueous solution, since the reaction goes to completion) and the underlying mass-action assumption breaks down entirely.
Why is buffering strongest when pH equals pKa?
At pH = p, the ratio [A⁻]/[HA] equals 1, meaning the reservoirs of proton donor and proton acceptor are equal in size. Adding strong acid converts some A⁻ to HA and adding strong base converts some HA to A⁻, but because both reservoirs start large and comparable, a given perturbation produces the smallest possible fractional (and hence logarithmic) change in the ratio. Moving away from pH = p makes one reservoir small relative to the other, so the same perturbation depletes the minority species by a larger fraction, causing a bigger swing in the ratio and hence in pH — this is formalized quantitatively in the treatment of buffer capacity.
How many significant figures should a computed buffer pH carry?
Because pH is a logarithm, only the digits after the decimal point are "significant" in the traditional sense — the integer part merely reflects the exponent of . A p known to two decimal places (e.g., 4.76) and concentrations known to three significant figures typically justify a pH reported to two decimal places, such as 4.68, not 4.6800. Reporting more decimal places implies a precision in and concentration measurement that the input data rarely support.
Can Henderson–Hasselbalch be used for polyprotic acid buffers, like phosphate?
Yes, but only within one dissociation step at a time, and only where the two relevant pKa values are well separated (typically by more than about 3 units) so the equilibria do not overlap. Phosphoric acid has three dissociation steps (p, p, p); a phosphate buffer near physiological pH uses the H₂PO₄⁻/HPO₄²⁻ pair and the second p exclusively, since the other two equilibria are so far removed in pH that they contribute negligible amounts of the relevant species. Full accuracy for closely spaced pKa values requires the fractional-composition (alpha-fraction) treatment of diprotic and polyprotic systems.
Why do the acetate and bicarbonate examples give different apparent precision in the physiological result?
The bicarbonate example reproduces pH 7.40 essentially exactly because the "apparent" p = 6.10 is itself an empirically fitted clinical constant, chosen so that Henderson–Hasselbalch matches measured plasma pH under normal conditions — it already absorbs activity-coefficient and CO₂-hydration equilibrium effects. The acetate example uses a thermodynamic measured in dilute aqueous solution, so its accuracy depends on how well the actual ionic strength of the prepared buffer matches the conditions under which was determined; at high ionic strength, activity corrections (via the Debye–Hückel framework) become necessary for the same level of precision.
Is there a maximum useful range of pH for a given buffer?
Yes — by convention, a buffer is considered "effective" within about one pH unit on either side of its p, i.e., where the ratio [A⁻]/[HA] lies between roughly 1:10 and 10:1. Outside that window, one component becomes so dilute relative to the other that adding even modest strong acid or base can exhaust it, causing the pH to swing rapidly — precisely the steep portions of the titration curve away from the half-equivalence point. Choosing a buffering agent means matching its p to within about one unit of the target pH.
What happens if I mix two different weak acid/conjugate base buffer systems together?
If their p values are well separated, each behaves largely independently and the solution's pH is governed by whichever system's formal concentrations dominate near the operating pH; if the p values are close together, the two equilibria couple and neither simple Henderson–Hasselbalch expression alone is accurate — the full system requires solving simultaneous mass-action and charge-balance equations, conceptually similar to the exact treatment used in Example 3 but with two coupled acid-base pairs instead of one.