Dove's LibraryDove's Library

8.9 - Henderson-Hasselbalch Equation

Overview

A buffer's pH depends on two things: which weak acid it's made from (its KaK_a) and the ratio of conjugate base to acid. The Henderson-Hasselbalch equation puts both in one line, so you can find a buffer's pH without an ICE table. It also explains why adding a little acid or base barely moves a buffer's pH. On the AP exam you'll use it to find a buffer's pH, to work backward to the ratio a target pH needs, and to pick the right acid for a buffer.

The Henderson-Hasselbalch equation

For a buffer made from a weak acid HA and its conjugate base A−\mathrm{A^{-}}:
pH=pKa+log⁡[A−][HA]\mathrm{pH} = \mathrm{p}K_a + \log\frac{[\mathrm{A^{-}}]}{[\mathrm{HA}]}
  • pKa=−log⁡Ka\mathrm{p}K_a = -\log K_a, where KaK_a belongs to the acid of the pair.
  • [A−][\mathrm{A^{-}}] is the concentration of the conjugate base, and [HA][\mathrm{HA}] is the concentration of the weak acid. Base goes on top.
The equation and pKa=−log⁡Ka\mathrm{p}K_a = -\log K_a are both on the AP reference sheet.

Where it comes from

It's the KaK_a expression for the weak acid, solved for H3O+\mathrm{H_3O^{+}} and rewritten with logs:
HA(aq)+H2O(l)⇌H3O+(aq)+A−(aq)\mathrm{HA(aq) + H_2O(l) \rightleftharpoons H_3O^{+}(aq) + A^{-}(aq)}Ka=[H3O+][A−][HA]⇒[H3O+]=Ka [HA][A−]K_a = \frac{[\mathrm{H_3O^{+}}][\mathrm{A^{-}}]}{[\mathrm{HA}]} \quad \Rightarrow \quad [\mathrm{H_3O^{+}}] = K_a\,\frac{[\mathrm{HA}]}{[\mathrm{A^{-}}]}−log⁡[H3O+]=−log⁡Ka−log⁡[HA][A−]⇒pH=pKa+log⁡[A−][HA]-\log[\mathrm{H_3O^{+}}] = -\log K_a - \log\frac{[\mathrm{HA}]}{[\mathrm{A^{-}}]} \quad \Rightarrow \quad \mathrm{pH} = \mathrm{p}K_a + \log\frac{[\mathrm{A^{-}}]}{[\mathrm{HA}]}
You won't be asked to derive it on the AP exam. The point is that it isn't a new idea: it's the same weak acid equilibrium from Topic 8.3, written in a form that's faster to use.

Why the starting amounts work

In a buffer, HA and A−\mathrm{A^{-}} are both present in large amounts. HA barely ionizes, A−\mathrm{A^{-}} barely reacts with water, and each one pushes the other's equilibrium back (the common-ion effect). So the equilibrium concentrations are almost exactly the amounts you put in, and you can plug those straight into the equation. This holds as long as both concentrations are much larger than [H3O+]\mathrm{[H_3O^{+}]}, which is true for the buffers you'll see on the exam.

Moles work as well as concentrations

HA and A−\mathrm{A^{-}} are in the same solution, so they share one volume, and the volume cancels in the ratio:
[A−][HA]=nA−/VnHA/V=nA−nHA\frac{[\mathrm{A^{-}}]}{[\mathrm{HA}]} = \frac{n_{\mathrm{A^{-}}}/V}{n_{\mathrm{HA}}/V} = \frac{n_{\mathrm{A^{-}}}}{n_{\mathrm{HA}}}
So you can use moles (or millimoles) directly. This saves a step whenever a buffer is made by mixing solutions, and it's why adding water to a buffer doesn't change its pH (more on that in Topic 8.10).

The ratio controls the pH

  • Equal amounts of acid and base: the ratio is 1, log⁡1=0\log 1 = 0, so pH = pKaK_a. This is what happens at the half-equivalence point of a titration (Topic 8.5).
  • More base than acid (ratio above 1): the log is positive, so pH > pKaK_a.
  • More acid than base (ratio below 1): the log is negative, so pH < pKaK_a. This matches the rule from Topic 8.7.
  • Every factor of 10 in the ratio moves the pH by 1 unit. Doubling the ratio raises the pH by only log⁡2=0.30\log 2 = 0.30.
