Buffer Calculator — Henderson–Hasselbalch
Pick a buffer system, a target pH, the total concentration and the final volume. The calculator returns the exact mass of each form to weigh, and shows the Henderson–Hasselbalch working behind it.
HH pH = pKa + log([base]/[acid])
→ masses to weigh on the balance
Design your buffer
Buffers work best within roughly pKa ± 1.
Sum of both forms, [acid] + [base].
Choosing a hydrate changes the molar mass — and so the mass to weigh.
Recipe
Henderson–Hasselbalch
acid form (HA)
base form (A⁻)
| Form | Fraction | Moles (mol) | MW (g/mol) | Mass (g) |
|---|
Show the science — step-by-step working
Teaching model: activity is treated as equal to concentration and ionic-strength effects are ignored, so real-world pH may differ by a few hundredths. Polyprotic buffers (phosphate, citrate) are modelled with a single relevant pKa. Always confirm the final pH with a calibrated meter and, for real lab work, against your reagent's certificate of analysis.