Henderson-Hasselbalch calculator

This Henderson-Hasselbalch calculator relates the pH of a buffer to its pKa and the ratio of its base and acid forms. Enter any two of pH, pKa and the base-to-acid ratio to get the third, and see how a total buffer concentration divides between the two forms.

Calculated in your browser. Nothing you type is sent or stored.

Henderson-Hasselbalch calculatorOr describe it in Studio →

Fill in two of the three and leave the one you want empty.

Know both concentrations instead of the ratio? Enter them and the ratio and total fill in.

pH

4.76

Base form
50.0%
Acid form
50.0%
In 100 mM buffer
50 mM base + 50 mM acid

To report

pH 4.76 = pKa 4.76 + log(1); 50.0% base form

Check your result: at pH = pKa the ratio is exactly 1 and half the buffer is in the base form; each unit of pH away multiplies the ratio by 10. The base fraction is ratio ÷ (1 + ratio), so a 10 : 1 ratio is 10 ÷ 11 = 90.9% base.
in the base form when pH = pKa
50%
in the base form when pH = pKa
pH unit from the pKa before it warns
±1
pH unit from the pKa before it warns
base form at a 10 : 1 ratio
90.9%
base form at a 10 : 1 ratio
base : acid for pH 7.40 with pKa 7.20
1.585 : 1
base : acid for pH 7.40 with pKa 7.20
  • Solve for pH, pKa or the ratio
  • Percent in base and acid form
  • Splits a total concentration
  • Warns outside the buffering range
  • Runs in your browser, free

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 findRearranged
pHpH = pKa + log₁₀(ratio)
Ratio of base to acidratio = 10^(pH − pKa)
pKapKa = pH − log₁₀(ratio)

02

How to use the calculator

  1. Enter the pKa of your buffer at the temperature you will work at, from the supplier’s data sheet.
  2. Enter the pH you want and leave the ratio empty, or enter the ratio and leave the pH empty.
  3. Add the total buffer concentration to see how many mM of each form to combine.

03

Worked examples

pKaRatio (base : acid)pHBase form
4.761 : 14.7650.0%
4.7610 : 15.7690.9%
4.761 : 103.769.1%
7.201.585 : 17.4061.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

Read the full methodology · Who makes Sciloom

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.

Know the amounts in mM? The molarity calculator turns them into grams to weigh.
Free to start, no sign-up.
Back to the tool ↑

More research tools