Henderson-Hasselbalch Calculator
- In blood, the acid side of the buffer pair is dissolved CO2: 0.03 × PaCO2 = 0.03 × 40 = 1.20 mmol/L.
- The base-to-acid ratio is 24 ÷ 1.20 = 20.00.
- Henderson-Hasselbalch with the blood pKa of 6.1: pH = 6.1 + log10(20.00) = 7.40.
- Read against the usual arterial range of 7.35 to 7.45, this result is: within the usual 7.35 to 7.45 range. The equation assumes the sample is in equilibrium and uses the apparent pKa of 6.1 for the bicarbonate system at body temperature.
This henderson hasselbalch calculator determines the pH of a buffer solution using the Henderson-Hasselbalch equation, which relates pH to the ratio of base to acid: pH = pKa + log10([base] / [acid]). For blood, the pair is bicarbonate and dissolved carbon dioxide: pH = 6.1 + log10(HCO3 / (0.03 x PaCO2)), where 0.03 mmol/L per mmHg is the solubility coefficient of CO2 and 6.1 is the apparent pKa at body temperature. When base equals acid, the log term is zero and pH equals pKa, the point of maximum buffering capacity. Every tenfold change in the ratio moves pH by exactly one unit; doubling the ratio moves it by about 0.30. In blood the normal ratio is about 20 to 1, which is why normal pH (7.40) sits 1.30 units above the pKa of 6.1.
The equation assumes equilibrium and dilute behaviour, and it is most reliable when the base-to-acid ratio is between 0.1 and 10. It remains the accepted standard for buffer calculations because it directly connects measurable quantities to pH in a way that clinicians and chemists use daily. For example, bicarbonate 24 mEq/L and PaCO2 40 mmHg give dissolved CO2 of 1.20 mmol/L, a ratio of 20.00, and pH = 6.1 + log10(20.00) = 7.40. Bicarbonate 12 and PaCO2 28 give a ratio of 14.29 and pH 7.25, a metabolic acidosis the lungs have only partly compensated. An acetate buffer with pKa 4.76, base 0.15 mol/L and acid 0.05 mol/L has a ratio of 3.00 and pH = 4.76 + log10(3.00) = 5.24. This page shows the formula, step-by-step workings, worked examples and sources.
Worked examples
The textbook normal blood gas
Primary result: 7.40 — bicarbonate 24 against PaCO2 40 gives the classic 20.00-to-1 ratio and a pH of exactly 7.40. (Blood gas (bicarbonate / CO2) · 24 mEq/L · 40 mmHg · 4.76 · 0.1 mol/L · 0.1 mol/L)
| Blood pH | 7.40 |
| Bicarbonate to dissolved CO2 ratio | 20.00 to 1 |
| Interpretation | Within the usual 7.35 to 7.45 range |
Metabolic acidosis with compensation
Primary result: 7.25 — bicarbonate halved to 12; breathing PaCO2 down to 28 rescues the pH only part of the way. (Blood gas (bicarbonate / CO2) · 12 mEq/L · 28 mmHg · 4.76 · 0.1 mol/L · 0.1 mol/L)
| Blood pH | 7.25 |
| Bicarbonate to dissolved CO2 ratio | 14.29 to 1 |
| Interpretation | Acidemia range (below 7.35) |
An acetate buffer in the lab
Primary result: 5.24 — pKa 4.76 plus log10 of the 3-to-1 base-to-acid ratio. (General buffer (pKa / concentrations) · 24 mEq/L · 40 mmHg · 4.76 · 0.15 mol/L · 0.05 mol/L)
| Buffer pH | 5.24 |
| Base to acid ratio | 3.00 to 1 |
| Distance from pKa | 0.48 pH units |
The equation, in blood and in the lab
The Henderson-Hasselbalch equation relates pH to the ratio of base to acid in a buffer. In its general form, it is written as pH = pKa + log10([base] / [acid]). When base equals acid, the log term is zero and pH equals pKa, which is the point of maximum buffering capacity. Every tenfold change in the ratio moves pH by exactly one unit, and doubling the ratio moves it by about 0.30. The equation assumes equilibrium and dilute behaviour, so it is most reliable when the base-to-acid ratio is between 0.1 and 10. A henderson hasselbalch calculator can apply this general form to any buffer system, such as an acetate buffer with pKa 4.76, base 0.15 mol/L and acid 0.05 mol/L. Here the ratio is 3.00, and pH = 4.76 + log10(3.00) = 5.24.
For blood, the relevant pair is bicarbonate and dissolved carbon dioxide. The equation becomes pH = 6.1 + log10( HCO3 / (0.03 x PaCO2) ). The value 0.03 mmol/L per mmHg is the solubility coefficient of CO2, and 6.1 is the apparent pKa at body temperature. In blood the normal ratio is about 20 to 1, which is why normal pH (7.40) sits 1.30 units above the pKa of 6.1. A worked example shows this clearly: bicarbonate 24 mEq/L and PaCO2 40 mmHg give dissolved CO2 of 1.20 mmol/L, a ratio of 20.00, and pH = 6.1 + log10(20.00) = 7.40.
A second worked example demonstrates a disturbed state. Bicarbonate 12 and PaCO2 28 give a ratio of 14.29 and pH 7.25, a metabolic acidosis the lungs have only partly compensated. The lower bicarbonate drives pH down, while the reduced PaCO2 reflects respiratory compensation that cannot fully correct the imbalance.
In clinical practice, blood gas analysers typically run the equation backwards. Rather than calculating pH from bicarbonate and PaCO2, they measure pH and PaCO2 directly and rearrange the equation to derive bicarbonate. This derived value is what appears on the printed report as the calculated bicarbonate concentration.
The worked examples
To see how a henderson hasselbalch calculator turns lab values into pH, work through three examples step by step. Each case follows the same pattern: first find the base-to-acid ratio, then take its log10, then add the pKa.
Example 1 — normal blood. The bicarbonate and dissolved carbon dioxide pair uses pH = 6.1 + log10( HCO3 / (0.03 x PaCO2) ). With bicarbonate 24 mEq/L and PaCO2 40 mmHg, the dissolved CO2 is 0.03 x 40 = 1.20 mmol/L. The ratio is 24 / 1.20 = 20.00. Taking log10(20.00) gives 1.30, so pH = 6.1 + 1.30 = 7.40. In blood the normal ratio is about 20 to 1, which is why normal pH (7.40) sits 1.30 units above the pKa of 6.1.
Example 2 — metabolic acidosis with partial compensation. Using the same blood equation, bicarbonate 12 mEq/L and PaCO2 28 mmHg give dissolved CO2 of 0.03 x 28 = 0.84 mmol/L. The ratio is 12 / 0.84 = 14.29. Taking log10(14.29) gives about 1.15, so pH = 6.1 + 1.15 = 7.25. This is a metabolic acidosis the lungs have only partly compensated — the lower bicarbonate drags pH down, and the reduced PaCO2 pulls it back up, but not enough to reach 7.40.
Example 3 — a general acetate buffer. This example uses the base form, pH = pKa + log10([base] / [acid]). With pKa 4.76, base 0.15 mol/L and acid 0.05 mol/L, the ratio is 0.15 / 0.05 = 3.00. Taking log10(3.00) gives 0.48, so pH = 4.76 + 0.48 = 5.24. Note that when base equals acid, the log term is zero and pH equals pKa — the point of maximum buffering capacity. Every tenfold change in the ratio moves pH by exactly one unit; doubling the ratio moves it by about 0.30. The equation assumes equilibrium and dilute behaviour, and it is most reliable when the base-to-acid ratio is between 0.1 and 10.
Reading a blood result
When you enter bicarbonate and PaCO2 values into a Henderson-Hasselbalch calculator, the result places the blood in one of three pH bands. The equation pH = 6.1 + log10( HCO3 / (0.03 x PaCO2) ) shows that pH tracks the ratio of bicarbonate to dissolved carbon dioxide. In blood the normal ratio is about 20 to 1, which is why normal pH (7.40) sits 1.30 units above the pKa of 6.1. Reading which side of that ratio moved tells you whether the problem is metabolic, respiratory, or a mix.
A pH below 7.35 is called acidemia. The ratio has dropped, meaning bicarbonate has fallen relative to dissolved CO2 or PaCO2 has risen relative to bicarbonate. The worked example of bicarbonate 12 mEq/L and PaCO2 40 mmHg gives a ratio of 14.29 and pH 7.25, a metabolic acidosis the lungs have only partly compensated. When base equals acid, the log term is zero and pH equals pKa, the point of maximum buffering capacity, but blood never reaches that point because the normal ratio of 20 to 1 is far from 1 to 1.
A pH between 7.35 and 7.45 is normal. The worked example of bicarbonate 24 mEq/L and PaCO2 40 mmHg gives dissolved CO2 of 1.20 mmol/L, a ratio of 20.00, and pH = 6.1 + log10(20.00) = 7.40. Every tenfold change in the ratio moves pH by exactly one unit, so small shifts in either bicarbonate or PaCO2 produce small shifts in pH. The equation assumes equilibrium and dilute behaviour, so it is most reliable when the base-to-acid ratio is between 0.1 and 10, a range blood sits outside but trends within.
A pH above 7.45 is called alkalemia. The ratio has risen, meaning bicarbonate has increased relative to dissolved CO2 or PaCO2 has fallen relative to bicarbonate. Because doubling the ratio moves pH by about 0.30, a modest rise in bicarbonate or drop in PaCO2 can push pH out of the normal band. The table below summarizes the three bands and which side of the ratio moved.
| pH band | pH range | Ratio change | Which side moved |
|---|---|---|---|
| Acidemia | below 7.35 | ratio dropped | bicarbonate fell relative to dissolved CO2, or PaCO2 rose relative to bicarbonate |
| Normal | 7.35 to 7.45 | ratio near 20 to 1 | neither side moved; ratio stays about 20 to 1 |
| Alkalemia | above 7.45 | ratio rose | bicarbonate rose relative to dissolved CO2, or PaCO2 fell relative to bicarbonate |
Assumptions and limits
A henderson hasselbalch calculator is only as good as the assumptions behind the equation. The Henderson-Hasselbalch equation relates pH to the ratio of base to acid in a buffer: pH = pKa + log10([base] / [acid]). It assumes the system has reached equilibrium and that both species behave as dilute solutes. Real buffers can depart from this ideal picture at high concentrations, in mixed solvents, or when ionic strength alters activity coefficients. For routine buffer preparation and textbook problems, however, the dilute-solution assumption holds well enough to make the equation a practical tool.
The equation is most reliable when the base-to-acid ratio stays between 0.1 and 10. Within this comfort zone the buffer has meaningful capacity on both sides of its pKa, and the log term stays within plus or minus one unit of the pKa. When base equals acid, the log term is zero and pH equals pKa — the point of maximum buffering capacity. Every tenfold change in the ratio moves pH by exactly one unit; doubling the ratio moves it by about 0.30. Push the ratio beyond the 0.1-to-10 range and the buffer loses capacity on the depleted side, so small additions of acid or base swing pH sharply.
The pKa value is temperature-dependent, so a result computed at one temperature cannot be trusted at another without adjusting pKa. For blood, the pair is bicarbonate and dissolved carbon dioxide: pH = 6.1 + log10( HCO3 / (0.03 x PaCO2) ), where 0.03 mmol/L per mmHg is the solubility coefficient of CO2 and 6.1 is the apparent pKa at body temperature. That apparent pKa reflects the physiology of 37 degrees Celsius; cooling or warming the system shifts the relevant equilibrium constants. In blood the normal ratio is about 20 to 1, which is why normal pH (7.40) sits 1.30 units above the pKa of 6.1. The worked example with bicarbonate 24 mEq/L and PaCO2 40 mmHg gives dissolved CO2 of 1.20 mmol/L, a ratio of 20.00, and pH = 6.1 + log10(20.00) = 7.40. A second example with bicarbonate 12 and PaCO2 28 gives a ratio of 14.29 and pH 7.25 — a metabolic acidosis the lungs have only partly compensated.
A general buffer illustrates the same limits outside physiology. An acetate buffer with pKa 4.76, base 0.15 mol/L and acid 0.05 mol/L has a ratio of 3.00 and pH = 4.76 + log10(3.00) = 5.24. The ratio sits safely inside the comfort zone, so the result is trustworthy. These calculations are intended for educational use only. They do not replace laboratory measurement of pH, clinical assessment of acid-base status, or professional judgment when results guide treatment or experimental work.
FAQs
What is the Henderson-Hasselbalch equation?
The Henderson-Hasselbalch equation is pH = pKa + log10([base] / [acid]). It calculates pH from the ratio of a buffer's two forms, the base and the acid. By taking the base-to-acid ratio and applying the logarithm, the equation links it to pH through the buffer's known pKa value.
Why is the pKa 6.1 for blood?
The value 6.1 is the apparent pKa of the bicarbonate/CO2 system at body temperature. It is called apparent because it folds in CO2 hydration, meaning it accounts for the conversion between dissolved CO2 and carbonic acid in the bloodstream under physiological conditions.
Where does the 0.03 in the blood formula come from?
The 0.03 is the solubility coefficient of CO2 in blood. It lets you convert PaCO2 into dissolved CO2: dissolved CO2 in mmol/L equals 0.03 times PaCO2 in mmHg. This step is essential for applying the Henderson-Hasselbalch equation to blood-gas analysis.
Why is the normal blood ratio 20 to 1?
Normal bicarbonate of 24 against dissolved CO2 of 1.20 gives a ratio of 20 to 1. The log10 of 20 is 1.30, so adding 1.30 to the pKa of 6.1 yields pH 7.40. This is why the 20-to-1 ratio produces the normal blood pH.
When does pH equal pKa?
pH equals pKa when the base and acid concentrations are equal. At that point the ratio of base to acid is 1, and the log10 of 1 is 0, so the log term vanishes from the equation. With nothing added to pKa, the resulting pH is exactly pKa.
How accurate is the equation for blood gases?
It is the definitional backbone of blood-gas interpretation, but it assumes equilibrium and the standard 6.1 pKa. In practice, analysers measure pH and PaCO2 directly and derive bicarbonate from the equation rather than measuring bicarbonate independently, so its accuracy depends on those assumptions holding.