Buffer Calculator
Fill in the fields and press Calculate to see the result.
About the Buffer Calculator
Make a buffer at a given pH and concentration: the grams of the acid and base forms of phosphate, Tris, acetate, HEPES, MES or carbonate.
The molar masses are filled in for the anhydrous salts; change them if you use a hydrate, such as Na₂HPO₄·7H₂O (268.07 g/mol).
How it is calculated
pH = pKa + log([base] ÷ [acid]) · base ÷ acid = 10^(pH − pKa)
A buffer is a mix of a weak acid and its conjugate base. The Henderson–Hasselbalch equation gives the ratio of base to acid for a pH: at pH = pKa they are equal, and each pH unit above multiplies the base tenfold. The calculator splits the total concentration in that ratio and multiplies the moles of each form by its molar mass.
The pKa values are for 25 °C and dilute solutions; ionic strength and temperature shift the real pH by a few hundredths, more for Tris. Dissolve both forms in about 80% of the final volume, check the pH with a meter, adjust with a little acid or base and make up to volume. A buffer works best within one pH unit of its pKa.
Example
1 liter of 100 mM sodium phosphate buffer at pH 7.4 needs 4.6416 g of NaH₂PO₄ and 8.7041 g of Na₂HPO₄: a base to acid ratio of 1.5849.
Frequently asked questions
How do I make a phosphate buffer at pH 7.4?
For 1 L at 100 mM, dissolve 4.64 g of NaH₂PO₄ and 8.70 g of Na₂HPO₄ (anhydrous) in about 800 mL of water, check the pH and make up to 1 L. With hydrates, use their molar masses.
Which buffer should I use for a given pH?
Choose one with a pKa within one unit of the pH: acetate for pH 3.8 to 5.8, MES for 5.1 to 7.1, phosphate or HEPES for 6.2 to 8.2, Tris for 7.1 to 9.1 and carbonate for 9.3 to 11.3.