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

Buffer pH Calculator

Henderson–Hasselbalch: pH from pKa and the base-to-acid ratio.

M
M
Common buffers — tap to load
Buffer pH
4.74acidic

pKa = 4.74 · [A⁻]/[HA] = 1

A buffer’s pH follows the Henderson–Hasselbalch equation, pH = pKa + log₁₀([A⁻] ÷ [HA]). An acetate buffer (pKa 4.76) with 0.20 M conjugate base and 0.10 M acid has pH = 4.76 + log₁₀(2.0) = 4.76 + 0.30 = 5.06.

The Henderson–Hasselbalch equation

A buffer resists pH change because it contains both a weak acid and its conjugate base. Its pH is set by the acid’s pKa and the ratio of the two species. Adding a little acid or base shifts that ratio only slightly, so the pH barely moves.

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

[A⁻] is the conjugate base, [HA] is the weak acid; pKa = −log₁₀(Ka)

Worked example

Find the pH of an acetate buffer (pKa = 4.76) with 0.20 M conjugate base and 0.10 M weak acid.

  1. 1
    Form the base-to-acid ratio. [A⁻] / [HA] = 0.20 ÷ 0.10 = 2.0.
  2. 2
    Take the logarithm. log₁₀(2.0) = 0.30, so the buffer sits 0.30 units above its pKa.
  3. 3
    Add to pKa. pH = 4.76 + 0.30 = 5.06 — slightly basic of the pKa because base outweighs acid.

pKa of common buffer acids

At 25 °C; a buffer works best within about ±1 pH unit of its pKa.

Buffer systemWeak acidpKa
AcetateAcetic acid (CH₃COOH)4.76
CarbonateCarbonic acid (H₂CO₃)6.35
PhosphateH₂PO₄⁻7.21
TRISTRIS-H⁺8.07
AmmoniumNH₄⁺9.25
BicarbonateHCO₃⁻10.33

Choosing and reading a buffer

When base equals acid. If [A⁻] = [HA], the log term is zero and pH equals pKa exactly — the point of maximum buffering capacity.

Pick a pKa near your target pH. A buffer is effective within roughly ±1 unit of its pKa, where the ratio stays between about 1:10 and 10:1. To buffer at pH 7.2, the phosphate system is ideal.

Limits and mistakes. The equation assumes a weak acid and concentrations that aren’t extremely dilute, so the equilibrium ratio stays close to the initial ratio. Flipping [A⁻] and [HA] is a frequent error — it changes the sign of the log term and moves the pH the wrong way.

Where do I get pKa?
From a table of acid dissociation constants (see the list above). If you only have Ka, switch the toggle — pKa = −log₁₀(Ka).
Can I use moles instead of molarity?
Yes, as long as both species share the same volume. The ratio — and therefore the pH — is unchanged.
What are the limits of this equation?
It assumes the acid is weak and concentrations are not extremely dilute, so the approximation [A⁻]/[HA] ≈ initial ratio holds.
What pH gives the strongest buffer?
pH = pKa, where [A⁻] = [HA]. There the buffer absorbs added acid or base most effectively.
How do I pick a buffer for a target pH?
Choose a weak acid whose pKa is within about one unit of your target pH, then set the base-to-acid ratio to fine-tune it.
What happens at a 10:1 base-to-acid ratio?
log₁₀(10) = 1, so the pH sits exactly one unit above the pKa. Beyond that ratio the buffer is nearly exhausted on one side and loses its ability to resist pH change.