Skip to content
K Knidox Search…
Chemistry · Acids & Bases

Henderson-Hasselbalch Calculator

Find the pH of a buffer from its pKa and the conjugate-base-to-acid ratio.

Acid dissociation constant (−log₁₀ Ka).
mol/L
Concentration in mol/L.
mol/L
Concentration in mol/L.
Common buffers — tap to try
Buffer pH
4.76Acidic

[A⁻] ÷ [HA] = 1 — equal concentrations, so pH = pKa

pH vs base-to-acid ratio (pH = pKa at 1:1)
Buffer pH rising as the base-to-acid ratio increasespH 5.76pH 3.76ratio 0.1ratio 10

The Henderson-Hasselbalch equation gives a buffer’s pH as pH = pKa + log₁₀([A⁻] ÷ [HA]), where [A⁻] is the conjugate base and [HA] the weak acid. For acetic acid (pKa 4.76) with equal concentrations, the ratio is 1, log₁₀1 = 0, so pH = pKa = 4.76.

What the equation does

The Henderson-Hasselbalch equation predicts the pH of a buffer — a mixture of a weak acid (HA) and its conjugate base (A⁻). Instead of solving the full equilibrium, it links pH directly to the acid’s pKa and the ratio of the two species. Because the relationship is logarithmic, only the ratio of base to acid matters, not the absolute amounts.

pH = pKa + log₁₀([A⁻] ÷ [HA])

[A⁻] = conjugate base concentration, [HA] = weak acid concentration (same units)

Worked example

Find the pH of an acetate buffer (pKa 4.76) with [A⁻] = 1.0 mol/L and [HA] = 0.1 mol/L.

  1. 1
    Identify pKa and the two concentrations. pKa = 4.76, [A⁻] = 1.0 mol/L, [HA] = 0.1 mol/L.
  2. 2
    Form the base-to-acid ratio. [A⁻] ÷ [HA] = 1.0 ÷ 0.1 = 10.
  3. 3
    Take the base-10 logarithm. log₁₀(10) = 1.
  4. 4
    Add it to the pKa. pH = 4.76 + 1 = 5.76. When the ratio is instead 1, log₁₀1 = 0 and pH = pKa exactly.

How the ratio shifts pH from pKa

The log term moves pH one unit per tenfold change in the [A⁻]/[HA] ratio.

[A⁻] : [HA] ratiolog₁₀(ratio)pH relative to pKa
1 : 10−1pKa − 1
1 : 10pKa (equal concentrations)
10 : 1+1pKa + 1

Reading the result

Buffers resist pH change. Adding a little acid or base shifts the [A⁻]/[HA] ratio only slightly, so the log term — and the pH — barely moves. That is what makes a buffer useful.

It works best near the pKa. The equation is most reliable when the ratio stays between about 1:10 and 10:1, i.e. within one pH unit of the pKa. Outside that window the buffer has little capacity and the approximation weakens.

Assumptions. The formula treats the equilibrium concentrations as equal to the amounts you mixed, which holds when both are much larger than the H⁺ produced. It also assumes dilute, ideal behavior — it does not correct for activity coefficients or ionic strength.

When does pH equal pKa?
When [A⁻] = [HA]. The ratio is then 1, log₁₀1 = 0, and the equation reduces to pH = pKa. This is the point of maximum buffering capacity.
What is a buffer’s useful range?
Roughly pKa ± 1 pH unit, which corresponds to [A⁻]/[HA] ratios between 1:10 and 10:1. Outside that window there is too little of one species for the buffer to resist pH change effectively.
Does the total concentration of the buffer matter?
Not for the pH the equation predicts — only the ratio does. But the absolute concentrations set the buffer capacity: a more concentrated buffer absorbs more added acid or base before its pH shifts.
What are [A⁻] and [HA]?
[HA] is the concentration of the weak acid and [A⁻] is the concentration of its conjugate base. For acetic acid (CH₃COOH), the conjugate base is acetate (CH₃COO⁻).
Can I use moles instead of mol/L?
Yes, if both species share the same volume. Since it is a ratio, the volume cancels, so a ratio of moles gives the same pH as a ratio of concentrations.
Why must both concentrations be greater than zero?
The ratio [A⁻] ÷ [HA] and its logarithm are undefined if either term is zero. A working buffer needs measurable amounts of both the weak acid and its conjugate base.