Chemistry

Buffer Preparation Calculator

Prepare named buffers (phosphate, acetate, Tris, and more) from target pH, total concentration, and volume using Henderson–Hasselbalch.

Buffer preparation calculator

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

Monobasic/dibasic sodium phosphates. pKa₂ ≈ 7.20. Useful pH ≈ 6.28.2.

pH = pKa + log₁₀([A⁻]/[HA]) · pKa = 7.2

[A⁻]/[HA]
1.585
HH check pH
7.4
Acid NaH2PO4
0.03869 M · 4.641 g
Base Na2HPO4
0.06131 M · 8.704 g

Dissolve the calculated masses and dilute to 1000 mL. Adjust ionic strength / activity as needed for research-grade work.

What is the Buffer Preparation Calculator?

A buffer is a mixture of a weak acid (HA) and its conjugate base (A⁻) that resists pH change when small amounts of strong acid or base are added. Laboratory recipes specify a named system (phosphate, acetate, Tris, citrate, ammonia, bicarbonate), a target pH, a total buffer concentration C = [HA] + [A⁻], and a final volume. The Henderson–Hasselbalch equation sets the ratio [A⁻]/[HA] from pH and pKa; together with C it fixes both concentrations, then masses follow from molar mass and volume.

Useful buffering is typically within about ±1 pH unit of the system pKa. Outside that window the ratio becomes extreme and capacity collapses. Real polyprotic systems (citrate, carbonate) have multiple pKa values; this calculator uses a single effective pKa per named recipe as a teaching and planning aid—not a substitute for validated lab SOPs for critical biology or clinical work.

The Buffer Preparation Calculator on Online Science Tools returns acid and base molarities, moles, and grams for common named buffers. Cross-check the target pH with the pH Calculator’s buffer mode, and dilute stock solutions with the Dilution Calculator when needed.

  • pH = pKa + log₁₀([A⁻]/[HA]) (Henderson–Hasselbalch)
  • C = [HA] + [A⁻]; solve for each concentration from the ratio and C
  • mass = moles × molar mass; moles = molarity × volume (L)
  • Stay near the system pKa for practical buffer capacity

Mathematical / chemical formulas

Recipe from target pH, total molarity C, and volume V:

pH = pKa + log₁₀([A⁻]/[HA])
r = [A⁻]/[HA] = 10^(pH − pKa)

[HA] = C / (1 + r)
[A⁻] = C − [HA] = C · r / (1 + r)

n_HA = [HA] · V
n_A  = [A⁻] · V
m = n · M (molar mass of the acid or base reagent)
  • Reagent formulas are the usual lab salts/acids (e.g. NaH₂PO₄ / Na₂HPO₄ for phosphate).
  • Ionic strength, temperature, and activity corrections are omitted.
  • Tris and citrate recipes are approximate single-pKa models.

Step-by-step example: 0.10 M phosphate buffer, pH 7.40, 1.00 L

Prepare 1.00 L of 0.10 M phosphate buffer at pH 7.40 using NaH₂PO₄ / Na₂HPO₄ (pKa₂ ≈ 7.20).

  1. r = 10^(7.40 − 7.20) = 10^0.20 ≈ 1.585.
  2. [HA] = 0.10 / (1 + 1.585) ≈ 0.0387 M; [A⁻] ≈ 0.0613 M.
  3. moles: n_HA ≈ 0.0387 mol; n_A ≈ 0.0613 mol.
  4. Masses ≈ 4.64 g NaH₂PO₄ and 8.70 g Na₂HPO₄ (anhydrous formulas).

Select Phosphate, pH 7.40, 0.10 M, 1000 mL in the Buffer Preparation Calculator and compare the gram amounts.

Frequently asked questions

Is this a phosphate buffer calculator?

Yes. Choose the Phosphate system for the H₂PO₄⁻ / HPO₄²⁻ pair (sodium salts), set target pH, total molarity, and volume, and read off the grams of each salt. Acetate, citrate, Tris, ammonia, and bicarbonate systems are also available.

Why warn when pH is far from pKa?

Buffer capacity is highest near pKa. Far away, almost all of the buffer is in one form, so small additions of strong acid or base shift pH sharply. Pick a system whose pKa is close to your target.

Can I use this for biological Tris or PBS recipes?

It gives a useful first estimate from Henderson–Hasselbalch. For published protocols (exact hydrates, ionic strength, temperature), follow the lab SOP and verify pH with a calibrated meter.

How does this relate to the pH Calculator?

The pH Calculator estimates pH from known [HA] and [A⁻]. This tool inverts the problem: given target pH and total C, it finds the recipe amounts. Use both to cross-check homework and lab prep.

Keep learning with more calculators and study guides on Online Science Tools.

Practice problems & worked examples

Practice alongside the buffer preparation above. Each problem includes a full worked solution so you can check your reasoning step by step.

Practice problem 1

Equal concentrations

A phosphate buffer has pKa = 7.20 and [H₂PO₄⁻] = [HPO₄²⁻]. What is pH?

Show solution

Worked solution

  1. pH = pKa + log([A⁻]/[HA]) = 7.20 + log(1) = 7.20.

Answer: pH = 7.20

Practice problem 2

Ratio from target pH

For acetate buffer (pKa = 4.76) at pH 5.00, what is [A⁻]/[HA]?

Show solution

Worked solution

  1. r = 10^(pH − pKa) = 10^(0.24) ≈ 1.74.

Answer: [A⁻]/[HA] ≈ 1.74

Practice problem 3

Split total concentration

C = 0.10 M and r = [A⁻]/[HA] = 1.585. Find [HA] and [A⁻].

Show solution

Worked solution

  1. [HA] = C/(1+r) ≈ 0.0387 M.
  2. [A⁻] = C − [HA] ≈ 0.0613 M.

Answer: [HA] ≈ 0.0387 M; [A⁻] ≈ 0.0613 M

Practice problem 4

Mass from moles

You need 0.0613 mol of Na₂HPO₄ (M ≈ 142 g/mol). What mass?

Show solution

Worked solution

  1. m = n × M ≈ 0.0613 × 142 ≈ 8.70 g.

Answer: ≈ 8.70 g

Practice problem 5

Choosing a buffer system

Target pH is 7.4. Is acetate (pKa ≈ 4.8) a good primary choice?

Show solution

Worked solution

  1. Useful range is roughly pKa ± 1.
  2. 7.4 is far from 4.8; prefer phosphate (pKa₂ ≈ 7.2) or Tris (~8.1).

Answer: No — choose a system with pKa near 7.4 (e.g. phosphate)

Related tools