Buffer preparation calculator

How much acid form and how much conjugate base to reach a target pH, by Henderson–Hasselbalch — with the pKa corrected to your working temperature, and the temperature each tabulated pKa was measured at shown rather than assumed.

The formula

pH = pKa + log₁₀([A⁻]/[HA]) pKa(T) = pKa(T₀) + (dpKa/dT)(T − T₀)

[HA]
concentration of the acid form
[A⁻]
concentration of the conjugate base form
pKa
acid dissociation constant of the step being used, at the working temperature
T₀
temperature the tabulated pKa was measured at — 20 °C for most zwitterionic buffers, 25 °C for the classical ones
dpKa/dT
change in pKa per °C, negative for every buffer in the table

Worked example

One litre of 50 mM Tris at pH 8.00

Tris has a pKa of 8.06 at 25 °C. At a target of pH 8.00 the base fraction is 1 / (1 + 100.06) = 0.4655, giving a base-to-acid ratio of 0.8710 — the solution is very slightly richer in the acid form, because the target sits just below the pKa.

Of the 0.05000 mol of buffer in one litre, 0.02328 mol is present as Tris free base and 0.02672 mol as Tris·H⁺. Prepared the usual way — weighing 6.057 g of Tris base, dissolving, and titrating with hydrochloric acid — that is 0.02672 mol of HCl. Every figure here is shown to four significant figures; the calculator carries full precision throughout.

Now take the same bottle into a 4 °C cold room. Tris moves at −0.028 per °C, so its pKa rises by 0.588 to 8.648. The acid-to-base ratio in the bottle has not changed, so the pH rises by that same 0.588: the buffer you trimmed to 8.00 is now sitting near pH 8.59. Nothing was done wrong — the number simply was never a property of the solution alone.

Common pitfalls

Related calculators