πŸ§ͺ Acid-Base Calculator

Interpret arterial blood gases like a clinician.

-

Primary disorder

For informational purposes only, not medical advice. Consult a healthcare professional.

Arterial blood gas interpretation follows a strict order: check the pH, find which component matches it, then check whether compensation is appropriate. Skip a step and mixed disorders hide in plain sight. This calculator walks the standard sequence automatically.

Enter pH, PaCO2, bicarbonate, sodium, and chloride. You get the primary disorder, the expected compensation from Winter's formula and the respiratory rules, plus anion gap and delta gap to unmask a second metabolic disorder. It is built for students and clinicians reviewing the method, not for bedside decisions.

How to use this calculator

Enter the ABG values and the basic metabolic panel electrolytes. Venous gases can substitute roughly for pH and bicarbonate, but PaCO2 runs higher venously, so arterial values are preferred.

1

Enter pH, PaCO2, and HCO3. The calculator names the primary disorder from which abnormality matches the pH.

2

Read the compensation check. If the actual value falls outside the expected range, a second respiratory disorder is present.

3

Read the anion gap and delta gap. A delta gap beyond -6 or +6 reveals a hidden second metabolic disorder even when pH looks normal.

The compensation rules

Compensation never overcorrects: the pH always stays on the side of the primary disorder. Each disorder has an expected respiratory or metabolic response.

Metabolic acidosis: expected PaCO2 = 1.5 x HCO3 + 8 (Β±2) [Winter's] Metabolic alkalosis: expected PaCO2 = 40 + 0.7 x (HCO3 - 24) (Β±5) Respiratory acidosis: HCO3 rises 1 (acute) or 3.5 (chronic) per 10 PaCO2 Respiratory alkalosis: HCO3 falls 2 (acute) or 5 (chronic) per 10 PaCO2 Delta gap = (AG - 12) - (24 - HCO3)

Winter's formula is the workhorse: in pure metabolic acidosis, the lungs blow off CO2 to a predictable level. If PaCO2 is higher than expected, there is a superimposed respiratory acidosis (think obtunded patient); if lower, a superimposed respiratory alkalosis (think sepsis or pain).

Worked example

pH 7.32, PaCO2 30, HCO3 15, Na 140, Cl 108. The pH is low (acidemia) and bicarbonate is low, so the primary disorder is metabolic acidosis. Winter's expected PaCO2 is 1.5 x 15 + 8 = 30.5, range 28.5 to 32.5. Actual PaCO2 is 30: compensation is appropriate, a simple disorder.

The anion gap is 140 - (108 + 15) = 17, which is high. The delta gap is (17 - 12) - (24 - 15) = 5 - 9 = -4, inside the -6 to +6 window, so there is no hidden second metabolic disorder. Final read: simple high-anion-gap metabolic acidosis with appropriate respiratory compensation. Classic DKA numbers.

Reading mixed disorders

Two red flags reveal mixed disorders. First, compensation that misses the expected range means a second respiratory disorder. Second, a delta gap outside -6 to +6 means a second metabolic disorder: below -6 is a combined high and normal anion gap acidosis; above +6 is high anion gap acidosis plus metabolic alkalosis (the vomiting DKA patient).

A normal pH never rules out serious pathology. Metabolic acidosis plus metabolic alkalosis can cancel out to pH 7.40 while the patient is in real trouble. For the oxygen side of the same ABG, see our A-a gradient calculator and arterial blood pH calculator.

Common exam traps

Direction errors are the classic mistake: in respiratory acidosis the CO2 is high and bicarbonate rises to compensate; students often flip which one is primary. Anchor on the pH first: whichever of PaCO2 or HCO3 moves in the direction that explains the pH is the primary disorder.

Another trap: chronic respiratory disorders need time. The "chronic" compensation numbers assume days of adaptation. A patient intubated yesterday with a PaCO2 of 70 is acute until proven otherwise, so use the acute expectations first.

A practice routine for ABG mastery

Reading about acid-base disorders builds familiarity; working cases builds skill. The fastest routine is ten minutes a day with real or realistic numbers. Cover the answer, run the three steps out loud (pH, matching abnormality, compensation), then check. After twenty cases the sequence becomes reflex.

Build your own cases by starting from the answer. Pick "metabolic alkalosis with appropriate compensation," choose HCO3 34, compute expected PaCO2 as 40 + 0.7 x 10 = 47, set PaCO2 46, then derive pH around 7.49. Reverse-engineering teaches the relationships faster than forward-solving alone.

Common beginner errors to watch: forgetting that compensation never normalizes pH fully, mixing up acute and chronic respiratory expectations, and skipping the delta gap when the anion gap is high. Every missed case is usually one of these three, so checking them explicitly catches most mistakes before they happen.

Metabolic acidosis: high vs normal anion gap

Not all metabolic acidoses are the same, and the anion gap sorts them. A high gap means unmeasured acids have arrived: lactate from shock, ketoacids from DKA, toxins like methanol. A normal gap means bicarbonate was lost and chloride took its place: diarrhea, renal tubular acidosis, or large volumes of normal saline.

The distinction drives treatment. High-gap acidosis demands finding and fixing the acid source: insulin for DKA, perfusion for lactate, dialysis for toxic alcohols. Normal-gap acidosis is usually fixed by stopping the loss and giving bicarbonate back, often as oral bicarbonate or just time. Giving bicarbonate to a high-gap acidosis without treating the cause is one of the classic board-exam traps.

The delta gap then checks for a second disorder hiding underneath, as the calculator shows. A vomiting DKA patient, for instance, carries high-gap acidosis plus metabolic alkalosis, and only the delta gap reveals the combination.

For informational purposes only, not medical advice. Consult a healthcare professional.

Frequently Asked Questions

What is Winter's formula?

Expected PaCO2 = 1.5 x HCO3 + 8 (Β±2). It predicts the respiratory compensation for metabolic acidosis. If actual PaCO2 falls outside that range, a second respiratory disorder is present.

How do you tell metabolic from respiratory acidosis?

Match the abnormality to the pH. In acidemia (pH under 7.35), low bicarbonate means metabolic acidosis and high PaCO2 means respiratory acidosis. The one that explains the pH is primary.

What is the delta gap?

(Anion gap - 12) - (24 - HCO3). It detects a second metabolic disorder hiding behind the first: below -6 suggests combined high and normal anion gap acidosis, above +6 suggests high anion gap acidosis plus metabolic alkalosis.

Can pH be normal with an acid-base disorder?

Yes. Opposing disorders (metabolic acidosis plus metabolic alkalosis, or metabolic plus respiratory in opposite directions) can cancel out to a normal pH. Always check the anion gap and delta gap when the numbers look odd.

What causes a high anion gap metabolic acidosis?

The MUDPILES mnemonic: methanol, uremia, diabetic ketoacidosis, propylene glycol, isoniazid, lactic acidosis, ethylene glycol, salicylates. Lactate and ketoacids are the most common in practice.

What causes a normal anion gap metabolic acidosis?

Bicarbonate loss (diarrhea, renal tubular acidosis) or chloride gain (large-volume normal saline resuscitation). The delta gap goes negative in combined high and normal gap acidosis.

How fast does respiratory compensation happen?

Minutes to hours: the lungs respond quickly. Metabolic (renal) compensation takes 2 to 5 days, which is why chronic respiratory disorders show bigger bicarbonate shifts than acute ones.

What is the most common acid-base mistake?

Calling compensation a second disorder. Appropriate compensation is expected and does not get its own diagnosis; only compensation that overshoots or undershoots the expected range indicates an additional primary process.