LabToolsThe Research Infrastructure
  • Features
  • Demo
  • Technology
  • Examples
  • Plans
  • White Paper
  • Data Analysis ↗
  • Calculators
  • Scheduler

Choose a language

  • English
  • 简体中文
  • Español
  • Français
  • Deutsch
  • Português (Brasil)
  • 日本語
  • हिन्दी
  • বাংলা
  • தமிழ்
  • తెలుగు
  • मराठी
Download
FeaturesDemoTechnologyExamplesPlansWhite PaperData Analysis ↗CalculatorsScheduler

Language

  • English
  • 简体中文
  • Español
  • Français
  • Deutsch
  • Português (Brasil)
  • 日本語
  • हिन्दी
  • বাংলা
  • தமிழ்
  • తెలుగు
  • मराठी
All lab calculators
  1. Home
  2. Lab calculators
  3. Buffer

Free · no sign-in · runs in your browser

Buffer calculator: Henderson-Hasselbalch and recipes

Get the base-to-acid ratio for any pH, the grams to weigh and the acid or base to add for Tris, HEPES, MES, MOPS, PIPES, phosphate, acetate, citrate and five more buffers, how far the pH moves with temperature, and how to dilute a 10X stock.

Start calculatingHow it’s calculated

Start herePick a calculation

  1. 1Henderson-HasselbalchBase:acid ratio for a pH, pH from a ratio, percent in each form and the buffer capacity.
  2. 2Buffer recipeGrams to weigh and acid or base to add for 13 common buffers, at your concentration, volume, pH and temperature.
  3. 3pH and temperatureHow far the pH of a buffer moves between the bench, the cold room and 37 °C.
  4. 410X stock to 1XVolume of a concentrated stock and water for any final volume and strength.
All calculators1Henderson-Hasselbalch2Buffer recipe3pH and temperature410X stock to 1XΣMethod?FAQ
1

Henderson-Hasselbalch

Henderson-Hasselbalch calculator

The base:acid ratio for a target pH, or the pH of a ratio you already have, with the percentage in each form and the buffer capacity.

1Enter your values

Values at 25 °C and zero ionic strength (Goldberg et al. 2002).

Solve for

2Your result

[A⁻] : [HA]

1.754: 1

63.7 % base form, 36.3 % acid form

Base form63.7 %
Acid form36.3 %
Capacity β26.6 mM/pH92 % of maximum
Show the calculation
  1. Henderson-Hasselbalch:pH = pKa + log10([A⁻]/[HA])
  2. Ratio for your pH:[A⁻]/[HA] = 10^(5.000 − 4.756) = 1.754
  3. Fraction in the base form:f = r / (1 + r) = 1.754 / 2.754 = 0.6369
  4. Buffer capacity (Van Slyke), C in mol/L:β = 2.303 × (C·Ka·[H⁺]/(Ka + [H⁺])² + [H⁺] + Kw/[H⁺]) = 0.02665 mol/L per pH

Next stepWrite the buffer into a LabTools protocol: every edit is a new version, and the study links to the version it used.

Get LabTools free

Fraction in the base form against pH (pKa 4.756)

2345670255075100pH% base formpH = pKapH 5.00
2

Buffer recipe

Buffer recipe calculator

Grams to weigh and acid or base to add for a buffer of any concentration, volume, pH and temperature, or the two salts to mix. Default: 1 L of 50 mM Tris-HCl, pH 8.0 at 25 °C.

1Enter your values

°C

The temperature you will use it at.

M
Ionic-strength correction (Davies)
mM

e.g. 150 for 150 mM NaCl added to the buffer. 0 if none.

2Your result

Weigh Tris base

6.057 g

50 mmol at 121.14 g/mol

