Free Calculator
Henderson-Hasselbalch Equation Calculator
This Henderson-Hasselbalch equation calculator finds the pH of a buffer from its pKa (or Ka) and the concentrations of the weak acid and conjugate base. It also works backward to the base-to-acid ratio or the pKa, and shows each step so you can check homework by hand.
Formulas and facts checked November 5, 2026
Acetic acid is 4.74. Use the pKa of the acid form, HA.
Equal acid and base: the pH equals the pKa, the point where a buffer resists change best.
- 1
Start from the equation:
- 2
Form the base-to-acid ratio:
- 3
Take the log:
- 4
Add it to the pKa:
How to Use This Tool
- 1Pick what you want to find: pH from pKa, pH from Ka, the base-to-acid ratio, or the pKa.
- 2Enter concentrations in M, mM or µM. Moles also work, since the volume cancels in the ratio.
- 3Read the result, then open the step-by-step solution to see each substitution.
- 4Check the note under the result. It flags ratios outside the useful buffer range.
What the Equation Says
A buffer is a weak acid mixed with its conjugate base, or a weak base mixed with its conjugate acid. The Henderson-Hasselbalch equation rewrites the acid's expression in log form, so the pH of the mixture takes one line to find:
In this equation, , is the concentration of the conjugate base, and is the concentration of the weak acid. Because the acid and base are in the same solution, the volume cancels in the ratio, so you can plug in moles instead of molarities and get the same pH.
The log term is the part students mix up. The base goes on top. If you put the acid on top, the sign of the log flips, and the answer comes out on the wrong side of the pKa.
Worked Example: An Acetate Buffer
OpenStax works through a buffer made of 0.10 M acetic acid and 0.10 M sodium acetate, with for acetic acid.
- Convert to pKa: .
- Form the ratio: , and .
- Add: .
The same source then adds 1.0 mL of 0.10 M NaOH to 100 mL of this buffer. The hydroxide converts a little acetic acid into acetate, leaving 0.098 M acid and 0.100 M base, and the pH moves only to 4.75. Adding that same NaOH to 100 mL of an unbuffered solution at pH 4.74 sends the pH to 10.99. That gap of more than six pH units is what a buffer is for.
Reading the Ratio Without a Calculator
Each factor of 10 in the ratio moves the pH by one unit:
| Base-to-acid ratio | pH compared with pKa | Percent in base form |
|---|---|---|
| 0.1 | pKa minus 1 | 9.1 |
| 1 | equal to pKa | 50 |
| 10 | pKa plus 1 | 90.9 |
| 100 | pKa plus 2 | 99.0 |
For ratios between those, remember that and . A 2:1 base-to-acid buffer has a pH 0.30 above its pKa, and a 1:2 buffer has a pH 0.30 below it. These shortcuts cover most of the buffer math you will see without a calculator. The MCAT math without a calculator guide has more log tricks.
When the Equation Stops Working
- Strong acids and bases. They dissociate completely, so there is no equilibrium to describe. Use directly.
- A lopsided ratio. OpenStax notes that a buffer stops being useful once one component drops below about 10% of the other. The calculator flags ratios outside 0.1 to 10.
- Very dilute solutions. The equation assumes the starting concentrations barely change when the acid dissociates (the "x is small" approximation). When the acid and base are very dilute, solve the equilibrium with an ICE table instead.
How It Shows Up on the MCAT®
The MCAT® rarely asks for a bare buffer pH. It asks what form a molecule takes at a given pH. A side chain with a pKa near 4 is mostly deprotonated at pH 7.4, because the pH is more than three units above the pKa. That one comparison tells you the charge of an amino acid, which drives questions on protein folding, electrophoresis and isoelectric points. The Amino Acids reference lists the side-chain pKa values to practice with, and the ratio mode above turns any pH and pKa into a percent deprotonated.
Blood is the other classic setting. The carbonic acid and bicarbonate pair buffers plasma, so a passage about breathing that raises carbonic acid is asking you to see the base-to-acid ratio fall and the pH drop with it.
Frequently Asked Questions
What is the Henderson-Hasselbalch equation used for?
It gives the pH of a buffer from the pKa of the weak acid and the ratio of conjugate base to weak acid. You can also rearrange it to find the ratio a target pH needs, or the pKa when you know the pH.
Can I use moles instead of concentrations?
Yes. The acid and its conjugate base are in the same volume, so the volume cancels in the ratio. Moles of base divided by moles of acid give the same pH as their molarities.
What happens when the pH equals the pKa?
The ratio of base to acid is 1, so half of the acid is deprotonated. This is the halfway point of a weak acid titration and the pH where a buffer resists change best.
Does the Henderson-Hasselbalch equation work for strong acids?
No. Strong acids dissociate completely, so the pH comes straight from the acid concentration, pH = -log[H+]. The equation only applies to a weak acid or base with its conjugate partner.
How do I convert Ka to pKa?
Take the negative base-10 log: pKa = -log(Ka). For acetic acid, Ka = 1.8 x 10^-5 gives a pKa of 4.74. The pH from Ka mode does this conversion for you.