8.9 - Henderson-Hasselbalch Equation
The graph is for an acetic acid buffer (pKa=4.74\mathrm{p}K_a = 4.74), but every buffer follows the same straight line, shifted up or down to its own pKaK_a.
A buffer works well when the ratio is between about 0.1 and 10, so its useful range is roughly pKa±1K_a \pm 1. Outside that range, one component is so small that a little added acid or base uses it up.

Example 1: pH of an acetic acid buffer

A buffer contains 0.200 M CH3COOH\mathrm{CH_3COOH} and 0.300 M NaCH3COO\mathrm{NaCH_3COO}. For acetic acid, Ka=1.8×10−5K_a = 1.8 \times 10^{-5}.
(a) Find the pH. Sodium acetate is a soluble salt, so it supplies 0.300 M CH3COO−\mathrm{CH_3COO^{-}} (Na+\mathrm{Na^{+}} is a spectator ion).
pKa=−log⁡(1.8×10−5)=4.74\mathrm{p}K_a = -\log(1.8 \times 10^{-5}) = 4.74pH=4.74+log⁡0.300 M0.200 M=4.74+log⁡1.50=4.74+0.176=4.92\mathrm{pH} = 4.74 + \log\frac{0.300\ \mathrm{M}}{0.200\ \mathrm{M}} = 4.74 + \log 1.50 = 4.74 + 0.176 = 4.92
Answer: pH = 4.92. Quick check: there's more base than acid, so the pH should be a little above the pKaK_a. It is.
(b) Keeping 0.200 M CH3COOH\mathrm{CH_3COOH}, what concentration of NaCH3COO\mathrm{NaCH_3COO} would give a pH of 5.00? Solve for the ratio first:
log⁡[CH3COO−][CH3COOH]=5.00−4.74=0.26⇒[CH3COO−][CH3COOH]=100.26=1.8\log\frac{[\mathrm{CH_3COO^{-}}]}{[\mathrm{CH_3COOH}]} = 5.00 - 4.74 = 0.26 \quad \Rightarrow \quad \frac{[\mathrm{CH_3COO^{-}}]}{[\mathrm{CH_3COOH}]} = 10^{0.26} = 1.8[CH3COO−]=1.8×0.200 M=0.36 M[\mathrm{CH_3COO^{-}}] = 1.8 \times 0.200\ \mathrm{M} = 0.36\ \mathrm{M}
Answer: 0.36 M sodium acetate.

Example 2: A buffer made from a weak base

A student dissolves 4.28 g of NH4Cl\mathrm{NH_4Cl} (molar mass M\mathcal{M} = 53.49 g/mol) in 500.0 mL of 0.250 M NH3\mathrm{NH_3}. Assume the volume doesn't change. For NH3\mathrm{NH_3}, Kb=1.8×10−5K_b = 1.8 \times 10^{-5}. Find the pH.
Step 1: Name the pair. The weak acid is NH4+\mathrm{NH_4^{+}} and its conjugate base is NH3\mathrm{NH_3}. The equation needs the pKaK_a of the acid, NH4+\mathrm{NH_4^{+}}. Since KaKb=KwK_aK_b = K_w, pKaK_a + pKbK_b = 14.00 at 25 °C:
pKb=−log⁡(1.8×10−5)=4.74pKa=14.00−4.74=9.26\mathrm{p}K_b = -\log(1.8 \times 10^{-5}) = 4.74 \qquad \mathrm{p}K_a = 14.00 - 4.74 = 9.26
Step 2: Find moles of each.
nNH4+=4.28 g53.49 g/mol=0.0800 molnNH3=(0.250 mol/L)(0.5000 L)=0.125 moln_{\mathrm{NH_4^{+}}} = \frac{4.28\ \mathrm{g}}{53.49\ \mathrm{g/mol}} = 0.0800\ \mathrm{mol} \qquad n_{\mathrm{NH_3}} = (0.250\ \mathrm{mol/L})(0.5000\ \mathrm{L}) = 0.125\ \mathrm{mol}
Step 3: Use the equation with moles. NH3\mathrm{NH_3} is the base, so it goes on top:
pH=9.26+log⁡0.125 mol0.0800 mol=9.26+0.194=9.45\mathrm{pH} = 9.26 + \log\frac{0.125\ \mathrm{mol}}{0.0800\ \mathrm{mol}} = 9.26 + 0.194 = 9.45
Answer: pH = 9.45, a basic buffer, as you'd expect from ammonia.

