Buffer Calculator — Henderson-Hasselbalch pH
Buffers hold pH constant against small additions of strong acid or base. The Henderson-Hasselbalch equation tells you the pH of a buffer from the ratio of its conjugate-base form to its weak-acid form and the acid’s pKa. Pick a common buffer from the dropdown to auto-load its pKa, or enter a custom pKa.
Buffer Calculator
Henderson-Hasselbalch. Pick a common buffer to load its pKa, or enter a custom pKa.
Show the work
- Formula
- Substitute
- Result
Equations used
The equation
For a weak acid HA with dissociation constant Ka:
At [A⁻] = [HA] (equimolar), pH = pKa exactly — this is the buffer’s point of maximum capacity. Every buffer works best within pKa ± 1 pH unit; farther than that, the ratio becomes extreme (above 10:1 or below 1:10) and small acid/base additions swing the pH.
The reverse direction — pick a target pH and calculate the ratio you need:
Which buffer for which pH range
Rule of thumb: choose a buffer whose pKa is within ±1 pH unit of your target. Common lab buffers, ordered by pKa (25 °C):
| Buffer | pKa | Usable pH range |
|---|---|---|
| Acetate | 4.76 | 3.8 – 5.8 |
| MES | 6.15 | 5.2 – 7.2 |
| Bis-Tris | 6.46 | 5.8 – 7.2 |
| PIPES | 6.80 | 6.1 – 7.5 |
| MOPS | 7.20 | 6.5 – 7.9 |
| Phosphate (pKa₂) | 7.20 | 6.2 – 8.2 |
| HEPES | 7.55 | 6.8 – 8.2 |
| Tris | 8.06 | 7.0 – 9.0 (temp-sensitive) |
| TAPS | 8.40 | 7.7 – 9.1 |
| CHES | 9.55 | 8.6 – 10.5 |
| Carbonate (pKa₂) | 10.33 | 9.3 – 11.3 |
Common pitfalls
- Temperature matters, especially for Tris. Tris pKa drops by ~0.028 per °C. A “pH 8.0 Tris” prepared at 25 °C is actually pH 7.75 at 37 °C. Adjust pH at your working temperature.
- Concentration ≠ activity. Henderson-Hasselbalch uses concentrations, ignoring the activity coefficient. For high-salt buffers or biological media the true pH can differ by 0.1–0.2 units. Measure with a meter for precise work.
- Watch out for ionic strength. High-conductivity buffers (>100 mM) can shift pKa’s noticeably; the tabulated pKa values assume dilute aqueous conditions.
- Pick your buffer for the target pH, not the reverse. Trying to force a HEPES buffer to hold pH 5.0 needs a 3500:1 ratio and has near-zero capacity. Use MES or acetate instead.
Practice problems
Attempt each on paper, then expand the worked solution to check your arithmetic and sig-figs.
Problem 1 Easy You mix 100 mM Tris base with 100 mM Tris-HCl in a 2:1 ratio (base:acid). What is the pH? (Tris pKa = 8.06)
Answer: pH 8.36
- pKa
- 8.06 (Tris at 25 °C)
- [A⁻]/[HA]
- 2 (base:acid = 2:1)
- Formula
- Substitute
- Note
At 25 °C. If you use this buffer at 37 °C, the actual pH drops by about 0.028 × 12 ≈ 0.34 units to pH 8.03 — measure and adjust at working temperature.
- Result
Problem 2 Easy You need a phosphate buffer at pH 7.40. Phosphate pKa₂ = 7.20. What [HPO₄²⁻]/[H₂PO₄⁻] ratio do you use?
Answer: 1.58 (about 3:2)
- pKa₂
- 7.20 (H₂PO₄⁻ / HPO₄²⁻)
- Target pH
- 7.40
- Formula
- Substitute
- Note
So HPO₄²⁻ / H₂PO₄⁻ ≈ 1.58. Physiologically, most 'PBS' recipes hit ~pH 7.4 by using ~2 mM K₂HPO₄ and ~1.4 mM KH₂PO₄ (plus NaCl for isotonicity).
- Result
Problem 3 Intermediate You want a MES buffer at pH 6.15 (which equals its pKa). What is the fractional composition [A⁻]/([A⁻]+[HA])?
Answer: 50 % A⁻ (equimolar)
- pKa (MES)
- 6.15
- Target pH
- 6.15
- Formula
- Substitute
- Note
This is where a buffer resists pH change most effectively — small additions of strong acid or base move the ratio only slightly. Every buffer preparation targets pH within ±1 of its pKa for this reason.
- Result
Problem 4 Hard You need pH 5.0 and are stuck with HEPES (pKa 7.55). Estimate the [A⁻]/[HA] ratio. Should you use this buffer?
Answer: ≈ 0.00028 (1:3500) — no, use MES or acetate instead
- pKa (HEPES)
- 7.55
- Target pH
- 5.00
- Formula
- Substitute
- Note
That's basically all HA and essentially no conjugate base. A tiny addition of strong base pushes the pH up rapidly — the buffer has almost no capacity here. Use MES (pKa 6.15) or acetate (pKa 4.76) for pH 5.0.
- Result
Frequently asked questions
- What is the Henderson-Hasselbalch equation?
- pH = pKa + log10([A⁻] / [HA]). It tells you the pH of a buffered solution given the ratio of the conjugate base to the weak acid form and the acid's pKa. A ratio of 1 (equimolar) gives pH = pKa — the point of maximum buffering capacity.
- Which buffer should I pick for my target pH?
- The rule is: choose a buffer whose pKa is within ±1 unit of your target pH. At pH = pKa the buffer has maximum capacity; beyond ±1 unit the ratio becomes extreme (>10:1) and small acid or base additions swing the pH more. This calculator warns you when your target lies outside the pKa ± 1 window.
- Do I need to correct pKa for temperature?
- For most buffers, no — the ΔpKa/°C is small enough that a value measured at 25 °C is fine anywhere from 4 °C to 37 °C. The big exception is Tris, whose ΔpKa/°C ≈ -0.028, meaning a pH-8.0 Tris buffer prepared at 25 °C is actually pH 7.75 at 37 °C or pH 8.3 at 4 °C. Adjust the pH at the temperature you'll actually use the buffer at.
- What about ionic strength and activity corrections?
- Henderson-Hasselbalch uses concentration in place of activity. For low ionic strength buffers (< 0.1 M) the error is under 0.1 pH unit; for high-salt buffers or biological media the actual pH can differ by 0.2 pH or more. For precise work (enzyme assays, protein crystallography) measure pH at working conditions with a calibrated meter.
Sources
- Harris, Quantitative Chemical Analysis, 10th ed. (2020), §9-2
- Good et al., Biochemistry 5 (1966) 467 (Good's buffers)
- IUPAC Gold Book — Henderson-Hasselbalch
- CIAAW / IUPAC atomic-weights table (2021 conventional)
Last updated: .