Chemistry and laboratory
Buffer calculator (Henderson–Hasselbalch)
Buffer recipes from a target pH: masses of the acid and base forms for Tris, phosphate, HEPES, MES, acetate and more, with temperature-corrected pKa.
Runs in your browser. What you enter stays on this page and is not uploaded.
Result
- Base : acid ratio [A⁻]/[HA]
- 0.8472
- Weigh acid form (C₄H₁₁NO₃·HCl)
- 2.13 g
- Weigh base form (C₄H₁₁NO₃)
- 1.39 g
- pKa used
- 8.072 at 25 °C
- Acid form
- 13.5 mmol
- Base form
- 11.5 mmol
Working
- pH = pKa + log₁₀([A⁻]/[HA]) → [A⁻]/[HA] = 10^(8.00 − 8.072) = 0.8472
- Total buffer = 0.0500 M × 0.500 L = 0.0250 mol; HA = total ÷ (1 + ratio) = 0.0135 mol; A⁻ = total − HA = 0.0115 mol
- Masses: HA 0.0135 mol × 157.594 g/mol; A⁻ 0.0115 mol × 121.136 g/mol
- Alternative by titration: dissolve 3.94 g of the acid form, add 11.5 mmol of NaOH (or KOH), then make up to 500 mL. Or dissolve 3.03 g of the base form and add 13.5 mmol of HCl.
- pKa values are thermodynamic values at zero ionic strength. Real buffers at working concentrations usually read a few tenths of a unit lower (more for multiply charged species such as phosphate), so check and adjust the final pH with a calibrated meter at the temperature of use.
Method and limits
Choose a buffer, a target pH, the total concentration and the volume. The tool gives the mass of the acid form and of the conjugate base form to weigh, and an alternative recipe by titrating one form with NaOH or HCl.
pH = pKa + log₁₀([A⁻] ÷ [HA]) [A⁻] ÷ [HA] = 10^(pH − pKa)
With a total concentration C = [HA] + [A⁻], the acid form is C ÷ (1 + r) and the base form C × r ÷ (1 + r), where r is the ratio. Masses use molar masses computed from the formulas with CIAAW 2024 atomic weights, so a hydrate such as Na2HPO4·7H2O is handled by typing it.
Temperature
pKa changes with temperature according to the van ’t Hoff equation. With the standard ionisation enthalpy ΔH°, the tool uses pKa(T) = pKa(25 °C) + ΔH° ÷ (R ln 10) × (1/T − 1/298.15 K). Tris (ΔH° = 47.45 kJ/mol) loses about 0.028 pH units per kelvin, so a Tris buffer made at room temperature reads lower at 37 °C; phosphate and acetate hardly change.
| Buffer | pKa (25 °C) | ΔH° (kJ/mol) | Useful pH range |
|---|---|---|---|
| Acetate (acetic acid / sodium acetate) | 4.756 | -0.41 | 3.8–5.8 |
| MES | 6.27 | 14.8 | 5.3–7.3 |
| Imidazole | 6.993 | 36.64 | 6.0–8.0 |
| PIPES | 7.141 | 11.2 | 6.1–8.1 |
| MOPS | 7.184 | 21.1 | 6.2–8.2 |
| Phosphate (H₂PO₄⁻ / HPO₄²⁻) | 7.198 | 3.6 | 6.2–8.2 |
| TES | 7.55 | 32.13 | 6.5–8.6 |
| HEPES | 7.564 | 20.4 | 6.6–8.6 |
| Tris | 8.072 | 47.45 | 7.1–9.1 |
| Tricine | 8.135 | 31.37 | 7.1–9.1 |
| Ammonium / ammonia | 9.245 | 51.95 | 8.2–10.2 |
| CHES | 9.394 | 39.55 | 8.4–10.4 |
| Glycine (second pKa) | 9.78 | 44.2 | 8.8–10.8 |
| Carbonate (HCO₃⁻ / CO₃²⁻) | 10.329 | 14.7 | 9.3–11.3 |
| CAPS | 10.499 | 48.1 | 9.5–11.5 |
Limits
The Henderson–Hasselbalch equation uses concentrations in place of activities and ignores water’s own ions, so it is best between pH 3 and 11 and within one unit of the pKa. Tabulated pKa values are for zero ionic strength: at working concentrations the apparent pKa is usually a little lower (by several tenths for phosphate), so always check the final pH with a calibrated meter and adjust.
Worked example
500 mL of 50 mM Tris at pH 8.00 and 25 °C: r = 10^(8.00 − 8.072) = 0.847, so 13.5 mmol Tris·HCl (2.13 g) and 11.5 mmol Tris base (1.39 g). Set the temperature to 37 °C and the pKa falls to 7.75, so pH 8.00 at 37 °C needs a ratio of 1.78 instead.
References
- Goldberg, Kishore and Lennen, Thermodynamic quantities for the ionization reactions of buffers, J. Phys. Chem. Ref. Data 31, 231–370 (2002)
- Po and Senozan, The Henderson–Hasselbalch equation: its history and limitations, J. Chem. Educ. 78, 1499 (2001)
- CIAAW, Abridged standard atomic weights (2024 table, five significant figures)
Related tools
- Molar mass calculatorMolar mass of any chemical formula, with brackets and hydrates such as CuSO4·5H2O, and the percent composition of each element.
- Chemical equation balancerBalance chemical and ionic equations with exact whole-number coefficients, an atom-by-atom check and clear reasons when an equation cannot balance.
- Grams to moles converterConvert between grams, moles and number of particles for any formula or molar mass, using the exact Avogadro constant.
- Molarity calculator and solution preparationMass to weigh for a volume and molar concentration, or the molarity of a solution you made, with g/L, % w/v and ppm equivalents.
- Dilution calculator (C1V1 = C2V2) and serial dilutionsSolve C1V1 = C2V2 for any value in molar, mass, percent or fold units, or plan a serial dilution series with transfer and diluent volumes.
- pH calculator for acids and basespH, pOH, [H⁺] and [OH⁻] for strong and weak acids and bases from concentration and Ka, pKa, Kb or pKb, solved exactly, plus pH conversions.