Henderson-Hasselbalch Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the acid's pKa and the concentrations of conjugate base and weak acid; add a target pH to get the ratio you need.
Result
Buffer pH
[A⁻] ÷ [HA] ratio for the target pH
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- pKa of the weak acid (example value): enter a number.
- Conjugate base [A⁻], in mol/L: enter 0 or more.
- Weak acid [HA], in mol/L: enter 0 or more.
- Target pH (for the ratio): enter a number.
- Read the result: Buffer pH; the panel also shows [A⁻] ÷ [HA] ratio for the target pH.
How this calculator works
Henderson-Hasselbalch equation: pH = pKa + log₁₀([A⁻] ÷ [HA]). Turned around, the ratio needed for a target pH is [A⁻] ÷ [HA] = 10^(pH − pKa).
It assumes the buffer components are much more concentrated than H⁺ and OH⁻; it works best within about one pH unit of the pKa. For bases, use the pKa of the conjugate acid.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| pKa of the weak acid (example value) | ||
| Conjugate base [A⁻] | mol/L | |
| Weak acid [HA] | mol/L | |
| Buffer pH |
Worked example
| pKa of the weak acid (example value) | 4.76 |
|---|---|
| Conjugate base [A⁻] | 0.1 mol/L |
| Weak acid [HA] | 0.1 mol/L |
| Target pH (for the ratio) | 5 |
| [A⁻] ÷ [HA] ratio for the target pH | 1.7378 |
|---|
Buffer pH 4.76
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the pH when [A⁻] equals [HA]?
Exactly the pKa, since log 1 = 0.
Does the calculator work with moles instead of concentrations?
Yes: both are in the same volume, so the ratio is the same.