01
The Henderson-Hasselbalch equation
pH = pKa + log₁₀( [A⁻] ÷ [HA] )
[A⁻] is the concentration of the conjugate base and [HA] that of the weak acid. For a basic buffer such as Tris, [A⁻] is the uncharged base and [HA] its protonated form, and the pKa is that of the protonated form.
| To find | Rearranged |
|---|---|
| pH | pH = pKa + log₁₀(ratio) |
| Ratio of base to acid | ratio = 10^(pH − pKa) |
| pKa | pKa = pH − log₁₀(ratio) |
02
How to use the calculator
- Enter the pKa of your buffer at the temperature you will work at, from the supplier’s data sheet.
- Enter the pH you want and leave the ratio empty, or enter the ratio and leave the pH empty.
- Add the total buffer concentration to see how many mM of each form to combine.
03
Worked examples
| pKa | Ratio (base : acid) | pH | Base form |
|---|---|---|---|
| 4.76 | 1 : 1 | 4.76 | 50.0% |
| 4.76 | 10 : 1 | 5.76 | 90.9% |
| 4.76 | 1 : 10 | 3.76 | 9.1% |
| 7.20 | 1.585 : 1 | 7.40 | 61.3% |
04
The buffering range
When the two forms are present in equal amounts, pH equals pKa and the buffer resists added acid and base equally well. One pH unit away, 91% of the buffer is in one form and little capacity is left on that side. That is the reason for the usual rule:
useful range ≈ pKa ± 1
The calculator warns when the pH you ask for lies outside that range.
05
What the equation leaves out
- Temperature. pKa changes with temperature, strongly for amine buffers such as Tris. Adjust the pH at the temperature of use.
- Ionic strength and concentration. The equation uses concentrations in place of activities, so real buffers deviate, more so when concentrated or salty.
- Very dilute or extreme-pH solutions, where water’s own ionisation matters.
- Treat the result as the starting recipe, then check with a pH meter and adjust.
06
From ratio to recipe
With the split in mM, the molarity calculator gives the mass of each form for your volume. To make a working buffer from a concentrated stock, use the dilution calculator.
07
Common mistakes with the Henderson-Hasselbalch equation
- Turning the ratio upside down. The equation uses base ÷ acid; with pKa 4.76, a 10 : 1 base-to-acid buffer is pH 5.76, but entering acid ÷ base gives 3.76, two units off.
- Entering the two concentrations in different units. 100 mM base and 0.1 M acid are equal, but typed as 100 and 0.1 they give a ratio of 1,000 and pH 7.76 instead of 4.76.
- Reading the ratio as a percentage. A 1 : 10 ratio puts 9.1% of the buffer in the base form, not 10%.
- Using a buffer far from its pKa. Two units above the pKa, 99.0% is already in the base form, so there is almost no acid left to absorb added base.
Trust
How this page is checked
- The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). Henderson-Hasselbalch calculator. Zebra Nine Studio Inc. https://sciloom.si/henderson-hasselbalch-calculator
Frequently asked questions
What is the Henderson-Hasselbalch equation used for?
To estimate the pH of a buffer from the ratio of its base and acid forms, or to find the ratio needed for a target pH.
What happens when pH equals pKa?
The acid and base forms are present in equal concentrations, a ratio of 1, and the buffer has its greatest capacity.
How do I find the ratio of base to acid for a given pH?
Raise 10 to the power of (pH − pKa). For pH 7.40 with a pKa of 7.20, the ratio is 10^0.2 = 1.585.
Why does my measured pH differ from the calculated one?
The equation ignores temperature and ionic strength. Use it to get close, then adjust with a calibrated pH meter.