FLXCode Buffer Calculator

FLXCode apps

Appearance

Buffer Calculator

Pick a buffer and a pH. The grams to weigh, the pH from the engine and the Henderson-Hasselbalch answer update as you type.

Final volume

Calculating…

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.

Problem or idea? Email us

Quick start

  1. Pick the buffer system and the form pair, for example phosphate with sodium dihydrogen phosphate and disodium hydrogen phosphate.
  2. Type the target pH, the total buffer concentration in mol/L, the final volume and the temperature.
  3. Weigh the grams shown, dissolve them in less than the final volume of water, check the pH with a meter and top up with water to the volume.

Use "pH of a mix" when you already know the amounts and want the pH, and "Capacity" for the capacity at your pH and the curve around the pKa. The recipe opens in the pH calculator and the titration curve calculator with the buttons under the result. The pKa values are in the pKa table as well.

Henderson-Hasselbalch equation

For a weak acid HA and its conjugate base A-:

pH = pKa + log([A-] / [HA])

It follows from the acid constant. At equal amounts the pH is the pKa. The equation is the quick way to find the ratio of the two forms for a pH, and it is good enough for many jobs. It stops being good in a few cases.

  • Dilute buffers. Below about 0.01 M the acid and base that ionise on their own are no longer small next to what you added.
  • High ionic strength. The equation uses concentrations. Activity coefficients shift the real pH, and they shift it more as the salt content goes up.
  • A pKa near 2 or near 12. Then the hydrogen or hydroxide ions from water are a large part of the total.
  • Polyprotic acids with close pKa values, such as citric acid. The steps overlap, so more than two forms are present.

Worked example: engine against the equation

0.1 M acetate buffer for pH 4.76, from the engine with the Davies activity model at 25 °C, for 1 L. The pKa of acetic acid in the database is 4.756.

RecipeAcetic acid, gSodium acetate, gpH in the enginePlain HH for the same amounts
Adjusted with the engine2.6844.5374.764.85
Weighed by plain HH2.9894.1214.674.76

Plain HH asks for a base to acid ratio of 1.01, which is about 1 because the target is the pKa. The engine needs a ratio of 1.24, with a little less acid, because at an ionic strength of 0.056 mol/kg the activity of H+ is not its concentration. The gap is 0.09 pH units for acetate.

Phosphate at pH 7.00 shows it more: its ionic strength is 0.225 mol/kg and the ions carry up to two charges. The engine recipe is 4.7 g of sodium dihydrogen phosphate and 8.635 g of disodium hydrogen phosphate per litre. Weighing by plain HH (7.343 g and 5.507 g) gives pH 6.63, which is 0.37 units off.

How to make a buffer

  1. Choose a system with a pKa within one unit of the pH you need (see the table below). The capacity is highest at the pKa.
  2. Choose the total concentration. 0.05 to 0.1 mol/L is common. More buffer holds the pH better and adds more salt.
  3. Weigh the two forms, or one form and the strong acid or base, as the calculator shows. Use the molar mass of your product if it is a hydrate: the calculator uses the anhydrous form where the list says so.
  4. Dissolve in about 80 % of the final volume of water. Put the electrode in and read the pH at the temperature of use.
  5. Adjust with a small amount of acid or base if it is off by a few hundredths. Then top up to the final volume with water.

Standard buffers for calibrating a pH meter are in the pH calculator. Open them from the Formulas menu there.

Buffer capacity

Capacity, written β, is the amount of strong base per litre that raises the pH by one unit: β = dCbase / dpH, in mol/L per pH unit. Adding strong acid counts as negative base. For a buffer of total concentration C and one weak acid with constant Ka:

β = 2.303 (Kw / [H+] + [H+] + C Ka [H+] / (Ka + [H+])2)

The last term is the buffer. It is largest when [H+] = Ka, that is at pH = pKa, where it is 2.303 C / 4. Two pH units away it is about 100 times lower. This is the reason for the rule that a buffer works within one unit of its pKa.

