🔬
🔬 Science & engineering

Buffer pH Calculator (Henderson-Hasselbalch)

Results update as you type.

Your numbers

Understanding the buffer pH calculator — concept and principle

A buffer is a mixture of a weak acid and its conjugate base (or a weak base and its conjugate acid) that resists changes in pH when small amounts of acid or base are added. This calculator uses the Henderson–Hasselbalch equation to find the pH of a buffer from its pKa and the two concentrations, and also shows the base-to-acid ratio you would need for pH 7 with the same pKa.

Henderson–Hasselbalch buffer pHWith 0.10 acetic acid and 0.15 acetate, pH = 4.76 + log(1.5) = 4.76 + 0.176 = 4.94.Acid and its partner base share the jobHAHAA⁻A⁻A⁻HA 0.10A⁻ 0.15pKa = 4.76acetic acid+log(0.15 ÷ 0.10)= log 1.5 = 0.1763 base : 2 acidpH = 4.76 + 0.176 = 4.94a bit more base → just above pKa
Three parts base to two parts acid nudges the pH 0.176 above the pKa, to 4.94.

How it is calculated

pH = pKa + log₁₀([A⁻] ÷ [HA])

The principle

Start from the equilibrium constant Ka = [H⁺][A⁻] ÷ [HA]. Taking −log₁₀ of both sides and rearranging gives pH = pKa + log([A⁻]/[HA]). When acid is added, A⁻ absorbs the H⁺ and becomes HA; when base is added, HA gives up H⁺. The ratio changes only slightly, so the pH barely moves. The equation assumes that the amounts of HA and A⁻ in solution equal the amounts you added, which holds when both are much larger than [H⁺] and [OH⁻].

Worked example

Defaults: pKa = 4.76 (acetic acid), [HA] = 0.1, [A⁻] = 0.15.

  1. Ratio: 0.15 ÷ 0.1 = 1.5.
  2. log₁₀(1.5) = 0.176091.
  3. pH = 4.76 + 0.176091 = 4.936091259.
  4. Ratio for pH 7: 10^(7 − 4.76) = 10^2.24 = 173.7800829.
How pH changes with pKaHow pH changes with pKa02468101.192.383.574.765.957.149.52Example: 4.936091259pKa
Each point is the calculator re-run with only “pKa” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
pKapH
1.191.366091259
2.382.556091259
3.573.746091259
4.764.936091259
5.956.126091259
7.147.316091259
9.529.696091259

How to read the result

When [A⁻] = [HA], pH equals pKa, and the buffer resists change best. A buffer works well within about pKa ± 1, i.e. base-to-acid ratios between 0.1 and 10. The pH 7 ratio of about 174 shows that an acetate buffer is a poor choice at pH 7; you would choose an acid whose pKa is near 7, such as the phosphate pair H₂PO₄⁻/HPO₄²⁻ (pKa about 7.2). Higher total concentration gives more buffer capacity but does not change the pH.

Common mistakes

Keep in mind: Henderson–Hasselbalch uses concentrations instead of activities. In real biological and analytical buffers, ionic strength and temperature can shift the pH by a tenth of a unit or more, so always confirm with a calibrated pH meter.

Frequently asked questions

What is the best pH range for a buffer?

Within about one pH unit of the pKa, with the best capacity at pH = pKa.

Can I use moles instead of concentrations?

Yes. Both species are in the same volume, so the mole ratio equals the concentration ratio.

Does diluting a buffer change its pH?

Ideally no, because the ratio stays the same; in practice moderate dilution shifts it slightly and capacity drops.

Sources: Harris, D. C., Quantitative Chemical Analysis, W. H. Freeman · Atkins, P., de Paula, J., Physical Chemistry, Oxford University Press

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →