Free tool

Henderson-Hasselbalch Calculator

Find the pH of a buffer from the pKa (or Ka) and the amounts of conjugate base and weak acid, or work backward to the base-to-acid ratio a target pH needs. It flags any ratio outside the 1:10 to 10:1 buffer range.

Built for General Chemistry II

The buffer

Scientific notation works: 1.8e-5. For a weak-base buffer such as NH3/NH4+, enter the pKa of the conjugate acid (14.00 - pKb at 25 °C).

Result

Enter the acid constant and amounts.

Buffer questions show up on every Gen Chem II exam. Encodr turns pKa, the buffer range and the added-acid steps into spaced-repetition practice so they hold until the final.

Get started free

The Henderson-Hasselbalch equation

pH = pKa + log([A-] / [HA]), where [A-] is the conjugate base, [HA] is the weak acid and pKa = -log Ka. Because both species sit in the same volume, you can use moles instead of molarity: only the ratio matters. Solving for the ratio gives [A-] / [HA] = 10^(pH - pKa).

When [A-] = [HA], log(1) = 0 and pH = pKa. That 1:1 point is where the buffer resists change best. A buffer works well while the ratio stays between about 1:10 and 10:1, which is a pH within 1 unit of the pKa.

Worked example: 0.20 M acetic acid (Ka = 1.8 x 10^-5, pKa 4.74) with 0.30 M sodium acetate. pH = 4.74 + log(0.30 / 0.20) = 4.74 + 0.18 = 4.92. Add 0.020 mol NaOH to 1.00 L of it: the base converts 0.020 mol HA to A-, giving 0.32 mol A- and 0.18 mol HA, so pH = 4.74 + log(0.32 / 0.18) = 4.99. More examples are in the Henderson-Hasselbalch equation and buffers, and the whole course is in the free General Chemistry II deck.

From the blog

The Henderson-Hasselbalch equation and buffers

How buffers resist pH change, the Henderson-Hasselbalch equation with worked examples, adding strong acid or base, and the 1:10 to 10:1 buffer range.

Read →

How to calculate pH for strong and weak acids

Strong acid, strong base and weak acid pH step by step, including the 5% approximation, when it fails, and the exact quadratic answer.

Read →

ICE tables for equilibrium, step by step

How to set up and solve an ICE table: finding K from data, finding equilibrium concentrations, the 5% approximation and when you need the quadratic.

Read →

First-year biology, chemistry and physics, compared

What General Biology I and II, General Chemistry I and II, and College Physics I and II each cover, how they fit together, and free flashcards for each.

Read →

Related tools

C1V1 = C2V2 Dilution Calculator

Solve C1V1 = C2V2 for any one value in M or mM and L or mL, and see how much solvent to add to reach the final volume.

Open tool →

Half-Life Calculator

First-order decay: find the amount remaining, the time elapsed or the half-life, plus the rate constant k, with the working shown.

Open tool →

Ideal Gas Law Calculator

Solve PV = nRT for pressure, volume, moles or temperature in atm, kPa, mmHg, L, mL, K or degrees C, with the steps shown.

Open tool →

Molar Mass Calculator

Molar mass of any formula, including parentheses and hydrates, with each element's count, mass contribution and mass percent.

Open tool →

pH Calculator

Convert between [H3O+], [OH-], pH and pOH, or find the pH of a strong acid, strong base or weak acid with the exact quadratic shown.

Open tool →

All free tools