Acids, bases & pH
Buffer Calculator
Work out how much weak acid and conjugate base to use to make a buffer at a chosen pH.
Reviewed by M Talha, BS Chemistry · Last checked
Method and example
How to use this calculator
Use this buffer calculator to plan a recipe. Enter the pKa of the weak acid, the pH you want, the total buffer concentration and the final volume. The calculator finds the base-to-acid ratio from the Henderson-Hasselbalch equation and splits the total moles into the amount of conjugate base and weak acid to weigh or measure.
Calculation steps
- Choose a weak acid with a pKa within 1 unit of the target pH.
- Enter the pKa and the target pH.
- Enter the total buffer concentration, , and the final volume.
- Calculate to get the moles of conjugate base and weak acid.
- Convert moles to grams with each component's molar mass, dissolve, check the pH with a meter and make up to volume.
Formula and variables
Ratio . Total moles . and . These follow from the Henderson-Hasselbalch equation and the requirement that the two components add up to the total concentration.
Worked example
Make 0.500 L of a 0.100 M acetate buffer at pH 5.00 (pKa 4.76). . . , about 2.60 g of sodium acetate (82.03 g/mol). , about 1.10 g (60.05 g/mol).
Choosing a buffer system
A buffer resists pH change best when , and is useful within about unit of it. Common choices are acetate (pKa 4.76), phosphate (pKa₂ 7.21), Tris (pKa 8.07 at 25 °C) and ammonium (pKa 9.25). Higher total concentration gives more buffer capacity.
Common mistakes and limitations
The calculation assumes ideal behaviour, so the measured pH of a real buffer can differ by a few tenths, especially at high ionic strength or a different temperature. Always adjust the final pH with a calibrated meter. Account for hydrates and salt forms when converting moles to grams.
Frequently asked questions
How do I make a buffer of a specific pH?
Pick a weak acid with a pKa near the target pH, calculate the base-to-acid ratio from , then split the total moles in that ratio.
What total concentration should I use?
Biological buffers are often 10–100 mM. Higher concentrations resist pH change better but add more ions to the solution.
Why does my measured pH differ from the calculated pH?
Activity effects, temperature and impurities shift the real pH. Prepare the buffer slightly below final volume, adjust the pH with acid or base, then make up to volume.
Can I make a buffer by partly neutralising a weak acid?
Yes. Adding strong base converts some HA into A⁻. The moles of base added equal the moles of A⁻ this calculator reports.
