Quick Answer
pH = pKa + log([A⁻] ÷ [HA]). Acetic acid has Ka = 1.8 × 10⁻⁵, so its pKa is 4.74. A buffer with 0.10 mol/L acetic acid and 0.10 mol/L acetate has a ratio of 1, so pH = 4.74 + log(1) = 4.74. To raise the pH by 1, use ten times as much base as acid.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Henderson-Hasselbalch Calculator
- Quick Answer
- Related Calculators
- How This Henderson-Hasselbalch Calculator Works
- How to Use the Henderson-Hasselbalch Calculator
- Core Formulas
- Key Terms
- Worked Example
- Real-Life Examples
- Henderson-Hasselbalch vs Full Equilibrium
- Base-to-Acid Ratio and pH
- How to Make a Buffer
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Henderson-Hasselbalch Calculator Works
A buffer is a mix of a weak acid (HA) and its conjugate base (A⁻). Choose what to find, pick the acid or type its pKa, and enter what you know. The calculator can give the buffer pH from the amounts, the ratio of base to acid for a target pH, the concentrations and moles of each part to make a buffer of a set strength and volume, or the pKa from a measured pH.
Quick explanation:
- Equal acid and base: pH = pKa.
- Ten times more base: pH = pKa + 1.
- Ten times more acid: pH = pKa − 1.
- Best buffers: pH within about 1 unit of the pKa.
How to Use the Henderson-Hasselbalch Calculator
- Choose what to find.
- Pick the weak acid, or choose Other and enter the pKa.
- Enter the amounts, the target pH, or the total concentration and volume.
- Press Calculate or Enter.
- Read the result and the buffer range check, then save, share or print.
Core Formulas
- Henderson-Hasselbalch: pH = pKa + log([A⁻] ÷ [HA])
- pKa: pKa = −log Ka
- Ratio for a target pH: [A⁻] ÷ [HA] = 10^(pH − pKa)
- Making a buffer of total concentration C: [HA] = C ÷ (1 + ratio), [A⁻] = C − [HA]
- Moles: concentration × volume in liters
Key Terms
- Buffer: a solution that resists pH change when a little acid or base is added.
- Conjugate base: what’s left when a weak acid gives up H⁺, written A⁻.
- pKa: −log Ka; the pH at which acid and base are equal.
- Buffer capacity: how much acid or base a buffer can take before its pH changes a lot.
- Ratio: [A⁻] ÷ [HA], which sets the buffer’s pH.
Worked Example
Find the pH of a buffer made of 0.10 mol/L acetic acid and 0.10 mol/L sodium acetate, then the pH after 1.0 mL of 0.10 mol/L NaOH is added to 100 mL of it. (Both parts are from OpenStax Chemistry 2e, Example 14.20.)
- pKa = −log(1.8 × 10⁻⁵) = 4.7447.
- Ratio = 0.10 ÷ 0.10 = 1, so pH = 4.7447 + log 1 = 4.74.
- Adding 0.00010 mol of NaOH turns 0.00010 mol of acetic acid into acetate: 0.0100 − 0.0001 = 0.0099 mol of acid and 0.0100 + 0.0001 = 0.0101 mol of acetate.
- pH = 4.7447 + log(0.0101 ÷ 0.0099) = 4.75.
The pH only moves from 4.74 to 4.75, matching the book. The same amount of base added to an unbuffered solution at pH 4.74 raises it to 10.99.
Real-Life Examples
- Lab prep: work out how much acid and base to mix for a buffer.
- Homework: check buffer pH problems with the working.
- Biology and biochemistry: see how the base-to-acid ratio sets the pH.
- Finding pKa: work back from a measured pH.
- Comparing recipes: keep one buffer as A and compare another.
Henderson-Hasselbalch vs Full Equilibrium
- Henderson-Hasselbalch: quick, and accurate when both parts are present in reasonable amounts.
- Full equilibrium (ICE table): needed when one part is very small or the solution is very dilute.
- For a weak acid alone: use our pH Calculator, which solves the equilibrium exactly.
Base-to-Acid Ratio and pH
Outside 1 : 10 and 10 : 1 the buffer is close to losing its usefulness, as OpenStax notes.
| [A⁻] : [HA] | pH − pKa | Acetate buffer pH |
|---|---|---|
| 1 : 10 | -1.00 | 3.74 |
| 1 : 4 | -0.60 | 4.14 |
| 1 : 2 | -0.30 | 4.44 |
| 1 : 1 | +0.00 | 4.74 |
| 2 : 1 | +0.30 | 5.05 |
| 4 : 1 | +0.60 | 5.35 |
| 10 : 1 | +1.00 | 5.74 |
How to Make a Buffer
Say you need 500 mL of an acetate buffer at pH 5.00 with a total concentration of 0.100 mol/L.
- Ratio: [A⁻] ÷ [HA] = 10^(5.00 − 4.7447) = 1.8000.
- [HA] = 0.100 ÷ (1 + 1.8000) = 0.03571 mol/L, and [A⁻] = 0.100 − 0.03571 = 0.06429 mol/L.
- In 0.500 L that’s 0.01786 mol of acetic acid and 0.03214 mol of acetate.
- Use our Grams to Moles Calculator to turn those moles into grams to weigh out.
Real buffers are usually checked with a pH meter and adjusted, because activity effects and temperature change the pH slightly from the ideal answer.
Common Mistakes to Avoid
- Flipping the ratio. Base goes on top: log([A⁻] ÷ [HA]).
- Using Ka instead of pKa. Take −log Ka first.
- Mixing units. Use moles for both, or mol/L for both.
- Choosing an acid with the wrong pKa. Pick one with a pKa within 1 of your target pH.
- Forgetting added acid or base. Update the moles of HA and A⁻ first, then use the equation.
Frequently Asked Questions
pH = pKa + log([A⁻] ÷ [HA]). It links a buffer’s pH to the pKa and the ratio of base to acid.
When the weak acid and its conjugate base are present in equal amounts.
Yes. Both parts are in the same volume, so the ratio of moles equals the ratio of concentrations.
pH within about 1 unit of the pKa, so the base-to-acid ratio is between 0.1 and 10.
Ratio = 10^(pH − pKa). Choose “Ratio” in the calculator.
About 4.74, from Ka = 1.8 × 10⁻⁵ at 25 °C.
Yes. Use the pKa of the conjugate acid, such as ammonium for an ammonia buffer.
Real solutions are not ideal, and temperature changes the pKa. Check the pH with a meter and adjust.
Multiply by the molar mass, or use our Grams to Moles Calculator.
Yes. Save each set by name in this browser.
Yes. Use Compare: keep as A.
Yes. Use Share link or Print.
References & Sources
| Source | Used For | Link |
|---|---|---|
| OpenStax Chemistry 2e, 14.6 Buffers | The Henderson-Hasselbalch equation, the acetate buffer example and buffer capacity. | https://openstax.org/books/chemistry-2e/pages/14-6-buffers |
| OpenStax Chemistry 2e, 14.3 Relative Strengths of Acids and Bases | Ka, Kb, percent ionization, the 5% check and the exact quadratic solution. | https://openstax.org/books/chemistry-2e/pages/14-3-relative-strengths-of-acids-and-bases |