Add HCl29.04 mL29.04 mmol of 1 M
Working pK at 25 °C8.142I = 29 mM
Base form41.9 %useful pH 7.1–9.1
Or mix two forms (no titration): 4.577 g of Tris-HCl (29.04 mmol) and 2.539 g of Tris base (20.96 mmol), made up to 1 L.
Tris pK falls by about 0.028 per °C: set the pH at the temperature you will use it.
Dissolve in about 80 % of the final volume, add most of the HCl, finish to pH 8.00 with a calibrated meter at 25 °C, then make up to volume. The calculation gets you close; the meter decides.
Show the calculation
  1. Moles of buffer = concentration × volume:n = 0.05 mol/L × 1 L = 0.05 mol
  2. Mass of the weighed form:m = 0.05 mol × 121.14 g/mol = 6.057 g
  3. pK at 25 °C (van 't Hoff, then Davies at the buffer’s ionic strength):8.142
  4. Mean protons bound per molecule at pH 8.00:n̄ = 0.5808 (the weighed form carries 0)
  5. Proton balance: HCl = n × |h − n̄| (plus free H⁺/OH⁻):0.05 × |0 − 0.5808| ≈ 0.02904 mol

Next stepSave this recipe as a LabTools protocol or notebook entry, linked to the study that uses it, so the lab makes it the same way every time.

Get LabTools free
3

Temperature

Buffer pH and temperature

A buffer keeps its base:acid ratio when it warms or cools, so its pH follows its pK. See how far it moves between where you set it and where you use it.

1Enter your values

°C
°C

2Your result

pH at 4 °C

8.63

+0.63 from pH 8.00 at 25 °C

d(pK)/dT-0.0279 /°CΔrH° 47.45 kJ/mol
pK at 4 °C8.7028.072 at 25 °C
A shift of 0.63 pH units. Set the pH at 4 °C, or aim for pH 7.37 at 25 °C so it reads 8.00 when used.
Show the calculation
  1. van 't Hoff with constant ΔrH°:pK(T) = pK(25 °C) + ΔrH° / (R ln10) × (1/T − 1/298.15 K)
  2. With your temperatures:pK(25 °C) = 8.072; pK(4 °C) = 8.702
  3. The ratio is fixed, so pH moves by the same amount:pH = 8.00 + (8.702 − 8.072) = 8.630

Next stepNote the temperature the pH was set at in the LabTools protocol, so the next person sets it the same way.

Get LabTools free
TemperaturepKpH of this buffer
4 °C8.7028.63
20 °C8.2148.14
25 °C8.0728.00
30 °C7.9357.86
37 °C7.7507.68

pH of this Tris buffer from 0 to 40 °C

01020304088.5temperature (°C)pH4 °C
4

Stock dilution

10X buffer to 1X

Volume of a concentrated stock (10X, 20X, 50X…) and water for any final volume and strength. Default: 500 mL of 1X from a 10X stock.

1Enter your values

X
X

2Your result

Stock to take

50 mL

plus 450 mL water

Dilution1:10
Water450 mL
Concentrated phosphate and PBS stocks read a lower pH than the 1X buffer and can precipitate in the cold. Warm to dissolve, dilute, then check the pH of the 1X buffer.
Show the calculation
  1. C1V1 = C2V2 with strengths in X:V_stock = V_final × X_final ÷ X_stock
  2. With your numbers:500 mL × 1 ÷ 10 = 50 mL

Next stepKeep stock and working recipes together in a LabTools protocol, versioned and shared with your lab.

Get LabTools free

How it's calculated

The maths behind every result

Each equation below is exactly what the calculator runs. Open “Show the calculation” under any result to see it with your own numbers.

Henderson-Hasselbalch and buffer capacity

A weak acid HA and its conjugate base A⁻ are in equilibrium, Ka=[H+][A−]/[HA]K_a = [\mathrm{H^+}][\mathrm{A^-}]/[\mathrm{HA}]Ka​=[H+][A−]/[HA]. Taking −log₁₀ of both sides gives the pH in terms of the ratio of the two forms:

pH=pKa+log⁡10[A−][HA],[A−][HA]=10 pH−pKa,fA−=11+10 pKa−pH\mathrm{pH} = \mathrm{p}K_a + \log_{10}\frac{[\mathrm{A^-}]}{[\mathrm{HA}]}, \qquad \frac{[\mathrm{A^-}]}{[\mathrm{HA}]} = 10^{\,\mathrm{pH}-\mathrm{p}K_a}, \qquad f_{\mathrm{A^-}} = \frac{1}{1 + 10^{\,\mathrm{p}K_a-\mathrm{pH}}}pH=pKa​+log10​[HA][A−]​,[HA][A−]​=10pH−pKa​,fA−​=1+10pKa​−pH1​

How well a buffer resists a pH change is its capacity β, the moles of strong base per litre needed to raise the pH by one unit (Van Slyke, 1922):

β=2.303(C Ka[H+](Ka+[H+])2+[H+]+Kw[H+]),βmax=2.303 C4 at pH=pKa\beta = 2.303\left(\frac{C\,K_a[\mathrm{H^+}]}{(K_a + [\mathrm{H^+}])^2} + [\mathrm{H^+}] + \frac{K_w}{[\mathrm{H^+}]}\right), \qquad \beta_{max} = \frac{2.303\,C}{4}\ \text{at pH} = \mathrm{p}K_aβ=2.303((Ka​+[H+])2CKa​[H+]​+[H+]+[H+]Kw​​),βmax​=42.303C​ at pH=pKa​
CCC
total buffer concentration (acid + base forms), mol/L
fA−f_{\mathrm{A^-}}fA−​
fraction of the buffer in the base (deprotonated) form
KwK_wKw​
ion product of water, 1.0 × 10⁻¹⁴ at 25 °C

One pH unit from the pK the capacity is a third of its maximum, which is where the usual pKa ± 1 working range comes from.

Recipes: proton balance over every pK

The recipe tool does not stop at one Henderson-Hasselbalch ratio. It counts protons. For a buffer with steps pK1<⋯<pKm\mathrm{p}K_1 < \dots < \mathrm{p}K_mpK1​<⋯<pKm​, the fraction carrying jjj protons and the mean number of bound protons are

αj∝[H+]jKmKm−1⋯Km−j+1,nˉ=∑jj αj\alpha_j \propto \frac{[\mathrm{H^+}]^{j}}{K_m K_{m-1}\cdots K_{m-j+1}}, \qquad \bar n = \sum_j j\,\alpha_jαj​∝Km​Km−1​⋯Km−j+1​[H+]j​,nˉ=j∑​jαj​

If you weigh a form that carries hhh protons per molecule, the strong base (or, if negative, strong acid) to add follows from the proton balance:

nNaOH−nHCl=CV (h−nˉ)−([H+]−[OH−])Vn_{\mathrm{NaOH}} - n_{\mathrm{HCl}} = C V\,(h - \bar n) - \big([\mathrm{H^+}] - [\mathrm{OH^-}]\big) VnNaOH​−nHCl​=CV(h−nˉ)−([H+]−[OH−])V

This handles citrate (three overlapping pKs), glycine on either side, and PIPES free acid, whose first proton is strong and takes one full equivalent of NaOH before buffering starts. Mixing two forms (e.g. NaH₂PO₄ and Na₂HPO₄) is the same balance solved for the mole fraction of the second form.

Ionic strength (Davies correction)

Tabulated pK values are thermodynamic: zero ionic strength. A pH meter reads hydrogen-ion activity, while you weigh concentrations, so in a real buffer the working pK is shifted by the activity coefficients. With the Davies equation:

log⁡10γz=−Az2(I1+I−0.3 I),pK′=pK−A D(I) (1−2zHA),I=12∑cizi2\log_{10}\gamma_z = -A z^2\left(\frac{\sqrt I}{1+\sqrt I} - 0.3\,I\right), \qquad \mathrm{p}K' = \mathrm{p}K - A\,D(I)\,(1 - 2z_{\mathrm{HA}}), \qquad I = \tfrac12\sum c_i z_i^2log10​γz​=−Az2(1+I​I​​−0.3I),pK′=pK−AD(I)(1−2zHA​),I=21​∑ci​zi2​

A=0.509A = 0.509A=0.509 at 25 °C and zHAz_{\mathrm{HA}}zHA​ is the charge of the acid form. The calculator iterates III from the buffer species and their monovalent counter-ions. The shift is small for Tris and Good’s buffers and large for phosphate (H₂PO₄⁻ → HPO₄²⁻): in 0.1 M phosphate pK 7.198 becomes about 6.81, so a recipe calculated with a pK of 7.2 uses far too little Na₂HPO₄. The Davies equation is reliable up to an ionic strength of about 0.1 to 0.5 M; above that, and with added salt you have not entered, measure.

Temperature

The pK of a buffer moves with temperature according to its enthalpy of ionisation (van ’t Hoff, with ΔrH∘\Delta_r H^\circΔr​H∘ constant):

pK(T)=pK(298.15 K)+ΔrH∘Rln⁡10(1T−1298.15 K),d pKdT≈−ΔrH∘Rln⁡10  T2\mathrm{p}K(T) = \mathrm{p}K(298.15\ \mathrm K) + \frac{\Delta_r H^\circ}{R\ln 10}\left(\frac{1}{T} - \frac{1}{298.15\ \mathrm K}\right), \qquad \frac{d\,\mathrm{p}K}{dT} \approx -\frac{\Delta_r H^\circ}{R \ln 10\; T^2}pK(T)=pK(298.15 K)+Rln10Δr​H∘​(T1​−298.15 K1​),dTdpK​≈−Rln10T2Δr​H∘​

A buffer moved from one temperature to another keeps its base-to-acid ratio, so its pH moves with its pK. Leaving out the heat-capacity term changes pK by under 0.03 between 4 and 37 °C for every buffer here; for Tris the equation reproduces Bates and Hetzer’s measured pK at 5, 30 and 40 °C to within 0.01.

Buffer table

pK and ΔrH∘\Delta_r H^\circΔr​H∘ at 25 °C and zero ionic strength from Goldberg, Kishore and Lennen (2002), the NIST review of buffer thermodynamics. d(pK)/dT is calculated from ΔrH∘\Delta_r H^\circΔr​H∘.

BufferpK (25 °C)Useful pHΔrH° (kJ/mol)d(pK)/dT (per °C)
Acetate4.7563.8–5.8-0.410.0002
Citrate (pK1)3.1282.1–4.14.07-0.0024
Citrate (pK2)4.7613.8–5.82.23-0.0013
Citrate (pK3)6.3965.4–7.4-3.380.0020
MES6.2705.3–7.314.8-0.0087
PIPES7.1416.1–8.111.2-0.0066
Imidazole6.9936.0–8.036.64-0.0215
MOPS7.1846.2–8.221.1-0.0124
Sodium phosphate (pK2)7.1986.2–8.23.6-0.0021
HEPES7.5646.6–8.620.4-0.0120
Tris8.0727.1–9.147.45-0.0279
Tricine8.1357.1–9.131.37-0.0184
Bicine8.3347.3–9.326.34-0.0155
Borate9.2378.2–10.213.8-0.0081
Glycine-NaOH (pK2)9.7808.8–10.844.2-0.0260

Traps and assumptions

  • Set the pH at the temperature of use. Tris made to pH 8.0 at room temperature is about pH 8.6 in the cold room.
  • Counter-ions change the buffer. Titrating Tris with HCl adds chloride; titrating HEPES with KOH instead of NaOH gives a potassium buffer. Ionic strength from salt you add later (e.g. 150 mM NaCl) lowers the working pK further; enter it as extra ionic strength if you know it.
  • Hydrates. Weigh with the molecular weight on your bottle. Na₂HPO₄·7H₂O is 268.07 g/mol, not 141.96.
  • Dilution moves the pH. A 10X phosphate or PBS stock has a higher ionic strength than the 1X buffer, so its pH reads lower and rises on dilution.
  • The calculation is a starting point. Electrode calibration, junction potentials and reagent purity all shift the result. Add most of the titrant as calculated, then finish with a calibrated pH meter before making up to volume.

References

References. Goldberg RN, Kishore N, Lennen RM (2002) Thermodynamic quantities for the ionization reactions of buffers. J. Phys. Chem. Ref. Data 31:231–370. Van Slyke DD (1922) On the measurement of buffer values. J. Biol. Chem. 52:525–570. Davies CW (1962) Ion Association. Butterworths, London. Bates RG, Hetzer HB (1961) Dissociation constant of the protonated acid form of 2-amino-2-(hydroxymethyl)-1,3-propanediol. J. Phys. Chem. 65:667–671.

FAQ

Buffer calculator: common questions

How do I make 1 L of 50 mM Tris buffer at pH 8.0?

Dissolve 0.05 mol of Tris base (121.14 g/mol × 0.05 = 6.057 g) in about 800 mL of water, then add HCl to protonate the right fraction. Tris has pK 8.072 at 25 °C, so at pH 8.0 about 54 % must be Tris-H⁺: 27.1 mmol of HCl by Henderson-Hasselbalch, or 29.0 mmol once the pK is corrected for ionic strength. Add most of it as 1 M HCl, finish with a pH meter at the temperature you will use the buffer, then make up to 1 L.

What is the Henderson-Hasselbalch equation?

pH = pKa + log10([A⁻]/[HA]): the pH of a buffer depends on the ratio of its base form to its acid form, not on the total concentration. Rearranged, the ratio is 10^(pH − pKa). For acetate (pK 4.756) at pH 5.0 the ratio is 10^0.244 = 1.754, so 63.7 % is acetate and 36.3 % acetic acid. At pH = pKa the two forms are equal.

What is the useful pH range of a buffer?

About pKa ± 1. Buffer capacity, the strong acid or base needed to move the pH by one unit, peaks at pH = pKa at 2.303 × C / 4 (Van Slyke, 1922): 28.8 mM per pH unit for a 50 mM buffer. One unit away it has fallen to a third of that (33 %), and two units away to under 4 %. Choose a buffer whose pK is within about 0.5 of your working pH and use enough of it.

Why does the pH of Tris change with temperature?

Its ionisation has a large enthalpy (47.45 kJ/mol, Goldberg et al. 2002), so its pK falls by about 0.028 per °C. A Tris buffer set to pH 8.0 at 25 °C reads about 8.63 at 4 °C and 7.68 at 37 °C. Phosphate (3.6 kJ/mol) and acetate barely move, and Good’s buffers such as MES, MOPS and HEPES move about 0.009 to 0.012 per °C. Set the pH at the temperature you will use the buffer.

How do I make 0.1 M sodium phosphate buffer at pH 7.4?

Mix the dibasic and monobasic salts. For 100 mL: 1.134 g of Na₂HPO₄ (7.99 mmol) and 0.278 g of NaH₂PO₄·H₂O (2.01 mmol), about 80 % dibasic. The calculator corrects the phosphate pK (7.198 at zero ionic strength) to the buffer’s own ionic strength, which brings it to about 6.8. These amounts are calculated, not taken from a published table: check the pH with a meter and adjust with NaOH or H₃PO₄.

Why do I get a different phosphate recipe from a pKa of 7.2?

Because phosphate ions are doubly charged, ionic strength lowers the working pK a lot. For 0.1 M phosphate at pH 7.0, Henderson-Hasselbalch with pK 7.198 says 38.8 % dibasic; corrected with the Davies equation the working pK is 6.81 and the recipe is 60.7 % dibasic. Made the uncorrected way, the buffer would read about 0.4 pH units low. Both are calculations; the pH meter is the final check.

How do I dilute a 10X buffer to 1X?

Use C1V1 = C2V2 with the strengths in X: stock volume = final volume × 1 / 10. For 500 mL of 1X from a 10X stock, take 50 mL of stock and add 450 mL of water. For 1 L of 1X TAE from 50X, take 20 mL. Concentrated phosphate stocks often read a different pH from the 1X buffer because ionic strength changes on dilution, so check the pH after diluting.

More calculators

Other free lab calculators

All lab calculators

Dilutions

Dilution calculator

C1V1 = C2V2 solved for any value, serial dilution series with exact transfer volumes, standard curves from one stock, and molarity: grams to weigh for a solution.

Open

Serial dilution

Serial dilution calculator

Plan a serial dilution with exact transfer volumes, convert between dilution factor, 1:N and 1 to N ratios, multiply step factors, and work out CFU/mL from a plate count.

Open

Molarity

Molarity calculator

Grams to weigh for a molar solution, mg/mL to µM and back with the molecular weight, the molarity of concentrated acids and ammonia from % w/w and density, and molar dilutions.

Open

Percent solutions

Percent solution calculator

Grams or millilitres of solute for a % w/v, % v/v or % w/w solution, 70 % ethanol from 95 %, agarose gel recipes, and conversion between percent, mg/mL and molarity.

Open

DNA

DNA calculator

DNA and RNA concentration from A260, ng/µL to nM molarity, copy number, ligation insert amounts and oligo molecular weight, with the formula for every result.

Open

PCR

PCR calculator

PCR master mix volumes for any number of reactions, primer melting temperature (nearest-neighbour, salt-corrected) and annealing temperature, and a cycling program from amplicon length.

Open

LabTools

Keep the recipe beside the experiment

LabTools is a free desktop app for Windows, macOS and Linux. Write the buffer recipe into a versioned protocol or a notebook entry, link it to the study that uses it, and keep the data, statistics and plots from that study in the same place.

Download freeSee features

LabTools

The research infrastructure: plot to figure to manuscript in one place. Free to start, with every feature on every plan.

Product

  • Features
  • Technology
  • Demo & Tutorials
  • Examples
  • Plans
  • Download

Support

  • Contact Support
  • Help Center

Filliaux Industries

  • filliaux.com
  • Data Analysis

Stay updated

Research tips, product updates, and release notes. No spam.

Language

  • English
  • 简体中文
  • Español
  • Français
  • Deutsch
  • Português (Brasil)
  • 日本語
  • हिन्दी
  • বাংলা
  • தமிழ்
  • తెలుగు
  • मराठी
© 2026 Filliaux Industries · LabToolsPrivacyTermsCookiesLinkedIn