Toolvito

Works on this device

Buffer Calculator

Find the pH of a buffer, or how much of the acid form and the base form you need for a pH you want. See how the pH changes when you add a strong acid or base, and how much a buffer can take.

Enter your values

You know the pKa and the concentrations of the acid form and the base form. Find the pH.

Your values

Type the pKa of the acid form at your temperature, from your data table. For acids with several pKa values, use the one nearest the pH you want.

In the finished buffer. If you know moles, divide them by the final volume.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to work out, for example Buffer recipe for a pH you want.
  2. Type the pKa of your buffer acid from a data table, or choose an example pair from the menu. The menu also fills in formulas, so the tool can give masses.
  3. Enter the pH you want, the total buffer concentration and the final volume.
  4. Choose Calculate. The result shows the amounts, the masses and an exact check of the pH.

The Henderson-Hasselbalch equation

A buffer holds a weak acid HA and its conjugate base A⁻. The acid constant is Ka = [H⁺][A⁻] ÷ [HA]. Take −log10 of both sides and rearrange: pH = pKa + log10([A⁻] ÷ [HA]). This is the Henderson-Hasselbalch equation, also called the buffer equation.

Turned round, the ratio you need for a pH is [A⁻] ÷ [HA] = 10^(pH − pKa). At pH = pKa the two forms are equal. Each unit of pH away from the pKa is a factor of 10 in the ratio.

The equation uses the amounts you put in as the amounts at equilibrium. That is good when both forms are much more concentrated than H⁺ and OH⁻. The tool also solves the full charge balance with water and shows that pH as an exact check, so you can see when the equation is off.

Buffer capacity

Buffer capacity β is the strong acid or base (in mol per litre) that changes the pH by one unit, for a small addition. The tool uses the Van Slyke equation (1922): β = ln 10 × ([H⁺] + [OH⁻] + C × Ka × [H⁺] ÷ (Ka + [H⁺])²), where C is the total buffer concentration.

β is highest at pH = pKa, where the buffer term is about 0.576 × C. A buffer is useful within about one pH unit of its pKa. The chart shows β across that range.

Worked examples

pH of a buffer. 0.1 M acetic acid and 0.15 M sodium acetate with pKa 4.76: pH = 4.76 + log10(0.15 ÷ 0.1) = 4.76 + 0.176 = 4.936. The exact check gives 4.936 as well.

Recipe. For 500 mL of 0.1 M acetate buffer at pH 5.0: the ratio is 10^(5.0 − 4.76) = 1.738, so [A⁻] = 0.06347 M and [HA] = 0.03653 M. That is 18.26 mmol of acetic acid (1.097 g) and 31.74 mmol of sodium acetate (2.604 g).

Two stocks. For 100 mL of 0.1 M phosphate buffer at pH 7.4 from 0.2 M NaH2PO4 and 0.2 M Na2HPO4 (pKa 7.20): mix 19.34 mL of the NaH2PO4 stock and 30.66 mL of the Na2HPO4 stock, and add 50 mL of water.

Adding acid. 100 mL of the first buffer holds 10 mmol HA and 15 mmol A⁻. Adding 10 mL of 0.1 M HCl (1 mmol) gives 11 mmol HA and 14 mmol A⁻, so pH = 4.76 + log10(14 ÷ 11) = 4.865, a change of only −0.071.

Capacity. A 0.1 M buffer at pH = pKa has β = 57.6 mmol/L per pH unit.

Limits you should know

  • pKa values are typed by you. The example pairs use rounded pKa values at about 25 °C for trying the tool; check them in your own data table.
  • pKa changes with temperature and with the salt in the buffer (Tris by about −0.03 for each degree Celsius). Always check the finished buffer with a pH meter and adjust it.
  • Each buffer is treated as one acid with one pKa. For acids with several pKa values (phosphoric, citric), use the pKa nearest your pH; the other steps are not included.
  • Concentrations stand in for activities, and water is taken at 25 °C (pKw = 14.00). Recipes from fixed published tables (PBS, TE, McIlvaine buffers) are not included.
  • To dilute a buffer use the Dilution Calculator. For the pH of a weak acid or base alone, use the pH Calculator.

Related tools