PurpleCAT

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.

Buffer pH
4.74

Equal acid and base: the pH equals the pKa, the point where a buffer resists change best.

  1. 1

    Start from the equation: pH=pKa+log⁡[A−][HA]\mathrm{pH} = \mathrm{p}K_a + \log\dfrac{[\mathrm{A^-}]}{[\mathrm{HA}]}

  2. 2

    Form the base-to-acid ratio: [A−][HA]=0.10.1=1\dfrac{[\mathrm{A^-}]}{[\mathrm{HA}]} = \dfrac{0.1}{0.1} = 1

  3. 3

    Take the log: log⁡(1)=0\log(1) = 0

  4. 4

    Add it to the pKa: pH=4.74+(0)=4.74\mathrm{pH} = 4.74 + (0) = 4.74

How to Use This Tool

  1. 1Pick what you want to find: pH from pKa, pH from Ka, the base-to-acid ratio, or the pKa.
  2. 2Enter concentrations in M, mM or µM. Moles also work, since the volume cancels in the ratio.
  3. 3Read the result, then open the step-by-step solution to see each substitution.
  4. 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 KaK_a expression in log form, so the pH of the mixture takes one line to find:

pH=pKa+log⁡[A−][HA]\mathrm{pH} = \mathrm{p}K_a + \log\frac{[\mathrm{A^-}]}{[\mathrm{HA}]}

In this equation, pKa=−log⁡Ka\mathrm{p}K_a = -\log K_a, [A−][\mathrm{A^-}] is the concentration of the conjugate base, and [HA][\mathrm{HA}] 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 Ka=1.8×10−5K_a = 1.8 \times 10^{-5} for acetic acid.

  1. Convert to pKa: −log⁡(1.8×10−5)=4.74-\log(1.8 \times 10^{-5}) = 4.74.
  2. Form the ratio: 0.10/0.10=10.10 / 0.10 = 1, and log⁡1=0\log 1 = 0.
  3. Add: pH=4.74+0=4.74\mathrm{pH} = 4.74 + 0 = 4.74.

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 ratiopH compared with pKaPercent in base form
0.1pKa minus 19.1
1equal to pKa50
10pKa plus 190.9
100pKa plus 299.0

For ratios between those, remember that log⁡2=0.30\log 2 = 0.30 and log⁡5=0.70\log 5 = 0.70. 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 pH=−log⁡[H+]\mathrm{pH} = -\log[\mathrm{H^+}] 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.

Put This Into Practice With PurpleCAT

Practice questions, flashcards, and drills built around the AAMC MCAT® outline.

Start Studying Free

No Login Required