How to Prepare a Buffer at a Target pH
Choose a buffer system, calculate the amounts of acid and base, and make up and check a solution at the pH you need.
Key takeaways
- Choose a buffer whose pKa lies within about one unit of the target, and preferably much closer.
- Decide the total concentration from how much acid or base the buffer must absorb.
- You can mix an acid with its salt, or make the salt in the flask by partial neutralization.
- Use the molar mass of the exact form on the bottle, including any water of hydration.
- Adjust with a calibrated meter at the working temperature before making up to final volume.
To prepare a buffer, pick a weak acid whose pKa is close to your target pH, calculate the ratio of conjugate base to acid from the Henderson-Hasselbalch equation, convert that ratio and your chosen total concentration into amounts, dissolve them in less than the final volume, check the pH with a meter, adjust and then dilute to the mark.
The calculation gets you close. The measurement gets you there.
Before you weigh anything
Write down what the buffer has to do. Five facts settle most choices.
- The target pH and how closely it must be held.
- The temperature at which the solution will be used.
- The final volume, with a little extra for rinsing the electrode and checking.
- How much acid or base the experiment itself may produce or consume.
- What else will be in the solution, including metal ions, enzymes, dyes or reactive reagents.
If you are following a published method, use its recipe exactly, including the identity of the counter-ion. A sodium phosphate buffer and a potassium phosphate buffer at the same pH are not always interchangeable. The two differ in solubility at low temperature, and some proteins and reactions respond differently to each ion.
It also pays to check which chemicals you actually have. The same compound may be sold as a free acid, a free base, a salt or a hydrate, and each has a different molar mass. Read the label and the safety data sheet before planning the calculation.
Step 1: choose the system
The pKa sets where a buffer works. Some common choices, with approximate values near 25 °C:
| Acid / base pair | pKa (approx.) | Useful range |
|---|---|---|
| Formic acid / formate | 3.75 | 2.8 to 4.8 |
| Ethanoic acid / ethanoate | 4.74 | 3.7 to 5.7 |
| MES | 6.1 | 5.5 to 6.7 |
| H₂PO₄⁻ / HPO₄²⁻ | 7.2 | 6.2 to 8.0 |
| HEPES | 7.5 | 6.8 to 8.2 |
| Tris | 8.1 | 7.2 to 9.0 |
| NH₄⁺ / NH₃ | 9.25 | 8.3 to 10.2 |
| HCO₃⁻ / CO₃²⁻ | 10.3 | 9.3 to 11.0 |
MES, HEPES and Tris are organic compounds widely used in biological work.
Compatibility matters as much as pKa. Phosphate can precipitate calcium and some other metal ions, and it takes part in many enzyme reactions. Tris has an amine group that reacts with some reagents, such as aldehydes, and it can bind certain metals. Buffers that absorb ultraviolet light may interfere with spectroscopy. Volatile ones are chosen when the buffer must later be evaporated away.
Step 2: choose the concentration
The total concentration, acid plus base, determines buffer capacity. Estimate how many moles of acid or base your experiment might add or release, and make sure the relevant partner exceeds that comfortably, often by ten times or more.
Higher is not automatically better. Concentrated buffers raise ionic strength, can disturb proteins, may crystallize in the cold and cost more. Many laboratory procedures use values somewhere between 0.01 and 0.1 mol/L, but follow the method you are working from.
A worked capacity estimate
Suppose a hypothetical reaction in 1.00 L will release 0.0050 mol of H⁺, and you can tolerate a drop of about 0.1 pH unit. Take a buffer with equal parts acid and base, each at concentration n mol/L.
change in pH = log[(n − 0.0050) / (n + 0.0050)]
for a drop of 0.10: (n − 0.0050)/(n + 0.0050) = 10^(−0.10) = 0.794
n = 0.0050 × (1 + 0.794) / (1 − 0.794) = 0.044 mol/L So about 0.044 mol of each partner, a total near 0.09 mol/L, will do. If your target sits away from the pKa, you need somewhat more, because the buffer is weaker in one direction.
This kind of estimate takes a minute and prevents a familiar failure, in which a dilute buffer is overwhelmed partway through an experiment and the results change for reasons nobody notices.
Step 3: calculate the ratio and amounts
Say you need 1.00 L of 0.100 mol/L ethanoate buffer at pH 5.00.
[base]/[acid] = 10^(5.00 − 4.74) = 10^0.26 = 1.82
total = 0.100 mol
base = 0.100 × 1.82 / 2.82 = 0.0645 mol
acid = 0.100 − 0.0645 = 0.0355 mol The ratio is above one because the target is above the pKa. If your numbers say otherwise, the ratio is upside down. The background is in the Henderson-Hasselbalch equation and its limits.
Route A: mix the acid and its salt
Using a molar mass of 82.03 g/mol for anhydrous sodium ethanoate:
sodium ethanoate: 0.0645 mol × 82.03 g/mol = 5.29 g
ethanoic acid: 0.0355 mol ÷ 1.00 mol/L = 35.5 mL of 1.00 M stock If your bottle holds the trihydrate, with a molar mass of 136.08 g/mol, you need 8.78 g instead. Using the wrong form is one of the most common preparation errors. The idea behind it is explained in water in hydrated salts.
Route B: partial neutralization
If you have only the acid, make the conjugate base in the flask. Start with all 0.100 mol as ethanoic acid and add enough sodium hydroxide to convert 0.0645 mol.
ethanoic acid: 100 mL of 1.00 M (0.100 mol)
NaOH: 64.5 mL of 1.00 M (0.0645 mol)
dilute to 1.00 L The final composition matches Route A. The same trick works from the other side, adding hydrochloric acid to a basic partner, which is the usual way to make Tris buffers.
A phosphate example
Now make 500 mL of 0.050 mol/L phosphate buffer at pH 7.40, using pKa 7.20.
ratio HPO₄²⁻ : H₂PO₄⁻ = 10^0.20 = 1.585
total = 0.500 L × 0.050 = 0.025 mol
HPO₄²⁻ = 0.025 × 1.585 / 2.585 = 0.0153 mol
H₂PO₄⁻ = 0.025 − 0.0153 = 0.0097 mol
Na₂HPO₄ (141.96 g/mol): 2.18 g
NaH₂PO₄ (119.98 g/mol): 1.16 g These masses are for the anhydrous salts. When you measure this solution, expect it to read a few tenths of a unit low. The value 7.20 applies at very low ionic strength, and in a solution this salty the effective pKa is lower. You would adjust upward with a little sodium hydroxide, or begin from a recipe or calculation that includes the ionic correction.
Step 4: make it up and adjust
Dissolve everything in roughly 80% of the final volume so there is room for adjustment. Add strong acid or base in small portions, stirring and waiting for the reading to settle. Overshooting and correcting back adds extra salt and changes the ionic strength, so approach the target slowly.
Then transfer to a volumetric flask, rinse in the remaining solution and fill to the mark, following good practice for volumetric preparation. Mix thoroughly and check the pH once more. Calibrate the meter beforehand, as described in calibrating a pH meter.
Checking that the recipe worked
A pH that matches the target shows the ratio is right, but not necessarily the concentration. Two bottles can read 5.00 while one holds ten times more buffer than the other.
Confirm the amounts from your records: the mass weighed, the volumes added and the final volume. If the application is sensitive, a conductivity reading compared with an earlier good batch can flag a large error, and a titration of a measured portion gives the total buffer content directly.
As a trial, add a small known amount of acid to a spare portion and compare the pH change with your estimate. Discard that portion afterward and do not return it to the stock bottle. Pouring unused solution back is a common route for contamination, as is dipping an electrode straight into the storage container. Pour a sample into a clean beaker for each measurement.
Temperature, stock solutions and storage
Adjust the pH at the temperature where the buffer will be used. This is critical for Tris, whose pKa drops by about 0.03 unit per degree of warming, so a buffer set to 8.00 at 25 °C would be well above that near freezing.
Concentrated stock solutions save time, but their pH shifts on dilution because ionic strength changes. Check the diluted solution if the value matters.
Microbes grow in many dilute buffers. Filter or sterilize as your procedure allows, refrigerate if appropriate and discard cloudy solutions. Label each bottle with name, concentration, pH, temperature of adjustment, date and your initials.
Working safely
Concentrated acids and bases cause burns, and dissolving or neutralizing them releases heat. Wear eye protection and gloves, add acid to water and not the reverse when diluting concentrated acid, and work in a hood with volatile reagents such as ammonia or formic acid. Follow the safety data sheet, your instructor and local rules for disposal. Buffers intended for medical or food use must be made under the relevant quality standards, which this guide does not cover.
Troubleshooting
- The pH is far from the calculation. Check the hydrate form, the pKa chosen and whether the meter was calibrated.
- A precipitate appears. The concentration may exceed solubility, or phosphate may be meeting calcium or magnesium. Prepare components separately or change systems.
- The pH drifts over days. Basic solutions absorb carbon dioxide, and volatile components evaporate. Seal the bottle and make fresh batches.
- The buffer fails during the experiment. Its capacity was too low, or the pH sits too far from the pKa.
- Results differ between batches. Write down the exact reagents, amounts, adjustment liquid and temperature so the recipe can be repeated.
Common questions
Can I skip the calculation and just add base until the meter reads right?
For route B you can, and many people do. You still need the total concentration, and a calculation tells you roughly how much base to expect. A large mismatch warns of an error.
Which water should I use?
Use purified water of the grade your method specifies. Tap water contains dissolved ions that can react with buffer components and shift the result.