CO2 Bicarbonate pH Calculator
Use the Henderson-Hasselbalch relationship to estimate arterial pH, bicarbonate concentration, or PaCO2 from the other two variables. This calculator is designed for acid-base education, ABG review, and fast bedside style checks.
Ready to calculate
Enter any two variables and select what to solve for. The calculator will compute the missing value and build a chart that shows how pH changes with PaCO2 at the current bicarbonate level.
Educational note: This calculator uses the classic Henderson-Hasselbalch equation with a dissolved CO2 coefficient of 0.03 mmol/L/mmHg. Always interpret results with the patient history, oxygenation, compensation pattern, and full laboratory context.
Understanding the CO2 bicarbonate pH calculation
The CO2 bicarbonate pH calculation is one of the core relationships in acid-base physiology. In practical terms, it explains how blood pH depends on the ratio between bicarbonate, which reflects the metabolic side of acid-base balance, and dissolved carbon dioxide, which reflects the respiratory side. Clinicians, students, respiratory therapists, intensivists, nephrologists, and emergency physicians all use this relationship when interpreting arterial blood gases and serum chemistry results.
The standard equation is the Henderson-Hasselbalch equation: pH = 6.1 + log10([HCO3-] / (0.03 x PaCO2)). Here, bicarbonate is usually expressed in mEq/L, PaCO2 in mmHg, and 0.03 is the approximate solubility coefficient for CO2 in plasma at body temperature. The equation shows that pH does not depend on bicarbonate alone or CO2 alone. It depends on their ratio. If bicarbonate rises while PaCO2 stays fixed, pH rises. If PaCO2 rises while bicarbonate stays fixed, pH falls.
Why this formula matters in real clinical practice
When you look at an arterial blood gas, you are usually trying to answer a simple but important question: is the patient acidemic, alkalemic, or apparently normal despite an underlying disorder? The pH gives the immediate answer, but the bicarbonate and PaCO2 values tell you why. This is why the CO2 bicarbonate pH calculation is so useful. It ties those values together mathematically and physiologically.
For example, a patient with severe chronic obstructive pulmonary disease may have a high PaCO2 due to hypoventilation. If the kidneys retain bicarbonate over time, the pH may partially normalize despite persistent hypercapnia. Conversely, a patient with diabetic ketoacidosis may have very low bicarbonate from metabolic acid production, and the lungs compensate by lowering PaCO2 through deep rapid breathing. In both situations, the equation helps explain the observed pH.
What each variable means
- pH: The logarithmic measure of hydrogen ion activity. Normal arterial pH is usually 7.35 to 7.45.
- HCO3-: Bicarbonate concentration, the major blood buffer on the metabolic side. Typical arterial reference range is 22 to 26 mEq/L.
- PaCO2: Arterial partial pressure of carbon dioxide, the respiratory component. Typical reference range is 35 to 45 mmHg.
- 0.03: The plasma solubility coefficient that converts PaCO2 into dissolved CO2 concentration in the equation.
- 6.1: The apparent pKa of the bicarbonate buffer system under physiologic conditions.
How to calculate pH from bicarbonate and CO2
Suppose bicarbonate is 24 mEq/L and PaCO2 is 40 mmHg. First convert PaCO2 to dissolved CO2: 0.03 x 40 = 1.2. Next divide bicarbonate by dissolved CO2: 24 / 1.2 = 20. Finally take the base 10 logarithm and add 6.1: pH = 6.1 + log10(20) = 6.1 + 1.301 = about 7.40. This is the classic normal example.
- Multiply PaCO2 by 0.03.
- Divide HCO3- by that result.
- Take log10 of the ratio.
- Add 6.1.
How to calculate bicarbonate if pH and PaCO2 are known
Rearranging the same equation gives: HCO3- = 0.03 x PaCO2 x 10^(pH – 6.1). This form is useful if you have a measured pH and PaCO2 and want to estimate what bicarbonate should be mathematically.
How to calculate PaCO2 if pH and bicarbonate are known
You can also solve for PaCO2: PaCO2 = HCO3- / (0.03 x 10^(pH – 6.1)). This is helpful when you want to understand what respiratory value corresponds to a given metabolic state and pH.
Normal values and interpretation table
| Parameter | Typical adult arterial range | Clinical meaning when low | Clinical meaning when high |
|---|---|---|---|
| pH | 7.35 to 7.45 | Acidemia, often due to respiratory acidosis or metabolic acidosis | Alkalemia, often due to respiratory alkalosis or metabolic alkalosis |
| HCO3- | 22 to 26 mEq/L | Suggests metabolic acidosis or renal compensation for chronic respiratory alkalosis | Suggests metabolic alkalosis or renal compensation for chronic respiratory acidosis |
| PaCO2 | 35 to 45 mmHg | Hyperventilation or respiratory alkalosis | Hypoventilation or respiratory acidosis |
| Dissolved CO2 factor | 0.03 mmol/L/mmHg | Not a patient variable, but essential in the equation | Not a patient variable, but essential in the equation |
Common acid-base patterns
The easiest way to use this calculation is to think in ratios. A lower bicarbonate to dissolved CO2 ratio drives pH down. A higher ratio drives pH up. The body can compensate, but compensation does not mean the disorder is gone. It only means the body is attempting to restore the ratio toward normal.
| Primary disorder | Typical pH direction | Primary variable change | Expected compensatory trend | Common examples |
|---|---|---|---|---|
| Metabolic acidosis | Down | HCO3- decreases | PaCO2 decreases through hyperventilation | Diabetic ketoacidosis, lactic acidosis, renal failure, diarrhea |
| Metabolic alkalosis | Up | HCO3- increases | PaCO2 increases through hypoventilation if possible | Vomiting, diuretics, mineralocorticoid excess |
| Respiratory acidosis | Down | PaCO2 increases | HCO3- increases via renal retention over time | COPD, CNS depression, neuromuscular weakness |
| Respiratory alkalosis | Up | PaCO2 decreases | HCO3- decreases via renal excretion over time | Anxiety, sepsis, pregnancy, pulmonary embolism |
Worked examples
Example 1: Normal acid-base status
If HCO3- is 24 mEq/L and PaCO2 is 40 mmHg, the estimated pH is about 7.40. This sits in the normal arterial range and reflects a balanced bicarbonate to dissolved CO2 ratio.
Example 2: Respiratory acidosis
If HCO3- is 24 mEq/L and PaCO2 rises to 60 mmHg, dissolved CO2 becomes 1.8. The ratio becomes 24 / 1.8 = 13.33. The pH then becomes 6.1 + log10(13.33), which is about 7.22. That indicates acidemia caused by elevated CO2.
Example 3: Metabolic acidosis with respiratory compensation
If HCO3- falls to 12 mEq/L and PaCO2 falls to 25 mmHg, dissolved CO2 becomes 0.75. The ratio becomes 12 / 0.75 = 16, and pH is about 7.30. This remains acidemic, but less severely than it would be without respiratory compensation.
Example 4: Metabolic alkalosis
If HCO3- rises to 36 mEq/L while PaCO2 is 48 mmHg, dissolved CO2 is 1.44. The ratio is 25, and the pH becomes about 7.50. This suggests alkalemia, likely metabolic alkalosis with some respiratory compensation.
Unit conversion and why PaCO2 units matter
Most acid-base equations in bedside medicine use PaCO2 in mmHg. Some laboratory and international systems report carbon dioxide tension in kPa. Since 1 kPa equals about 7.50062 mmHg, using the wrong unit will produce a wrong answer. If your PaCO2 is 5.3 kPa, that is roughly 39.8 mmHg, which is near normal. A calculator should convert automatically before applying the Henderson-Hasselbalch formula.
Quick conversion guide
- 4.7 kPa is about 35.3 mmHg
- 5.3 kPa is about 39.8 mmHg
- 6.0 kPa is about 45.0 mmHg
- 8.0 kPa is about 60.0 mmHg
Important limitations of the CO2 bicarbonate pH calculation
Even though the equation is clinically powerful, it has limitations. First, it is a model of one buffer system, not a complete representation of all acid-base chemistry. Hemoglobin, phosphate, plasma proteins, and intracellular buffering also matter. Second, severe illness can produce mixed disorders, and a single pH may look less dramatic than the underlying physiology. Third, lab measurement error, sampling issues, and timing can affect interpretation. Venous and arterial samples are not interchangeable without context.
In addition, compensation rules should always be checked. A patient with metabolic acidosis should lower PaCO2 in a predictable range. If the PaCO2 is too high or too low for the degree of bicarbonate reduction, a second respiratory disorder may be present. Likewise, patients with chronic respiratory disease may have substantial renal compensation, while acute changes may not yet show the same bicarbonate response.
Best practices when using the calculator
- Confirm whether the sample is arterial, venous, or capillary.
- Check the PaCO2 unit before interpreting the result.
- Look at the pH first to identify acidemia or alkalemia.
- Determine which variable changed in the direction that explains the pH.
- Assess whether compensation is appropriate for the primary disorder.
- Correlate with oxygenation, electrolytes, anion gap, lactate, and clinical presentation.
- Do not treat a formula in isolation from the patient.
How the lungs and kidneys maintain the ratio
The lungs regulate the denominator of the equation. Carbon dioxide is generated by metabolism and eliminated through ventilation. If alveolar ventilation decreases, PaCO2 rises and pH falls. If ventilation increases, PaCO2 falls and pH rises. This response is fast, which is why respiratory compensation appears within minutes.
The kidneys regulate the numerator. They reabsorb filtered bicarbonate, generate new bicarbonate, and excrete acid in forms such as ammonium and titratable acids. This process is slower, often taking hours to days, which is why metabolic compensation for respiratory disorders is delayed compared with respiratory compensation for metabolic disorders.
Clinical settings where this calculation is especially useful
- Emergency department evaluation of shock, sepsis, overdose, and respiratory failure
- Intensive care ventilator adjustment and serial ABG interpretation
- Renal and endocrine disorders affecting bicarbonate handling
- Diabetic ketoacidosis and hyperosmolar crises
- COPD exacerbations and chronic hypercapnic states
- Education for medical, nursing, and respiratory therapy trainees
Authoritative references and further reading
For deeper review, see these high quality references: MedlinePlus Blood Gases, NCBI Bookshelf, Cornell University acid-base overview.
Final takeaway
The CO2 bicarbonate pH calculation is not just a memorized formula. It is a concise expression of how respiratory physiology and renal physiology meet at the bedside. If you understand the ratio between bicarbonate and dissolved CO2, you can interpret many arterial blood gases with much more confidence. A high quality calculator speeds the arithmetic, but the real value comes from understanding what the numbers mean. Use the result to support clinical judgment, not replace it.