Buffer pH Calculator (Henderson–Hasselbalch)
Buffer pH from acid/base ratio, or the ratio needed for a target pH.
- Free, no sign-up
- Runs in your browser — files stay private
What is the Buffer pH Calculator (Henderson–Hasselbalch)?
The Henderson–Hasselbalch equation links a buffer's pH to its pKa and the ratio of conjugate base to acid. Use this calculator to predict the pH of a mixture, or to find how much acid and base form to combine for a target pH. Buffers work best within about ±1 pH unit of their pKa.
How to use the Buffer pH Calculator (Henderson–Hasselbalch)
- Pick a buffer or enter a custom pKa.
- Choose whether to calculate pH or the amounts for a target pH.
- Enter concentrations (or the total buffer concentration and target pH).
Formula and method
pH = pKa + log₁₀([A⁻] ÷ [HA])
[A⁻]/[HA] = 10(pH − pKa)
Worked example
100 mM phosphate buffer at pH 7.4 (pKa 7.21): ratio = 100.19 = 1.55, so 60.8 mM HPO₄²⁻ and 39.2 mM H₂PO₄⁻.
Frequently asked questions
Why does my measured pH differ?
pKa changes with temperature and ionic strength (Tris drops about 0.03 pH units per °C). Always confirm with a calibrated pH meter.