Example 3: A buffer made by partly neutralizing a weak acid

A student mixes 50.0 mL of 0.200 M formic acid, HCOOH\mathrm{HCOOH} (Ka=1.8×10−4K_a = 1.8 \times 10^{-4}), with 60.0 mL of 0.100 M NaOH\mathrm{NaOH}. Find the pH.
Step 1: Do the reaction first (Topic 8.4). OH−\mathrm{OH^{-}} reacts completely with the weak acid. Work in millimoles:
HCOOH(aq)+OH−(aq)→HCOO−(aq)+H2O(l)\mathrm{HCOOH(aq) + OH^{-}(aq) \rightarrow HCOO^{-}(aq) + H_2O(l)}
HCOOH\mathrm{HCOOH}
OH−\mathrm{OH^{-}}
HCOO−\mathrm{HCOO^{-}}
Before (mmol)
(50.0)(0.200) = 10.0
(60.0)(0.100) = 6.00
0
Change (mmol)
−6.00-6.00
−6.00-6.00
+6.00+6.00
After (mmol)
4.0
0
6.00
Step 2: Check what's left. Both the weak acid and its conjugate base remain, so the mixture is a buffer. Use the equation with millimoles (the total volume of 110.0 mL cancels):
pKa=−log⁡(1.8×10−4)=3.74pH=3.74+log⁡6.004.0=3.74+0.18=3.92\mathrm{p}K_a = -\log(1.8 \times 10^{-4}) = 3.74 \qquad \mathrm{pH} = 3.74 + \log\frac{6.00}{4.0} = 3.74 + 0.18 = 3.92
Answer: pH = 3.92. If the student had added exactly 50.0 mL of the NaOH\mathrm{NaOH} (5.00 mmol, half of the acid), the ratio would be 1 and the pH would equal the pKaK_a, 3.74. That's the half-equivalence point.

Choosing a buffer for a target pH

Since a buffer works best when its ratio is near 1, pick a weak acid whose pKaK_a is as close as possible to the pH you want. The choice of acid sets the rough pH, and the ratio fine-tunes it.
Weak acid
Conjugate base
KaK_a
pKaK_a
HCOOH\mathrm{HCOOH} (formic acid)
HCOO−\mathrm{HCOO^{-}}
1.8×10−41.8 \times 10^{-4}
3.74
CH3COOH\mathrm{CH_3COOH} (acetic acid)
CH3COO−\mathrm{CH_3COO^{-}}
1.8×10−51.8 \times 10^{-5}
4.74
H2PO4−\mathrm{H_2PO_4^{-}}
HPO42−\mathrm{HPO_4^{2-}}
6.2×10−86.2 \times 10^{-8}
7.21
NH4+\mathrm{NH_4^{+}}
NH3\mathrm{NH_3}
5.6×10−105.6 \times 10^{-10}
9.26
HCO3−\mathrm{HCO_3^{-}}
CO32−\mathrm{CO_3^{2-}}
4.7×10−114.7 \times 10^{-11}
10.33

Example 4: Designing a buffer (AP-style)

