Calculate how much 0.1 M citric acid and 0.2 M disodium phosphate to mix for a citrate-phosphate (McIlvaine) buffer of any volume at pH 2.6 to 7.6.

The table covers pH 2.6 to 7.6 in steps of 0.2. A pH in between is interpolated.

Only changes the grams shown. The 0.2 M stock is the same strength either way.

Optional settings

Calculator Functions

The calculator gives the volumes of 0.1 M citric acid and 0.2 M disodium phosphate (Na2HPO4) to mix for a citrate-phosphate buffer, also called McIlvaine buffer, at a chosen pH and final volume [1].

FunctionUse it whenYou enter
Buffer recipe for a target pHYou need a citrate-phosphate buffer between pH 2.6 and 7.6Target pH and final buffer volume
Grams of each chemicalYou want to know how much solid the buffer or the stock solutions containWhich phosphate salt you have: anhydrous or dihydrate

The result also shows how many grams of citric acid monohydrate and phosphate salt make one liter of each stock solution. For a buffer made only from phosphate salts, use the Phosphate Buffer Calculator.

Citrate Phosphate Buffer Formulas

A = V × a ÷ 100
B = V − A [1]
AVolume of 0.1 M citric acid (mL)
BVolume of 0.2 M Na2HPO4 (mL)
VFinal buffer volume (mL)
aCitric acid needed per 100 mL of buffer at the target pH, from the table below (mL)

The two stock solutions always add up to the final volume, so the buffer is made by mixing them with no extra water. For 500 mL at pH 4.0 the table gives a = 61.45, so A = 500 × 61.45 ÷ 100 = 307.25 mL of citric acid and B = 192.75 mL of Na2HPO4.

Citrate-phosphate buffer table

pH0.1 M citric acid (mL)0.2 M Na2HPO4 (mL)
2.689.1010.90
2.884.1515.85
3.079.4520.55
3.275.3024.70
3.471.5028.50
3.667.8032.20
3.864.5035.50
4.061.4538.55
4.258.6041.40
4.455.9044.10
4.653.2546.75
4.850.7049.30
5.048.5051.50
5.246.4053.60
5.444.2555.75
5.642.0058.00
5.839.5560.45
6.036.8563.15
6.233.9066.10
6.430.7569.25
6.627.2572.75
6.822.7577.25
7.017.6582.35
7.213.0586.95
7.49.1590.85
7.66.3593.65

Each row makes 100 mL of buffer [1].

A pH between two rows

a = a₁ + (pH − pH₁) ÷ 0.2 ×
(a₂ − a₁)

Here a₁ and a₂ are the citric acid volumes in the rows just below and just above the target pH, and pH₁ is the lower row's pH. For pH 5.3, a = 46.40 + (5.3 − 5.2) ÷ 0.2 × (44.25 − 46.40) = 45.33 mL per 100 mL. This straight-line step is an estimate between two measured points.

Stock solutions and grams

g = mL ÷ 1,000 × S

S is the strength of the stock in grams per liter: 21.01 g/L of citric acid monohydrate for the 0.1 M citric acid, and 28.40 g/L of anhydrous Na2HPO4 or 35.61 g/L of the dihydrate for the 0.2 M phosphate [1]. The 307.25 mL of citric acid above holds 307.25 ÷ 1,000 × 21.01 = 6.455 g of citric acid monohydrate.

Limits of This Estimate

  • The table runs from pH 2.6 to 7.6 [1]. The calculator does not go outside it.
  • A pH between two rows is interpolated in a straight line. Check the mixed buffer with a pH meter and adjust it with a little of either stock.
  • The volumes assume stocks of exactly 0.1 M citric acid and 0.2 M Na2HPO4. Other hydrates of either chemical have different molar masses, so the grams per liter given here do not apply to them.
  • The concentration of the finished buffer changes with pH, because the two stocks have different strengths and are mixed in different proportions.

Sources

  1. Sigma-Aldrich (Merck), Buffer Reference Center, Citric Acid – Na2HPO4 Buffer Preparation, pH 2.6–7.6: the table of citric acid and Na2HPO4 volumes for each pH, and the grams per liter of each stock solution