The calculator finds the capacity from the engine, by adding a small amount of strong base and of strong acid and reading the pH change on both sides. For 0.1 M acetate at pH 4.76 it gives 0.05793 mol/L per pH unit. The formula gives 0.05761, a difference of +0.6 %. The curve in the tool shows both, with the engine line including activity and every step of the acid.

Buffer systems and their pKa

The pKa values of the database at 25 °C, with the source of each system. The calculator offers all of them. A step is a dissociation of one proton, step 1 being the strongest acid. See values and sources for every material for the full tables, and the pKa table.

SystempKa at 25 °CUseful rangeSource
pKa 2 to 4
Formate 3.75 2.75 to 4.75 Harned and Embree 1934
Lactate 3.86 2.86 to 4.86 Nims and Smith 1936
Glycolate 3.83 2.83 to 4.83 Nims 1936
pKa 4 to 6
Acetate 4.76 3.76 to 5.76 Goldberg et al. 2002
Citrate 3.13, 4.76, 6.40 3.76 to 5.76 Goldberg et al. 2002
Phthalate 2.95, 5.41 4.41 to 6.41 Goldberg et al. 2002
Succinate 4.21, 5.64 4.64 to 6.64 Goldberg et al. 2002
Tartrate 3.04, 4.37 3.37 to 5.37 Goldberg et al. 2002
Diglycolate 3.05, 4.37 3.37 to 5.37 Goldberg et al. 2002
Piperazine 5.33, 9.73 4.33 to 6.33 Goldberg et al. 2002
pKa 6 to 8
Phosphate 2.15, 7.20, 12.35 6.20 to 8.20 Goldberg et al. 2002
HEPES 3.00, 7.56 6.56 to 8.56 Goldberg et al. 2002
MES 6.27 5.27 to 7.27 Goldberg et al. 2002
MOPS 7.18 6.18 to 8.18 Goldberg et al. 2002
PIPES 7.14 6.14 to 8.14 Goldberg et al. 2002
TES 7.55 6.55 to 8.55 Goldberg et al. 2002
BES 7.19 6.19 to 8.19 Goldberg et al. 2002
ACES 6.85 5.85 to 7.85 Goldberg et al. 2002
ADA 1.59, 2.48, 6.84 5.84 to 7.84 Goldberg et al. 2002
MOPSO 6.90 5.90 to 7.90 Goldberg et al. 2002
DIPSO 7.58 6.58 to 8.58 Goldberg et al. 2002
TAPSO 7.63 6.63 to 8.63 Goldberg et al. 2002
Bis-Tris 6.48 5.48 to 7.48 Goldberg et al. 2002
Bis-Tris propane 6.65, 9.10 5.65 to 7.65 Goldberg et al. 2002
Histidine 1.54, 6.07, 9.34 5.07 to 7.07 Goldberg et al. 2002
Imidazole 6.99 5.99 to 7.99 Goldberg et al. 2002
Maleate 1.92, 6.27 5.27 to 7.27 Goldberg et al. 2002
Dimethylglutarate 3.70, 6.34 5.34 to 7.34 Goldberg et al. 2002
Triethanolamine 7.76 6.76 to 8.76 Goldberg et al. 2002
N-Ethylmorpholine 7.77 6.77 to 8.77 Goldberg et al. 2002
pKa 8 to 10
Borate 9.24 8.24 to 10.24 Goldberg et al. 2002
Tris 8.07 7.07 to 9.07 Goldberg et al. 2002
Ammonia 9.24 8.24 to 10.24 Goldberg et al. 2002
TAPS 8.44 7.44 to 9.44 Goldberg et al. 2002
HEPPSO 8.04 7.04 to 9.04 Goldberg et al. 2002
POPSO 8.00 7.00 to 9.00 Goldberg et al. 2002
CHES 9.39 8.39 to 10.39 Goldberg et al. 2002
AMPSO 9.14 8.14 to 10.14 Goldberg et al. 2002
CAPSO 9.82 8.82 to 10.82 Goldberg et al. 2002
Tricine 2.02, 8.13 7.13 to 9.13 Goldberg et al. 2002
Bicine 2.00, 8.33 7.33 to 9.33 Goldberg et al. 2002
Glycine 2.35, 9.78 8.78 to 10.78 Goldberg et al. 2002
Glycylglycine 3.14, 8.27 7.27 to 9.27 Goldberg et al. 2002
Ethanolamine 9.50 8.50 to 10.50 Goldberg et al. 2002
Diethanolamine 8.88 7.88 to 9.88 Goldberg et al. 2002
AMP 9.69 8.69 to 10.69 Goldberg et al. 2002
AMPD 8.80 7.80 to 9.80 Goldberg et al. 2002
Glycine amide 8.04 7.04 to 9.04 Goldberg et al. 2002
pKa 10 to 12
Carbonate 6.35, 10.33 9.33 to 11.33 Goldberg et al. 2002
CAPS 10.50 9.50 to 11.50 Goldberg et al. 2002
Triethylamine 10.72 9.72 to 11.72 Goldberg et al. 2002
Methylamine 10.64 9.64 to 11.64 Goldberg et al. 2002

