AP Chemistry · Topic 8.9 · Reading guide, about 5 min

Buffer pH from the base-to-acid ratio

Use the Henderson-Hasselbalch equation to find a buffer's pH and to pick a weak acid whose pKa is near a target pH.

In one minute

A buffer's pH depends on just two things: the pKa\text{p}K_a of its weak acid and the ratio of conjugate base to acid. That relationship is written as the Henderson-Hasselbalch equation. It is quick to use and tells you at a glance how to design a buffer.

You will use the equation to find the pH of a buffer made from stated amounts, and to choose which weak acid is best for a desired pH. You will not be asked to derive it or to calculate pH after adding acid or base to a buffer.

Key terms

Henderson-Hasselbalch equation
pH=pKa+log⁡[A−][HA]\text{pH}=\text{p}K_a+\log\dfrac{[\text{A}^-]}{[\text{HA}]}. It gives the pH of a solution containing a weak acid and its conjugate base.
Base-to-acid ratio
[A−]/[HA][\text{A}^-]/[\text{HA}], the concentration of conjugate base divided by concentration of weak acid. It can also be written as a ratio of moles.
pKa
−log⁡Ka-\log K_a for the weak acid. It is the pH of the buffer when the base-to-acid ratio equals 1.
Logarithm of the ratio
Equals 0 when the ratio is 1, is positive when base is in excess, and negative when acid is in excess.
Target pH
The pH you want the buffer to hold. Choose an acid whose pKa\text{p}K_a is within about one unit of it.
Weak base buffer
A buffer such as NH3/NH4+\text{NH}_3/\text{NH}_4^+. Use the pKa\text{p}K_a of the conjugate acid, NH4+\text{NH}_4^+, in the same equation.
Same-volume shortcut
Both species sit in one solution, so the volume cancels in the ratio. Moles can be used in place of concentrations.
Dilution of a buffer
Adding water lowers both concentrations equally, so the ratio and the pH do not change, although the buffer gets weaker.

The equation and what it says

Start from the weak acid's KaK_a expression: Ka=[H3O+][A−]/[HA]K_a=[\text{H}_3\text{O}^+][\text{A}^-]/[\text{HA}]. Take the negative logarithm of both sides and rearrange, and you get pH=pKa+log⁡([A−]/[HA])\text{pH}=\text{p}K_a+\log([\text{A}^-]/[\text{HA}]). You do not need to reproduce that derivation, only to use the result.

Reading it as a sentence helps. The pH starts at the pKa\text{p}K_a, and then moves up or down depending on the ratio. If there is more base than acid, the logarithm is positive and the pH sits above pKa\text{p}K_a. If there is more acid than base, the pH sits below it. If the two are equal, the pH equals pKa\text{p}K_a exactly, which agrees with the half-equivalence point in 8.5.

Because the ratio is inside a logarithm, a tenfold ratio shifts the pH by only one unit. A buffer with 10 times as much base as acid has pH =pKa+1=\text{p}K_a+1, and one with 10 times as much acid has pH =pKa−1=\text{p}K_a-1. That is why a buffer works over roughly one pH unit on each side of pKa\text{p}K_a.

Using it, step by step

First, identify the weak acid and its conjugate base, and look up or compute the pKa\text{p}K_a. For a weak base buffer, use the pKa\text{p}K_a of the conjugate acid. If you know KbK_b for ammonia, then pKa\text{p}K_a for NH4+\text{NH}_4^+ is 14.00−pKb14.00-\text{p}K_b.

Second, find the ratio. If both species are in the same volume you can use the moles of each directly, since the volume cancels. Third, take the base-to-acid ratio, then its logarithm, and add to pKa\text{p}K_a. Check that your answer makes sense: more base than acid should give a pH above pKa\text{p}K_a.

If a buffer was made by adding a strong base to a weak acid, first do the neutralization from 8.4 to find the moles of acid left and base formed, and then use those amounts in the equation.

Choosing a weak acid for a target pH
Weak acid / conjugate basepKaUseful pH range
CH3COOH/CH3COO−\text{CH}_3\text{COOH}/\text{CH}_3\text{COO}^-4.74about 3.7 to 5.7
H2PO4−/HPO42−\text{H}_2\text{PO}_4^-/\text{HPO}_4^{2-}7.21about 6.2 to 8.2
NH4+/NH3\text{NH}_4^+/\text{NH}_39.26about 8.3 to 10.3

