Making a buffer means choosing the pH it will hold, and this free buffer pH calculator works that pH out from the two concentrations you mix.
A buffer is a weak acid and its conjugate base together in one solution. The pH follows the Henderson-Hasselbalch equation: pH equals pKa plus the log of the base over the acid. When the two are equal, the log term is zero and the pH equals the pKa.
Please check the inputs: both concentrations must be numbers greater than zero.
| Buffer | pKa | [HA] (mol/L) | [A-] (mol/L) | pH |
|---|
Eight common buffer recipes. The highlighted row matches your buffer system and both concentrations.
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
Making a buffer means choosing the pH it will hold, and this free buffer pH calculator works that pH out from the two concentrations you mix. Run an acetate buffer through it, with 0.10 mol/L of acetic acid and 0.10 mol/L of acetate, and the answer is pH 4.76, with a hydrogen ion concentration of 1.74 times 10 to the power of minus 5 mol/L and a pOH of 9.24. The two concentrations are equal, so the pH equals the pKa of acetic acid, 4.76, and that is the whole idea of the Henderson-Hasselbalch equation in one line.
The calculator takes three inputs: the buffer system, picked from a list of six common systems with their pKa values, the weak acid concentration [HA] in mol/L, and the conjugate base concentration [A-] in mol/L. It returns the pH, the hydrogen ion concentration, the pOH, and the ratio [A-]/[HA], plus the pKa it used. The diagram shows a balance scale with the acid on one pan and the base on the other, two flasks holding the two components, and a pH scale on the right.
A buffer pH calculator is a tool that finds the pH of a buffer solution, a mixture of a weak acid HA and its conjugate base A- that resists changes in pH. The pH follows the Henderson-Hasselbalch equation: pH equals pKa plus log10 of [A-] divided by [HA]. The pKa sets the centre of the buffer, and the ratio of base to acid moves the pH away from that centre: more base raises the pH, more acid lowers it. If you need the pKa itself, the pKa Calculator works it out from the Ka.
When the two concentrations are equal, the ratio is 1, log10 of 1 is zero, and the pH equals the pKa exactly. That is the most effective buffer of that pair, because the acid and the base are present in equal amounts and either one can absorb an addition. A ratio of 10 in either direction moves the pH one unit from the pKa, which is why the useful range of a buffer is about pKa minus 1 to pKa plus 1: beyond that range one partner is nearly exhausted.
The equation comes from the acid dissociation equilibrium, Ka equals [H+] times [A-] divided by [HA]. Taking the negative log of both sides and rearranging gives the Henderson-Hasselbalch form. It is an approximation: it treats activities as concentrations, so it is best for dilute solutions at 25 °C, and it assumes the concentrations you mix are close to the equilibrium concentrations, which holds when both are much larger than Ka.
Pick the buffer system first: acetate with pKa 4.76, phosphate with pKa 7.20, carbonate with pKa 10.33, ammonia with pKa 9.25, Tris with pKa 8.06, or citrate with pKa 3.13. Then enter the weak acid concentration [HA] and the conjugate base concentration [A-], both in mol/L. The calculator updates as soon as you change any input, and the Calculate button runs it again at any time. At the defaults the system is acetate and both concentrations are 0.10 mol/L, giving pH 4.76.
Read the results in order. The first row names the buffer system. The second row is the pH, the headline answer. The third row is the hydrogen ion concentration, which you can check on its own with the Hydrogen Ion Concentration Calculator. The fourth row is the pOH, which always adds to the pH to make 14 at 25 °C. The fifth row is the ratio [A-]/[HA], so you can see the number the log term used. The last rows give the pKa used and the formula applied.
The diagram shows a balance scale. The beam tilts with the log of the ratio: a tenfold excess of base tilts it fully one way, a tenfold excess of acid tilts it fully the other way, and equal amounts leave it level. The two flasks below fill in proportion to each component’s share of the total, so changing either concentration moves both liquid levels, and the red marker on the pH scale on the right climbs as the pH rises. Changing the buffer system retitles the diagram and moves the marker to the new pKa.
The Compare Cases tab puts eight common buffer recipes side by side, with the system, the pKa, both concentrations and the resulting pH: acetate at 0.10 and 0.10, acetate at 0.10 and 0.20, phosphate at 0.05 and 0.05, phosphate at 0.10 and 0.05, Tris at 0.10 and 0.10, carbonate at 0.10 and 0.10, ammonia at 0.20 and 0.10, and citrate at 0.10 and 0.10. The row matching your system and both concentrations is highlighted. If your recipe matches none of them, no row is highlighted and the note says so.
The formula is pH equals pKa plus log10 of [A-] divided by [HA], where pKa is the negative log of the acid dissociation constant, [A-] is the conjugate base concentration in mol/L, and [HA] is the weak acid concentration in mol/L. The hydrogen ion concentration is [H+] equals 10 to the power of minus pH, and the pOH is 14 minus pH at 25 °C, because pKw is 14.00 at that temperature.
Written out for the defaults, an acetate buffer with pKa 4.76, [HA] 0.10 mol/L and [A-] 0.10 mol/L: the ratio is 0.10 divided by 0.10, which is 1.00, and log10 of 1.00 is 0. Adding 0 to 4.76 gives pH 4.76. The hydrogen ion concentration is 10 to the power of minus 4.76, which is 1.74 times 10 to the power of minus 5 mol/L, and the pOH is 14 minus 4.76, which is 9.24.
The log term is what makes the formula easy to use in your head. Doubling the base over the acid raises the pH by log10 of 2, which is 0.30, and doubling the acid over the base lowers it by the same 0.30. A ratio of 10 moves the pH a full unit, and a ratio of 100 moves it two units, which is why a buffer is only useful while the ratio stays between about 0.1 and 10.
Take an acetate buffer with 0.05 mol/L of acetic acid and 0.15 mol/L of sodium acetate. The pKa of acetic acid is 4.76. First, the ratio [A-]/[HA] is 0.15 divided by 0.05, which is 3.00. The log10 of 3.00 is 0.4771. Adding 0.4771 to 4.76 gives pH 5.24. The hydrogen ion concentration is 10 to the power of minus 5.24, which is 5.79 times 10 to the power of minus 6 mol/L, and the pOH is 14 minus 5.24, which is 8.76.
The same steps check a phosphate buffer. Take 0.10 mol/L of dihydrogen phosphate and 0.025 mol/L of hydrogen phosphate, with the pKa2 of phosphoric acid at 7.20. The ratio is 0.025 divided by 0.10, which is 0.25, and log10 of 0.25 is minus 0.6021. Adding minus 0.6021 to 7.20 gives pH 6.60. The hydrogen ion concentration is 10 to the power of minus 6.60, which is 2.51 times 10 to the power of minus 7 mol/L, and the pOH is 14 minus 6.60, which is 7.40.
A third check uses equal concentrations on a different system. Take a carbonate buffer with 0.10 mol/L of bicarbonate and 0.10 mol/L of carbonate, with pKa2 10.33. The ratio is 1.00, the log term is zero, and the pH is 10.33. The hydrogen ion concentration is 10 to the power of minus 10.33, which is 4.68 times 10 to the power of minus 11 mol/L, and the pOH is 14 minus 10.33, which is 3.67.
The first benefit is making a buffer to a target pH without trial and error. Pick the system whose pKa is nearest the target, then solve the ratio from the equation: the ratio is 10 to the power of (target pH minus pKa). For a target of pH 5.06 on acetate, the ratio is 10 to the power of 0.30, which is 2.00, so twice as much acetate as acetic acid. The calculator runs the forward direction, so you can check any ratio you propose before mixing anything.
The second benefit is seeing how forgiving a buffer is. Because the pH moves with the log of the ratio, a 10% error in one concentration moves the pH by only about 0.04 units, which is why buffers are practical to make up in the lab. The calculator shows the ratio beside the pH, so a student can see that a ratio of 3.00 gives pH 5.24 while a ratio of 2.70 would give about pH 5.19, a small shift for a real difference in the recipe.
The third benefit is keeping the pH and the capacity questions separate. This calculator answers where the buffer sits; how much acid or base it can take before moving is a different question, answered by the Buffer Capacity Calculator. A buffer at pH equal to its pKa has the best capacity for its concentration, while the same buffer one unit away has the same recipe cost but only about a third of the capacity, so the two numbers belong together when a buffer is chosen.
The fourth benefit is comparing recipes on one scale. The Compare Cases tab holds eight common recipes in one place, from citrate at pH 3.13 to carbonate at pH 10.33, so a student can see at a glance that equal concentrations always give pH equal to pKa, that a 2 to 1 ratio moves the pH by 0.30, and that a 4 to 1 ratio moves it by 0.60. That pattern is the Henderson-Hasselbalch equation in action, and it is easier to learn from eight rows than from one calculation.
Use the Henderson-Hasselbalch equation: pH equals pKa plus log10 of [A-] divided by [HA]. For an acetate buffer with pKa 4.76, [HA] 0.05 mol/L and [A-] 0.15 mol/L, the ratio is 3.00, log10 of 3.00 is 0.4771, and the pH is 4.76 plus 0.4771, which is 5.24. The pKa is the pKa of the weak acid in the pair, and the concentrations are the analytical concentrations you mix, in mol/L.
When the weak acid and its conjugate base are present in equal concentrations. Then the ratio [A-]/[HA] is 1, log10 of 1 is zero, and the Henderson-Hasselbalch equation reduces to pH equals pKa. That is also the most effective buffer of that pair, because both partners are present in equal amounts and either one can absorb an addition. A 0.10 mol/L acetate buffer with 0.10 mol/L of acetic acid and 0.10 mol/L of acetate sits at pH 4.76, the pKa of acetic acid.
It rises by log10 of 2, which is 0.30. Starting from equal concentrations at pH equal to pKa, doubling the base makes the ratio 2.00 and the pH pKa plus 0.30: for acetate that is 5.06. Doubling the acid instead lowers the pH by the same 0.30, to 4.46 for acetate. Because the pH moves with the log of the ratio, large changes in the recipe make only modest changes in the pH, which is exactly what makes a buffer useful.
Because it treats activities as concentrations and assumes the concentrations you mix are close to the equilibrium concentrations. Both assumptions hold well for dilute solutions at 25 °C, where the activity coefficients are near 1 and the amount of acid that dissociates is small next to the amounts present. The approximation weakens for very dilute buffers, where the dissociation is no longer negligible, for concentrated solutions, where the activity coefficients move away from 1, and far from 25 °C, where the pKa itself shifts.
The pKa of the step that matches the pair in your buffer. A phosphate buffer made of dihydrogen phosphate H2PO4- and hydrogen phosphate HPO4 2- uses pKa2, 7.20. A carbonate buffer of bicarbonate HCO3- and carbonate CO3 2- uses pKa2, 10.33, while a bicarbonate buffer of carbonic acid and bicarbonate uses pKa1, 6.35. A citrate buffer of citric acid and dihydrogen citrate uses pKa1, 3.13. Using the wrong step gives a pH that is wrong by the gap between the steps, which can be several units.
Wikipedia — Henderson-Hasselbalch equation, with pH equals pKa plus log10 of base over acid, its derivation from Ka equals [H+] times [A-] divided by [HA], and the assumptions and limitations behind it.
Wikipedia — Buffer solution, with the equilibrium between a weak acid HA and its conjugate base A-, the Henderson-Hasselbalch equation, and the effective buffer range of pKa plus or minus 1.
OpenStax — Buffers, from Chemistry 2e chapter 14.6, with buffer pH by the Henderson-Hasselbalch equation, buffer capacity, and worked examples.
Khan Academy — Buffer solution pH calculations, with worked examples of finding the pH of a buffer from its component concentrations.
ChemGuide — Buffer solutions, with how a buffer resists pH change, how to choose a buffer by its pKa, and worked examples of buffer pH.
This calculator works out buffer pH from the Henderson-Hasselbalch equation, and it is for study, homework and general reference only. The equation is an approximation: it treats activities as concentrations and assumes the concentrations you mix are close to the equilibrium concentrations, so it is best for dilute solutions at 25 °C. The pKa values are for 25 °C and shift with temperature and ionic strength, and for polyprotic systems the pKa used must be the step that matches the pair in the buffer. Do not use a pH from this calculator to prepare a buffer for real analytical, clinical or pharmaceutical work without checking the procedure it specifies, and do not use it to dose or prepare anything for medical or food use. If your course or manual uses a different pKa table, use that one for your coursework instead of this calculator.
Last updated: 1 December 2026
ADVERTISEMENT
ADVERTISEMENT