The useful range is the main pKa plus and minus 1. Systems with more than one pKa in the table can buffer around each of them.

Sources: Chemistry 2e, 14.6 Buffers, OpenStax; Measurement of pH. Definition, standards, and procedures (IUPAC Recommendations 2002), Pure Appl Chem 74(11):2169-2200, Buck et al., IUPAC; Thermodynamic quantities for the ionization reactions of buffers, J Phys Chem Ref Data 31(2):231-370 (2002), Goldberg, Kishore, Lennen

Run by Leszek Rupnicki · Updated · How we build and test · Report a mistake

FAQ

What is the Henderson-Hasselbalch equation?

pH = pKa + log([A-] / [HA]). It gives the pH of a buffer from the pKa of the weak acid and the ratio of its conjugate base to the acid. When the two are equal the pH equals the pKa. Each tenfold change in the ratio moves the pH by one unit.

Why is the pH I measure different from the Henderson-Hasselbalch pH?

The equation uses concentrations and the pKa at zero ionic strength. A real buffer has ions that screen each other, so the activity of H+ is not its concentration. For 0.1 M phosphate at pH 7.00 the amounts that plain HH gives end up at pH 6.63 in the engine, a difference of 0.37. A calibrated pH meter and a little acid or base fix that. Weigh by the engine recipe and the pH should land close.

Which buffer should I use for my pH?

Pick a system whose pKa is within one unit of the pH you want. From the database at 25 °C: acetate 4.76, MES 6.27, phosphate 7.20, HEPES 7.56, Tris 8.07, borate 9.24, carbonate 10.33. The list in the calculator groups all systems by pKa. Also check that the buffer does not react with your sample: phosphate binds calcium and Tris reacts with some aldehydes.

What is buffer capacity and what raises it?

Capacity is the amount of strong base per litre that moves the pH by one unit. It grows in proportion to the total buffer concentration, and it is at its highest where the pH equals the pKa. For 0.1 M acetate at pH 4.76 the engine gives 0.05793 mol/L per pH unit. Ten times less buffer has ten times less capacity at the same pH.

Does temperature change the pH of a buffer?

Yes, and some buffers much more than others. Tris is the usual example. The same 0.05 M Tris recipe that gives pH 8.00 at 25 °C gives pH 7.68 at 37 °C in the engine, because the pKa of Tris falls from 8.07 to 7.75. Set the temperature of use in the calculator before you read the recipe.

More from FLXCode

  • pH CalculatorpH of a solution or mixture from the substance and its concentration in mol/L or wt %. Acids, bases, buffers, salts.
  • Titration Curve CalculatorTitration curve in mL with equivalence points and half-equivalence pH. Strong and weak acids, bases, polyprotic acids.
  • Formulation pH CalculatorpH of a cleaner formula in wt %, the acid or base for a target pH, a titration curve and the pH after dilution.
  • Molarity CalculatorSolve for molarity, mass, moles or volume. Type a formula for the molar mass and see every step with your numbers.

Share Buffer Calculator