Buffer Solution Calculator
Calculate buffer pH and composition.
How it works
This calculator gives the pH of a buffer made from a weak acid and its conjugate base, using the Henderson-Hasselbalch equation. Pick a common buffer system or enter your own pKa, then the two concentrations.
The equation is an approximation. It works well when the acid and base concentrations are within a factor of 10 of each other and not extremely dilute; outside that range the real pH can differ noticeably.
Worked example: an acetate buffer
- 0.10 M acetic acid with 0.15 M sodium acetate. The pKa of acetic acid is 4.76.
- Adding 0.01 mol of HCl to a litre of it turns 0.01 M of acetate into acetic acid: pH = 4.76 + log(0.14 / 0.11) = 4.86. The pH barely moves, which is the point of a buffer.
Equal amounts give pH = pKa
When [A⁻] equals [HA] the log term is zero, so the pH equals the pKa. That's where a buffer resists pH change best, so choose an acid whose pKa is close to the pH you want.
Choosing a buffer
A buffer works within about 1 pH unit of its pKa. Acetate suits pH 3.8 to 5.8, phosphate (pKa 7.20) suits pH 6.2 to 8.2 and is common in biology, and ammonium suits pH 8.3 to 10.3.
Capacity is about concentration
A buffer of 1 M acid and 1 M base has the same pH as one of 0.01 M each, but it can absorb about a hundred times more added acid or base before the pH shifts.
Common questions
Can I use moles instead of concentrations?
Yes. Both are in the same volume, so the volume cancels in the ratio. 0.02 mol of base and 0.01 mol of acid give the same pH as 0.2 M and 0.1 M.
What pH does a phosphate buffer at a 2:1 ratio give?
With pKa 7.20 and [HPO₄²⁻] twice [H₂PO₄⁻], pH = 7.20 + log 2 = 7.50.
Why is blood pH so steady?
Mainly the carbonic acid and bicarbonate buffer (pKa 6.35 in the lab, about 6.1 at body temperature and salt levels), together with breathing out CO₂ and the kidneys, keeps blood at pH 7.35 to 7.45.
Use it with
- pH Calculator: convert between pH and hydrogen ion concentration
- ICE Table Solver: work out equilibrium concentrations for a weak acid
- Molarity Calculator: make up the acid and base solutions
- pH Calculator Calculate pH from hydrogen ion concentration
- pOH Calculator Calculate pOH from hydroxide ion concentration
- Hydrogen Ion Calculator Calculate H+ concentration from pH
- Molarity Calculator Calculate molar concentration of solutions
- Dilution Calculator Calculate dilution ratios and concentrations
- Mass to Moles Converter Convert mass to moles using molar mass
- Moles to Mass Converter Convert moles to mass using molar mass
- Percent Composition Calculator Calculate percentage of each element in a compound