A student needs a buffer with a pH of 7.00 and can use any pair in the table above.
(a) Which pair should she use? Justify your choice. H2PO4−\mathrm{H_2PO_4^{-}} and HPO42−\mathrm{HPO_4^{2-}}. Its pKaK_a (7.21) is the closest to 7.00, so the ratio she needs is close to 1 and the buffer will have plenty of both components.
(b) What ratio [HPO42−]/[H2PO4−][\mathrm{HPO_4^{2-}}]/[\mathrm{H_2PO_4^{-}}] does she need?
log⁡[HPO42−][H2PO4−]=7.00−7.21=−0.21⇒[HPO42−][H2PO4−]=10−0.21=0.62\log\frac{[\mathrm{HPO_4^{2-}}]}{[\mathrm{H_2PO_4^{-}}]} = 7.00 - 7.21 = -0.21 \quad \Rightarrow \quad \frac{[\mathrm{HPO_4^{2-}}]}{[\mathrm{H_2PO_4^{-}}]} = 10^{-0.21} = 0.62
You can get the same answer straight from KaK_a: the ratio equals Ka/[H3O+]=(6.2×10−8)/(1.0×10−7)=0.62K_a/[\mathrm{H_3O^{+}}] = (6.2 \times 10^{-8})/(1.0 \times 10^{-7}) = 0.62.
(c) She starts with 1.00 L of 0.100 M NaH2PO4\mathrm{NaH_2PO_4}. What mass of Na2HPO4\mathrm{Na_2HPO_4} (M\mathcal{M} = 141.96 g/mol) should she dissolve in it?
nHPO42−=0.62×0.100 mol=0.062 molmass=(0.062 mol)(141.96 g/mol)=8.8 gn_{\mathrm{HPO_4^{2-}}} = 0.62 \times 0.100\ \mathrm{mol} = 0.062\ \mathrm{mol} \qquad \text{mass} = (0.062\ \mathrm{mol})(141.96\ \mathrm{g/mol}) = 8.8\ \mathrm{g}
(d) Could she make a good pH 7.00 buffer from acetic acid and sodium acetate instead? Explain. No. She'd need log⁡([CH3COO−]/[CH3COOH])=7.00−4.74=2.26\log([\mathrm{CH_3COO^{-}}]/[\mathrm{CH_3COOH}]) = 7.00 - 4.74 = 2.26, a ratio of about 1.8×1021.8 \times 10^{2}. That's far outside 0.1 to 10. There would be almost no acetic acid to react with added base, so a small amount of base would use it up and the pH would rise sharply.

Why small additions barely change the pH

When a little strong acid or base goes into a buffer, one buffer component reacts with it and turns into the other (Topic 8.8 shows the reactions). If the buffer holds much more HA and A−\mathrm{A^{-}} than the amount added, the ratio [A−]/[HA][\mathrm{A^{-}}]/[\mathrm{HA}] hardly changes, and the log of the ratio changes even less. So the pH stays close to where it started. Without a buffer, the same acid or base has nothing to react with and changes [H3O+]\mathrm{[H_3O^{+}]} directly.
For example, add 0.010 mol of HCl to 1.00 L of a buffer with 0.500 mol each of CH3COOH\mathrm{CH_3COOH} and NaCH3COO\mathrm{NaCH_3COO}. The ratio goes from 0.500/0.500 = 1.00 to 0.490/0.510 = 0.961, and log⁡0.961=−0.017\log 0.961 = -0.017, so the pH drops only from 4.74 to 4.72. The same HCl in 1.00 L of pure water drops the pH from 7.00 to 2.00, a change of 5 units. (Topic 8.8's graph shows the same contrast for added base.)
The AP exam won't ask you to calculate the change in pH when an acid or a base is added to a buffer. It can ask you to explain why the change is small, and this ratio argument is the explanation.

Common mistakes

  • Flipping the ratio. Base over acid: [A−]/[HA][\mathrm{A^{-}}]/[\mathrm{HA}]. Check your answer: more base than acid means the pH is above the pKaK_a.
  • Using KbK_b for a weak-base buffer. For NH3\mathrm{NH_3} and NH4+\mathrm{NH_4^{+}}, convert to the KaK_a of NH4+\mathrm{NH_4^{+}} first (Example 2).
  • Skipping the reaction step. When a strong acid or base is mixed with a weak one, do the stoichiometry first, then use the equation on what's left (Example 3).
  • Plugging in concentrations from before mixing. After two solutions are mixed, use moles, which aren't affected by the new total volume.
  • Using the equation when there's no buffer. A weak acid alone (no A−\mathrm{A^{-}}), the equivalence point (no HA left), or excess strong acid or base all need a different method (Topics 8.3 and 8.4).
  • Significant figures in logs. The number of decimal places in a pH or pKaK_a equals the number of significant figures in the concentration or KK. A KaK_a of 1.8×10−51.8 \times 10^{-5} (two significant figures) gives a pKaK_a of 4.74 (two decimal places).

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.