Henderson–Hasselbalch buffer calculator

Pick a common buffer pair or enter your own pKa. Enter the concentrations of the conjugate base and the acid to get the pH, or enter the pH you want and the total concentration to get how much of each you need.

Find
mol/L
mol/L
pH4.94
Ratio [A⁻] / [HA]1.5
Share of base form
60 %
pKa
4.76
Buffer range
Within pKa ± 1, the buffer works well

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose whether to find the pH or the ratio for a target pH.
  2. Pick the buffer pair, or enter a custom pKa.
  3. For the pH, enter the concentrations of base and acid. For the ratio, enter the target pH and the total buffer concentration.
  4. Read the pH or the ratio and the amounts of each form.

Formulas

  • pH = pKa + log₁₀([A⁻] ÷ [HA])
  • Ratio for a target pH: [A⁻] ÷ [HA] = 10^(pH − pKa)
  • Split of a total concentration C: [A⁻] = C × r ÷ (1 + r), [HA] = C ÷ (1 + r)

The pKa values in the list are rounded values at 25 °C. pKa changes with temperature and ionic strength (Tris especially), so for precise work measure the pH after mixing.

Worked example

An acetate buffer with 0.15 mol/L sodium acetate and 0.10 mol/L acetic acid: pH = 4.76 + log₁₀(1.5) = 4.76 + 0.18 = 4.94.

To make 0.1 mol/L acetate buffer at pH 5.00: ratio = 10^(5.00 − 4.76) = 1.7378, so 0.0635 mol/L acetate and 0.0365 mol/L acetic acid.

Tips

  • The equation is an approximation. It works best for concentrations well above about 0.001 mol/L and for pH values not far from the pKa.
  • Polyprotic acids have several pKa values; use the one between the two forms in your buffer, such as 7.21 for phosphate near neutral pH.
  • Blood: with pKa 6.1 for the bicarbonate system, pH 7.4 needs a ratio of about 20 : 1.

Frequently asked questions

What is the Henderson–Hasselbalch equation?

pH = pKa + log₁₀([A⁻] ÷ [HA]), where [A⁻] is the concentration of the conjugate base and [HA] that of the weak acid. When they are equal, pH = pKa.

How do I find the ratio for a target pH?

Rearrange the equation, [A⁻] ÷ [HA] = 10^(pH − pKa). For an acetate buffer at pH 5.00, the ratio is 10^0.24 = 1.74, so about 63.5% of the buffer should be in the acetate form.

What is a good buffer range?

A buffer works best within about one pH unit of its pKa, where the ratio is between 1 : 10 and 10 : 1. Pick a buffer pair whose pKa is close to the pH you need.

Can I use moles instead of concentrations?

Yes. Both are in the same solution volume, so the ratio of moles equals the ratio of concentrations. Any unit works as long as both use the same one.

More in Math

All tools in this category: Math ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.