Henderson Hasselbalch Calculator
Work a buffer in either direction with the Henderson Hasselbalch equation, pH = pKa + log10([A-] / [HA]). Pick the Concentrations mode to enter the pKa with the conjugate base and weak acid concentrations and get the buffer pH, or pick the target pH mode to enter a pKa and a pH and get the base to acid ratio you would need to mix. The pKa is always required, and only the ratio of the two concentrations affects the result.
How to use the Henderson Hasselbalch equation
- Choose I have Concentrations to solve for pH, or A target pH to solve for the ratio.
- Enter the pKa of the weak acid in the pKa field.
- In Concentrations mode, enter the conjugate base [A-] and weak acid [HA] in mol/L.
- In target pH mode, enter the Buffer pH you are aiming for instead.
- Read the pH, pKa and [A-]/[HA] ratio in the result cards, then click Copy.
Examples
Acetate buffer, ten times more base than acid
pKa 4.76, [A-] 1 mol/L, [HA] 0.1 mol/L
pH 5.76, [A-]/[HA] ratio 10
Equal concentrations
pKa 4.76, [A-] 1 mol/L, [HA] 1 mol/L
pH 4.76, [A-]/[HA] ratio 1
Blood bicarbonate, solving for the ratio
pKa 6.1, target pH 7.4
[A-]/[HA] ratio 19.952623 (about 20 to 1)
Frequently asked questions
What is the Henderson Hasselbalch equation?
It links a buffer's pH to the acid's pKa and the balance of its two forms: pH = pKa + log10([A-] / [HA]), where [A-] is the conjugate base and [HA] is the weak acid. Rearranged, it also gives the ratio needed for a target pH as [A-]/[HA] = 10^(pH - pKa). It is the working formula for designing and predicting buffers.
When does the buffer pH equal the pKa?
When the conjugate base and weak acid concentrations are equal, their ratio is 1 and log10(1) is 0, so the pH lands exactly on the pKa. This is also the point of maximum buffering capacity, where the buffer resists added acid or base most strongly.
How do I find the ratio from a target pH?
Switch to the target pH mode and enter a pKa and the pH you want. The tool computes the ratio as 10 raised to the power pH minus pKa. A pH one unit above the pKa needs a 10 to 1 base to acid ratio, and one unit below needs 1 to 10.
What units should the concentrations use?
Molarity, mol/L, is standard, but because the equation depends only on the ratio of the two concentrations, any consistent unit cancels and gives the same pH. You can even use moles or millimoles as long as both boxes use the same unit and the volume is shared.
How accurate is the equation?
It is most reliable within about one pH unit of the pKa, roughly a 1 to 10 up to 10 to 1 ratio, where a buffer actually works. Far outside that window, or at very low concentrations, it drifts because it uses formal concentrations instead of true activities and ignores water's own contribution to pH.
Why does the tool always require a pKa?
The pKa is the anchor of the equation; without it there is no reference point to add the log term to. In Concentrations mode you also need both concentrations, and in target pH mode you need the pH, but the pKa is mandatory either way.
What is a valid concentration to enter?
Each concentration must be a positive number. Zero or negative values are rejected, and you must supply both the base and the acid or neither, since a single concentration cannot define a ratio.
Does this calculate the pKa from a structure?
No. You supply the pKa, which you look up for your acid, such as 4.76 for acetic acid or about 6.1 for the carbonic acid system in blood. The tool then handles the buffer arithmetic around that value.
Is my data kept private?
Yes. The logarithm and power calculations run entirely in your browser, so the pKa, pH and concentrations you type are never uploaded and the tool works offline once loaded.
Learn more
- Henderson Hasselbalch and how buffers hold pH steady
Where the buffer equation comes from, how to design a buffer at a target pH, and the assumptions that limit it.
Related tools
pH Calculator
Calculate pH, pOH and the H+ and OH- concentrations at 25C. Enter any one value and get the other three, with an acidic, neutral or basic verdict.
Molarity Calculator
Calculate molarity in mol per litre and solve for moles, volume or concentration. Find moles from mass and molar mass, then get the missing value.
Titration Calculator
Solve acid base titration problems with M1V1 = M2V2. Enter any three of acid and base molarity and volume, set proton counts, and find the missing value.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.