SOLVETUTORMATH SOLVER

Instrument MI-04-014 · Health

Acid Base Calculator

A blood gas hands you a pH and a PaCO₂ already measured. This tool sorts that pair into one of four primary disturbance patterns, no lookup table required.

Instrument MI-04-014
Sheet 1 OF 1
Rev A
Verified
Type 04 — Respiratory SER. 2026-04014

Primary disturbance (1-4, see legend)

1

classify the primary acid-base disturbance from pH and PaCO₂

The working Every figure verified twice
  1. pattern = if(7.25 < 7.4, if(60 > 40, 1, 3), if(60 < 40, 2, 4)) = 1
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

Reading a blood gas usually starts with a question: is this acidic or alkalotic, and does the carbon dioxide level explain it? This calculator answers that question mechanically. It takes a measured arterial pH and a measured PaCO₂ — both already sitting on the lab report, not derived from anything else — and sorts the pair into one of four labeled patterns: respiratory acidosis, respiratory alkalosis, metabolic acidosis, or metabolic alkalosis, based on whether the direction of the CO₂ level is consistent with a respiratory cause for the pH shift.

The logic is a simple pairing rule, the kind taught early in any clinical physiology course and summarized in references such as StatPearls' chapters on acid-base balance and respiratory acidosis: if pH sits below 7.40 and carbon dioxide is elevated above 40 mmHg, rising CO₂ is a plausible driver, so the tool flags respiratory acidosis. If pH is low but CO₂ is not elevated, the low pH must be coming from somewhere else, so it flags metabolic acidosis instead. The mirror image applies on the alkalotic side: high pH with low CO₂ points to respiratory alkalosis, high pH without a low CO₂ points to metabolic alkalosis.

This sorting rule only ever looks at two numbers, and that is both its usefulness and its limit. Real acid-base physiology involves a third figure, bicarbonate, plus compensation — the body's own attempt to push pH back toward normal by adjusting the system that did not cause the original problem. A low PaCO₂ sitting alongside a low pH can mean either a primary respiratory alkalosis or lungs that are compensating for a separate metabolic acidosis, and this classifier cannot tell those two situations apart from pH and PaCO₂ alone. Treat its output as the primary pattern only, a starting point rather than a full interpretation, and bring bicarbonate and the clinical picture in before drawing any conclusion.

pH<7.4, PaCO2>401pH<7.4, PaCO2403\mathrm{pH}<7.4,\ \mathrm{PaCO_2}>40 \Rightarrow 1 \qquad \mathrm{pH}<7.4,\ \mathrm{PaCO_2}\le 40 \Rightarrow 3pH7.4, PaCO2<402pH7.4, PaCO2404\mathrm{pH}\ge 7.4,\ \mathrm{PaCO_2}<40 \Rightarrow 2 \qquad \mathrm{pH}\ge 7.4,\ \mathrm{PaCO_2}\ge 40 \Rightarrow 4
pH — measured arterial pH · PaCO₂ — measured arterial carbon dioxide partial pressure in mmHg · pattern — 1 respiratory acidosis, 2 respiratory alkalosis, 3 metabolic acidosis, 4 metabolic alkalosis.
  • Enter Arterial pH — the measured value from the blood gas report, not an estimate.
  • Enter PaCO₂ (mmHg) from the same sample.
  • Read Primary disturbance (1-4, see legend): 1 marks respiratory acidosis, 2 respiratory alkalosis, 3 metabolic acidosis, 4 metabolic alkalosis.
  • Cross-check the labeled pattern against bicarbonate and the clinical context before treating it as a complete diagnosis.
  • Re-run with PaCO₂ alone changed to see how much the classification depends on the carbon dioxide side versus the pH side.

Three measured pH/PaCO₂ pairs, three patterns

A patient's blood gas reads pH 7.25 and PaCO₂ 60 mmHg. The pH is below 7.40, and the PaCO₂ is above 40, so the two numbers point the same way: carbon dioxide is high enough to plausibly explain the acidic pH on its own. The classifier returns pattern 1, respiratory acidosis, consistent with something like carbon dioxide retention from poor ventilation.

A second reading shows pH 7.50 and PaCO₂ 25 mmHg. Here pH is above 7.40 and PaCO₂ is below 40 — again the two move together, this time toward the alkalotic side, which fits a pattern of blowing off carbon dioxide faster than normal, as happens with hyperventilation. The classifier returns pattern 2, respiratory alkalosis.

A third reading shows pH 7.28 and PaCO₂ 30 mmHg. The pH is low, which on its own might suggest a respiratory problem, but the PaCO₂ is also low rather than high — the opposite of what a primary respiratory acidosis would show. Because the low pH does not line up with a raised PaCO₂, the classifier assigns pattern 3, metabolic acidosis, treating the reduced carbon dioxide as the lungs partially compensating by clearing extra CO₂, not as the cause of the acidic pH.

Questions

What is the difference between this tool and an arterial blood pH calculator?

This one classifies; the other one computes. A pH calculator built on the Henderson-Hasselbalch equation starts from bicarbonate and PaCO₂ and works out what the pH must be. This classifier goes the other direction: it starts from a pH and PaCO₂ that were already measured on a blood gas and sorts that pair into a labeled disturbance pattern. Neither tool substitutes for the other — one predicts a number, the other names a pattern.

Why does this tool only need pH and PaCO₂, not bicarbonate too?

Because the question it answers — does the direction of the CO₂ level fit a respiratory explanation for the pH shift — only requires those two figures. Bringing bicarbonate in would let it say more, including whether compensation is happening, but it would also turn a simple two-input rule into a more involved decision tree. This version deliberately stays narrow so the logic is transparent.

Can this classifier detect a mixed acid-base disorder?

No, and that is a real limitation worth stating plainly. A mixed disorder — say, a respiratory acidosis layered on top of a separate metabolic acidosis — can produce a pH and PaCO₂ pair that looks like a single clean pattern here even though two problems are present. Spotting a mixed picture generally needs bicarbonate, the anion gap, and the surrounding clinical story, not just these two numbers.

Is 40 mmHg always the right cutoff for PaCO₂?

40 mmHg is the commonly used normal midpoint for arterial PaCO₂, and it is the boundary this classifier uses to decide which side of the pattern a given PaCO₂ falls on. Real physiological reference ranges run roughly 35 to 45 mmHg, so a PaCO₂ sitting close to 40 in either direction is a border case worth reading alongside the rest of the clinical picture rather than treating the label alone as decisive.

What does it mean if the pattern says metabolic acidosis but PaCO₂ is low?

That is expected, not a contradiction. In a primary metabolic acidosis, the lungs typically respond by increasing ventilation and lowering PaCO₂, which partially compensates for the falling pH. The classifier still labels the case metabolic acidosis because the pH failed to match a respiratory cause, while the reduced PaCO₂ reflects the body's own compensatory response rather than the original problem.

Does a normal pH mean there is no acid-base disturbance?

Not necessarily. A pH that has drifted back near normal through compensation can still sit on top of a real underlying disturbance — this classifier only sorts values into a pattern using the 7.40 boundary, so a borderline pH paired with an abnormal PaCO₂ deserves a closer look with bicarbonate and clinical context rather than being read as entirely normal.

References

Read this first: This instrument computes a screening figure from population formulas — it is not a diagnosis, and it cannot see the whole picture a clinician can. Use it to inform a conversation, not to replace one.