← All tools/Calculators/Chemistry/Buffer pH Calculator
Buffer pH Calculator
Work out a buffer’s pH from its pKa and the ratio of conjugate base to weak acid — the Henderson–Hasselbalch equation.
Acetic acid has a pKa of 4.76 — the default here. For study and reference only; a real buffer’s pH also depends on temperature and ionic strength.
Buffer pH
What the numbers mean
How it works
Henderson–Hasselbalch equation: pH = pKa + log10([A−] / [HA]) [A−] = concentration of the conjugate base (mol/L) [HA] = concentration of the weak acid (mol/L)
The Henderson–Hasselbalch equation links a buffer’s pH to the ratio of its two partners. pKa is a property of the weak acid — the pH at which it is exactly half dissociated — and you look it up in a table rather than measuring it. [HA] is the concentration of the weak acid itself, and [A−] is the concentration of its conjugate base, the partner formed when the acid loses a proton; both are in moles per litre. The logarithm is base 10, and it works on the ratio, not the individual concentrations: doubling both partners leaves the pH unchanged, which is why diluting a buffer barely changes its pH. The equation assumes a dilute solution at a steady temperature, with the acid weak enough that its own dissociation can be ignored. It does not apply to strong acids or bases, to very concentrated solutions, or when other equilibria — such as a second dissociation — are in play.
Worked example: acetic acid, pKa 4.76, with [HA] = 0.10 mol/L and [A−] = 0.10 mol/L. The ratio is 1, log10(1) = 0, so pH = 4.76 + 0 = 4.76. Raise the base to 0.20 mol/L and the ratio becomes 2, log10(2) = 0.30, so pH = 4.76 + 0.30 = 5.06.
Second worked example: a school lab buffer from acetic acid, pKa 4.76, with [HA] = 0.20 mol/L and [A−] = 0.05 mol/L. The ratio is 0.05 ÷ 0.20 = 0.25, log10(0.25) = −0.60, so pH = 4.76 + (−0.60) = 4.16. The buffer is more acidic than the pKa because the acid outweighs its base four to one. Add base until the two are equal, 0.10 mol/L each, and the ratio becomes 1, log10(1) = 0, and the pH returns to exactly 4.76.
Common mistakes
The most common mistake is swapping the two concentrations — putting the acid on top of the ratio instead of the base, which flips the sign of the logarithm and gives a pH on the wrong side of the pKa. The second is using the volume of each solution instead of its concentration: the equation needs moles per litre, so divide moles by the total volume first. The third is forgetting that pKa belongs to the acid at the lab temperature, usually 25 °C; a value from a table at a different temperature, or for the wrong acid, quietly shifts every answer. A quick check: if the base outweighs the acid, the pH must be above the pKa, and if the acid outweighs the base, it must be below. When a result breaks that rule, the ratio is upside down. A fourth check applies when you prepare the buffer from a salt rather than from the acid: the salt gives you [A−] directly, so do not add its mass to the acid side as well — weigh the salt for the base and the acid for the acid, and keep the two separate.
Frequently asked questions
What is a buffer?
A solution that resists changes in pH when small amounts of acid or alkali are added. It is made from a weak acid and its conjugate base (or a weak base and its conjugate acid) in the same solution.
Why does pH equal pKa when the concentrations are equal?
Because the Henderson–Hasselbalch equation adds log10 of the ratio. When base and acid are equal the ratio is 1, log10(1) is 0, and pH = pKa exactly.
What is the most effective buffer ratio?
Near 1:1, where pH is close to pKa. A buffer works best within about one pH unit either side of its pKa; further away, one partner runs out and the pH swings easily.
Can I use this for a real lab buffer?
Only as a study estimate. Real pH depends on temperature, activity coefficients and ionic strength, so a prepared buffer should always be checked with a calibrated pH meter.
What if the acid is much stronger than the base?
Then the ratio is small, its logarithm is negative, and the pH comes out below the pKa. For example, pKa 5.00 with [A−] = 0.05 and [HA] = 0.10 gives pH 4.70.
More tools
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.