Henderson-Hasselbalch
calculator.
Find the pH of a buffer from its acid and base, or the recipe for a target pH.
- Base to acid ratio
- 1.5
- Base form share
- 60%
- pKa used
- 4.76
There is 1.5 times as much base as acid, so the pH sits 0.176 above the pKa.
Base form and capacity against pH
Drag the point to change the base amountAt pH 4.936, 60% of the buffer is the base form and capacity is 96% of its peak. Half is in each form at pH 4.76, and the shaded band runs one unit either side.
Strong base at 5 mmol per liter moves the pH by 0.0365, up to 4.973.
Temperature
pKa 4.76 here. Acetate moves about 2.8 × 10⁻⁴ per °C near 25 °C, and the NIST value at zero ionic strength is 4.756.
Working
- 1Henderson-Hasselbalch equationpH = pKa + log[A⁻][HA]
- 2Put the numbers in, in one unitpH = 4.76 + log0.150.1
- 3Take the log of the ratiopH = 4.76 + log(1.5) = 4.9361
- 4Check: undo the log and get the ratio back104.9361 − 4.76 = 1.5
How it's worked out
A buffer is a weak acid, HA, mixed with its conjugate base, A⁻. Added acid turns some base into acid, and added base does the reverse, so the pH moves only a little. The Henderson-Hasselbalch equation gives the pH from the ratio of the two forms.
The pKa is the pH at which the two forms are equal, so the log term is zero. Each tenfold change in the ratio moves the pH by one unit. Both forms sit in the same volume, so a ratio of moles gives the same answer as a ratio of concentrations. Mixing the two kinds in one ratio does not work, so the tool asks for the same kind in both boxes.
Recipe mode runs the equation backwards. Raise 10 to the power of the pH minus the pKa for the ratio, then split the total amount between the two forms.
Adding strong acid or base. A strong base turns the same number of moles of acid into base, one for one. The tool moves both amounts and runs the equation again. If the addition uses up one form, the equation no longer applies and the tool says so.
Temperature. pKa changes with temperature, a lot for some buffers. The tool shifts each listed pKa using the reaction enthalpy and heat capacity that Goldberg and co-workers at NIST selected. Tris moves about −0.028 per degree near 25 °C. Phosphate moves far less.
Worked examples
Nia checks an acetate buffer, then adds base
Nia mixes 0.15 M sodium acetate with 0.10 M acetic acid. The ratio is 1.5, and the log of that is about 0.176. Added to the pKa of 4.76, the pH is 4.936.
She then adds 5 mmol of NaOH per liter. Base rises to 155 mM and acid falls to 95 mM, so the pH goes up by only 0.037, to 4.973. The same amount of HCl would take it down to 4.9.
Omar makes 1 L of phosphate buffer at pH 7.4
Omar wants 0.1 M phosphate at pH 7.4, using NaH₂PO₄ (119.98 g/mol) as the acid form and Na₂HPO₄ (141.96 g/mol) as the base form. With a pKa of 7.2, the ratio is 1.585.
That means 38.686 mmol of NaH₂PO₄, or 4.642 g, and 61.314 mmol of Na₂HPO₄, or 8.704 g. He dissolves both in about 800 mL, checks the pH with a meter, adjusts it, and then makes up to 1 L.
His meter will likely read lower than 7.4 before he adjusts. The reason is in the next section.
Why blood sits at pH 7.4
In blood, bicarbonate is the base and dissolved CO₂ acts as the acid. A review in BJA Education gives a pKa of 6.1, 24 mmol/L of bicarbonate and 1.2 mmol/L of CO₂. The ratio is 20 to 1, and the pH is 7.401.
That is 1.3 units above the pKa, outside the usual buffer range, and the tool flags it. Blood still holds its pH because the lungs remove CO₂ and the kidneys adjust bicarbonate.
Reading your result
The buffer range. OpenStax notes that a buffer loses most of its use once one form is under about 10% of the other. One pH unit from the pKa, the ratio is 10 to 1 and the base share is 90.9%. The tool calls a pH within that unit "Within" and flags anything further out. Capacity, how much acid or base the buffer can take, peaks at the pKa.
Expect the meter to differ. The equation uses concentrations, but a pH meter responds to activity, which falls as the salt content rises. Hippler and Metcalfe found the plain equation reads up to 0.4 too high for a typical phosphate buffer. At the salt level of body fluids, they give a working pKa near 6.8 rather than 7.20. With 6.8, the ratio for pH 7.4 would be 3.98, not 1.58. That is why every recipe ends at the meter.
Temperature changes the answer. A Tris pKa of 8.1 at 25 °C becomes 8.738 at 4 °C and 7.781 at 37 °C. A Tris buffer set to pH 8.0 at room temperature is noticeably more basic in a cold room. Phosphate only moves to 7.185 at 37 °C. Set the pH at the temperature you will use.
Recipe sizes. For 500 mL of 50 mM Tris at pH 8.0, the ratio is 0.794. That is 13.93 mmol of Tris-HCl (2.196 g) and 11.07 mmol of Tris base (1.341 g).
Common mistakes
- Putting the acid on top. The base form goes on top of the ratio. Swap them and a pH above the pKa comes out below it by the same amount.
- Using the wrong pKa for a polyprotic acid. Phosphate has three. Near pH 7 the pair is H₂PO₄⁻ and HPO₄²⁻, with a pKa near 7.2. Citrate in this list uses its second pKa.
- Mixing a concentration and a mole count. 0.1 M and 5 mmol only make a ratio once you know the volume. Put both in M or both in mol.
- Weighing the wrong salt form. A hydrate weighs more per mole than the dry salt. Use the molar mass printed on your bottle.
- Using the equation on very dilute or lopsided mixtures. OpenStax notes that the equation relies on the acid's own reaction with water being small. With tiny amounts, or one form far larger than the other, that stops being true and the simple ratio drifts.
Questions people ask
Sources
- OpenStax, Chemistry 2e, section 14.6, Buffers
- Goldberg, Kishore and Lennen, Thermodynamic Quantities for the Ionization Reactions of Buffers, J. Phys. Chem. Ref. Data 31, 231 (2002)
- Shaw and Gregory, Acid-base balance: a review of normal physiology, BJA Education 22, 396 (2022)
- Hippler and Metcalfe, Using activities to correct the Henderson-Hasselbalch equation, Bunsen-Magazin 22, 102 (2020)