Picking the right acid

The best buffer for a target pH uses an acid whose pKa\text{p}K_a is as close to that pH as possible, so the base-to-acid ratio sits near 1 and both components are plentiful. To hold pH 7.4, the dihydrogen phosphate and hydrogen phosphate pair, with pKa=7.21\text{p}K_a=7.21, fits far better than acetic acid, whose pKa\text{p}K_a of 4.74 is almost three units away.

Once you pick the acid, you can set the ratio from the same equation. For pH 7.4 with pKa=7.21\text{p}K_a=7.21, log⁡(ratio)=0.19\log(\text{ratio})=0.19, so the ratio is 100.19=1.510^{0.19}=1.5, meaning a little more base than acid.

Worked example

A buffer contains 0.30 mol of sodium acetate and 0.20 mol of acetic acid in 1.00 L (pKa=4.74\text{p}K_a=4.74). Find its pH. Then find the pH of an ammonia buffer with 0.20 M NH3\text{NH}_3 and 0.30 M NH4Cl\text{NH}_4\text{Cl} (Kb=1.8×10−5K_b=1.8\times10^{-5} for ammonia).

Acetate buffer. Step 1, ratio: [A−]/[HA]=0.30/0.20=1.5[\text{A}^-]/[\text{HA}]=0.30/0.20=1.5. Step 2, logarithm: log⁡(1.5)=0.18\log(1.5)=0.18. Step 3, add: pH=4.74+0.18=4.92\text{pH}=4.74+0.18=4.92. More base than acid, so the pH is above 4.74, as expected.

Ammonia buffer. Step 1, pKa\text{p}K_a of the conjugate acid: pKb=−log⁡(1.8×10−5)=4.74\text{p}K_b=-\log(1.8\times10^{-5})=4.74, so pKa(NH4+)=14.00−4.74=9.26\text{p}K_a(\text{NH}_4^+)=14.00-4.74=9.26. Step 2, here the base is NH3\text{NH}_3 and the acid is NH4+\text{NH}_4^+, so the ratio is 0.20/0.30=0.6670.20/0.30=0.667. Step 3, log⁡(0.667)=−0.18\log(0.667)=-0.18. Step 4, pH=9.26−0.18=9.08\text{pH}=9.26-0.18=9.08. More acid than base, so the pH is below 9.26, as expected. Two decimal places match the precision of the data.

How it connects

  • Back to 8.7: the ratio rule [A−]/[HA]=10pH−pKa[\text{A}^-]/[\text{HA}]=10^{\text{pH}-\text{p}K_a} is this same equation rearranged.
  • Back to 8.8: the neutralizing reactions explain why the ratio changes only a little when acid or base is added.
  • Back to 8.5: at the half-equivalence point the ratio is 1 and the equation gives pH=pKa\text{pH}=\text{p}K_a.
  • Forward to 8.10: the ratio sets the pH, but the actual amounts set the capacity.

Common mistakes

  • Putting the ratio upside down. It is base over acid, [A−]/[HA][\text{A}^-]/[\text{HA}]. Always check the direction: more base should raise the pH above pKa\text{p}K_a.
  • **Using pKb\text{p}K_b directly for a weak base buffer.** Convert to the pKa\text{p}K_a of the conjugate acid first, or work with pOH.
  • Using the equation for a solution that is not a buffer. A pure weak acid needs an ICE table, because there is no conjugate base to put in the ratio.
  • Expecting dilution to change the pH. Both species fall by the same factor, so the ratio is unchanged.

How it shows up on the exam

  • Calculation questions give amounts or concentrations of a weak acid and its conjugate base with a pKa\text{p}K_a or KaK_a and ask for the pH.
  • Selection items list several weak acids with their pKa\text{p}K_a values and ask which would make the best buffer at a specified pH, with a justification.
  • Conceptual items ask what happens to the pH if the ratio is changed, or if the buffer is diluted.

Check yourself

  1. What is the pH of a buffer that holds equal moles of a weak acid and its conjugate base?
  2. If a buffer has ten times as much conjugate base as weak acid, how far is the pH from the pKa\text{p}K_a?
  3. Why is acetic acid a poor choice for a buffer at pH 7.4?
  4. Why do the moles of acid and base work in the equation even though it uses concentrations?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.