USMLE STEP 2 • CRITICAL CARE

Acid–Base And Electrolyte Emergencies

Systematic recognition and urgent management of life-threatening pH and electrolyte derangements in critically ill patients.

Historical Context & Motivation

The ability to identify and correct acid–base and electrolyte disturbances is foundational to the practice of critical care medicine and represents one of the highest-yield domains on the USMLE Step 2 CK examination. Before clinicians had the ability to measure blood gases or serum electrolytes, physicians relied on clinical observation alone—recognizing Kussmaul respirations in diabetic ketoacidosis or the muscle cramps of severe hypokalemia—without understanding the underlying chemistry. The development of arterial blood gas analysis and rapid electrolyte panels in the twentieth century transformed emergency medicine, enabling precise diagnoses and targeted interventions that have saved countless lives.

1909
Sørensen Defines pH
Søren Sørensen introduced the pH scale at the Carlsberg Laboratory, providing a quantitative framework for measuring hydrogen ion concentration in biological fluids.
1917
Henderson–Hasselbalch Equation
Karl Hasselbalch applied Henderson's mass-action equation to the carbonic acid–bicarbonate buffer system, creating the clinical cornerstone for interpreting acid–base disorders.
1952
Clinical Blood Gas Analyzers
Poul Astrup and colleagues in Copenhagen developed practical methods for measuring blood pH and PCO₂ at the bedside, catalyzed by the polio epidemic's demand for ventilator management.
1978
Stewart's Physicochemical Approach
Peter Stewart published a quantitative model based on strong ion difference, weak acids, and PCO₂, offering a more mechanistic explanation for complex acid–base disturbances in the ICU.
2000s
Point-of-Care Testing & Protocols
Rapid point-of-care analyzers and protocolized electrolyte replacement strategies became standard in emergency departments and intensive care units, reducing time-to-treatment for critical derangements.

Despite these advances, the central clinical question remains the same: when a critically ill patient presents with altered mental status, cardiac arrhythmias, or respiratory failure, how does the clinician systematically identify the underlying acid–base or electrolyte derangement, determine its etiology, and initiate treatment before irreversible organ damage occurs? This lesson provides a structured framework for answering that question in the context of emergency and critical care medicine.

Core Principles & Definitions

Managing acid–base and electrolyte emergencies requires mastery of several interconnected physiological concepts. The body maintains arterial pH within a narrow range of 7.35–7.45 through three principal mechanisms: chemical buffering (primarily the bicarbonate–carbonic acid system), respiratory compensation (adjustment of alveolar ventilation to modulate CO₂), and renal regulation (excretion or reabsorption of H⁺ and HCO₃⁻). Disruptions in any of these mechanisms, or overwhelming of all three, produce the clinical emergencies encountered in the ICU and emergency department.

1

Metabolic Acidosis

Defined by pH < 7.35 with a primary decrease in serum HCO₃⁻. Classified by the anion gap into elevated anion gap (e.g., DKA, lactic acidosis, toxic ingestions) and non-anion gap (e.g., diarrhea, RTA) etiologies.
2

Metabolic Alkalosis

Defined by pH > 7.45 with a primary increase in serum HCO₃⁻. Most commonly caused by volume depletion with chloride loss (e.g., vomiting, NG suction) or mineralocorticoid excess. Classified as chloride-responsive (urine Cl⁻ < 25 mEq/L) or chloride-resistant.
3

Respiratory Acidosis & Alkalosis

Respiratory acidosis results from CO₂ retention (hypoventilation), while respiratory alkalosis results from excessive CO₂ elimination (hyperventilation). Acute versus chronic distinction is determined by the degree of renal compensation in HCO₃⁻.
4

Electrolyte Emergencies

Life-threatening derangements of potassium, sodium, calcium, magnesium, and phosphate. Hyperkalemia and severe hyponatremia are the most immediately dangerous and frequently tested.
5

Mixed Acid–Base Disorders

Critically ill patients often harbor two or three simultaneous acid–base disturbances. Identification requires systematic calculation of anion gap, delta-delta (Δ/Δ) ratio, and comparison of expected compensation with observed values.
KEY TAKEAWAY
Think of the body's acid–base system like a three-legged stool: chemical buffers, the lungs, and the kidneys each form one leg. If one leg breaks (e.g., renal failure eliminates the kidney's contribution), the other two legs can compensate to some degree—but the stool becomes unstable. In critically ill patients, two or even all three legs may be compromised simultaneously, making the stool collapse (life-threatening pH derangement). Your job is to identify which legs are broken and in what order, then stabilize the most dangerous one first.

Systematic Approach to ABG Interpretation

The following flowchart illustrates the step-by-step approach to interpreting an arterial blood gas (ABG) and identifying the primary acid–base disorder, any compensation, and the presence of mixed disturbances. This algorithm should be committed to memory for both clinical practice and board examinations.

Figure 1: The four-step ABG interpretation algorithm. Begin with pH to identify acidemia or alkalemia, then determine the primary process (metabolic vs. respiratory) by examining PCO₂ and HCO₃⁻. For metabolic acidosis, calculate the anion gap to classify into HAGMA or NAGMA, then apply the delta-delta ratio to unmask concurrent disorders.

The algorithm begins at the top with the single most important data point: the arterial pH. A pH below 7.35 defines acidemia, and a pH above 7.45 defines alkalemia. The second step determines whether the primary disturbance is metabolic or respiratory by assessing which variable—PCO₂ or HCO₃⁻—has moved in the direction that explains the pH change. In metabolic acidosis, the third step is critical: calculating the anion gap to differentiate high anion gap metabolic acidosis (HAGMA) from non-anion gap metabolic acidosis (NAGMA). Finally, the delta-delta ratio reveals whether an additional metabolic disorder is hiding beneath the primary HAGMA—a finding that changes management and is a classic board examination question.

Key Equations & Compensation Rules

Accurate interpretation of acid–base disturbances hinges on a handful of equations that every clinician must be able to calculate rapidly at the bedside. The following formulas form the mathematical backbone of acid–base physiology and appear repeatedly on USMLE Step 2.

HENDERSON–HASSELBALCH EQUATION
pH = 6.1 + log([HCO₃⁻] / (0.03 × PCO₂))
Where pH is the negative log of hydrogen ion concentration, [HCO₃⁻] is the serum bicarbonate in mEq/L, PCO₂ is the arterial partial pressure of carbon dioxide in mmHg, and 0.03 is the solubility coefficient of CO₂ in plasma. This equation defines the relationship between the metabolic (HCO₃⁻) and respiratory (PCO₂) components of acid–base balance.
ANION GAP
AG = Na⁺ − (Cl⁻ + HCO₃⁻)
Normal AG = 12 ± 4 mEq/L. Must be corrected for albumin: for every 1 g/dL decrease in albumin below 4.0, add 2.5 to the expected normal AG. An elevated AG indicates the presence of unmeasured anions (e.g., lactate, ketoacids, uremic toxins, or toxic alcohols).
DELTA-DELTA RATIO (Δ/Δ)
Δ/Δ = (AG − 12) / (24 − HCO₃⁻)
If Δ/Δ < 1: concurrent non-anion gap metabolic acidosis. If Δ/Δ is 1–2: pure anion gap metabolic acidosis. If Δ/Δ > 2: concurrent metabolic alkalosis. This calculation is essential for identifying mixed disorders in critically ill patients.
WINTER'S FORMULA (Expected PCO₂ in Metabolic Acidosis)
Expected PCO₂ = (1.5 × HCO₃⁻) + 8 ± 2
If the measured PCO₂ is higher than predicted by Winter's formula, there is a concurrent respiratory acidosis. If the measured PCO₂ is lower, there is a concurrent respiratory alkalosis. This determines whether the respiratory system is compensating appropriately.
💡 HIGH-YIELD MNEMONICS
Causes of elevated anion gap metabolic acidosis: MUDPILES — Methanol, Uremia, Diabetic ketoacidosis, Propylene glycol/Paraldehyde, Isoniazid/Iron, Lactic acidosis, Ethylene glycol, Salicylates. Causes of non-anion gap metabolic acidosis: HARDUPS — Hyperalimentation, Acetazolamide, Renal tubular acidosis, Diarrhea, Uretero-pelvic fistula, Post-hypocapnic, Spironolactone/Saline infusion.

Life-Threatening Electrolyte Derangements

Electrolyte emergencies can produce fatal cardiac arrhythmias, seizures, and respiratory arrest within minutes. The following diagram and table organize the most dangerous electrolyte abnormalities by organ system effects, ECG findings, and emergent treatments. For USMLE Step 2, hyperkalemia and symptomatic hyponatremia are the two most commonly tested electrolyte emergencies, but mastery of calcium, magnesium, and phosphate disturbances is also essential.

Figure 2: Hyperkalemia management organized by progressive ECG changes (left) and the stepwise treatment algorithm (right). Treatments are categorized as stabilize (calcium gluconate), shift (insulin/glucose, albuterol, bicarbonate), and remove (Kayexalate, dialysis). The first priority is always cardiac membrane stabilization.
Table 1: Emergency-level electrolyte thresholds, clinical manifestations, and initial treatment protocols.
ElectrolyteEmergency LevelKey SymptomsEmergent Treatment
HyperkalemiaK⁺ > 6.5 or ECG changesPeaked T waves, wide QRS, bradycardia, cardiac arrestIV calcium gluconate → insulin + D50 → albuterol → Kayexalate → dialysis
HypokalemiaK⁺ < 2.5U waves, flattened T waves, QT prolongation, paralysis, rhabdomyolysisIV KCl (max 10–20 mEq/hr via central line); check and replace Mg²⁺
HyponatremiaNa⁺ < 120 or symptomaticSeizures, coma, cerebral edema, respiratory arrest3% hypertonic saline (100 mL bolus × 3); limit correction to ≤ 10–12 mEq/L per 24 hrs to prevent ODS
HypercalcemiaCa²⁺ > 14 or symptomaticShortened QT, confusion, polyuria, cardiac arrestNS bolus → IV loop diuretic → calcitonin → bisphosphonates → dialysis
HypomagnesemiaMg²⁺ < 1.0Torsades de pointes, refractory hypokalemia, seizuresIV MgSO₄ 2 g bolus over 15 min; 1–2 g/hr infusion as needed
⚠️ CRITICAL SAFETY POINT
In symptomatic hyponatremia, rapid overcorrection (> 10–12 mEq/L in 24 hours) risks osmotic demyelination syndrome (ODS), a devastating complication causing quadriparesis, dysphagia, and locked-in syndrome. If overcorrection occurs, administer D5W ± DDAVP to re-lower sodium. Always recheck Na⁺ every 2–4 hours during treatment.

Worked Example: Mixed Acid–Base Disorder

A 58-year-old man with a history of chronic alcohol use presents to the emergency department with confusion, vomiting, and tachypnea. His laboratory values are: pH 7.28, PCO₂ 24 mmHg, HCO₃⁻ 11 mEq/L, Na⁺ 140 mEq/L, Cl⁻ 100 mEq/L, albumin 2.0 g/dL. Identify all acid–base disturbances present.

Systematic ABG Analysis in a Critically Ill Patient
1
Step 1 — Assess the pHThe pH is 7.28, which is below 7.35. This patient has acidemia. The primary process must be one that drives the pH downward—either a metabolic acidosis or a respiratory acidosis.
Acidemia present (pH 7.28)
2
Step 2 — Identify the Primary DisorderHCO₃⁻ is 11 mEq/L (low, normal 22–26) and PCO₂ is 24 mmHg (low, normal 35–45). A low HCO₃⁻ causes acidemia, while a low PCO₂ causes alkalemia. Since the pH is acidemic, the primary disorder is metabolic acidosis, and the low PCO₂ represents respiratory compensation (the lungs are blowing off CO₂ to raise pH).
Primary metabolic acidosis with respiratory compensation
3
Step 3 — Calculate the Anion GapAG = Na⁺ − (Cl⁻ + HCO₃⁻) = 140 − (100 + 11) = 29. The normal AG is 12 ± 4. This patient's AG of 29 is markedly elevated. However, we must correct for the low albumin: corrected AG = 29 + 2.5 × (4.0 − 2.0) = 29 + 5 = 34. The corrected AG of 34 confirms a significant high anion gap metabolic acidosis (HAGMA). Differential includes lactic acidosis, ketoacidosis, toxic alcohol ingestion, or uremia.
Corrected AG = 34 → HAGMA
4
Step 4 — Calculate the Delta-Delta RatioΔ/Δ = (AG − 12) / (24 − HCO₃⁻) = (34 − 12) / (24 − 11) = 22 / 13 = 1.69. A ratio between 1 and 2 indicates a pure HAGMA without a concurrent metabolic alkalosis or non-anion gap acidosis.
Δ/Δ = 1.69 → Pure HAGMA (no hidden second metabolic disorder)
5
Step 5 — Apply Winter's Formula to Assess CompensationExpected PCO₂ = (1.5 × 11) + 8 ± 2 = 16.5 + 8 ± 2 = 24.5 ± 2, giving a range of 22.5–26.5 mmHg. The patient's measured PCO₂ is 24, which falls within the expected range. This confirms appropriate respiratory compensation—there is no concurrent respiratory acid–base disorder.
Final Diagnosis: Pure HAGMA with appropriate respiratory compensation. Likely etiology: alcoholic ketoacidosis or lactic acidosis.

Metabolic Acidosis: HAGMA vs. NAGMA

One of the most clinically consequential distinctions in acid–base medicine is between high anion gap metabolic acidosis (HAGMA) and non-anion gap metabolic acidosis (NAGMA). Although both present with a low pH and low bicarbonate, their etiologies, diagnostic workups, and treatments differ fundamentally. The following comparison highlights the distinguishing features that guide clinical decision-making and are heavily tested on Step 2.

Table 2: Comparison of high anion gap vs. non-anion gap metabolic acidosis.
FeatureHAGMANAGMA
Anion Gap> 12 mEq/L (after albumin correction)≤ 12 mEq/L (normal)
MechanismAddition of unmeasured acid (lactate, ketoacids, toxic alcohols, uremic toxins)Loss of HCO₃⁻ (diarrhea, RTA) or impaired renal H⁺ excretion
Serum Cl⁻Normal (Cl⁻ replaced by unmeasured anion)Elevated (hyperchloremic) — Cl⁻ rises to replace lost HCO₃⁻
Key WorkupLactate, ketones, osmol gap (toxic alcohols), BUN/Cr, salicylate levelUrine anion gap (UAG = Na⁺ + K⁺ − Cl⁻) to distinguish GI vs. renal cause
Common EtiologiesDKA, lactic acidosis, renal failure, methanol, ethylene glycol, salicylatesDiarrhea, RTA types I/II/IV, acetazolamide, ureteral diversions, saline infusion
Treatment FocusTreat underlying cause (insulin for DKA, fomepizole for toxic alcohols, fluids for lactic acidosis)IV NaHCO₃ replacement; treat underlying cause; correct volume and Cl⁻
KEY TAKEAWAY
Think of the anion gap like a forensic tool: when you find an elevated AG, it tells you that a 'foreign substance' (an unmeasured anion like lactate or a toxin) has entered the bloodstream and displaced bicarbonate. When the AG is normal but bicarbonate is still low, the body has simply lost its bicarbonate through a 'backdoor exit'—either out the GI tract (diarrhea) or through a dysfunctional kidney. The urine anion gap then acts like a detective, revealing whether the kidney is properly trying to compensate (negative UAG in GI loss) or is itself the culprit (positive UAG in RTA).

Stewart Approach & Osmolar Gap

While the traditional Henderson–Hasselbalch approach suffices for most clinical scenarios and board examinations, the Stewart (physicochemical) approach provides a more mechanistic understanding of complex acid–base disturbances seen in the ICU. Stewart's model identifies three independent variables that determine pH: the strong ion difference (SID), the total concentration of weak acids (primarily albumin and phosphate, designated ATOT), and PCO₂. Understanding these independent variables helps explain why critically ill patients with hypoalbuminemia may have a 'hidden' acidosis masked by a falsely normal anion gap, and why aggressive normal saline resuscitation causes a hyperchloremic metabolic acidosis by narrowing the SID.

Table 3: Traditional vs. Stewart approach to acid–base analysis.
FeatureTraditional (Henderson–Hasselbalch)Stewart (Physicochemical)
Independent VariablesPCO₂ and HCO₃⁻PCO₂, SID, and A_TOT
HCO₃⁻ RoleIndependent variable (metabolic component)Dependent variable (determined by SID, A_TOT, and PCO₂)
Explains NS-Induced AcidosisDilution of HCO₃⁻ (less intuitive)Cl⁻ infusion narrows SID, forcing H⁺ up (mechanistic)
Clinical UtilityRapid bedside interpretation; board-exam standardExplains complex ICU derangements; research tool

Another advanced concept frequently tested on Step 2 is the osmolar gap, calculated as measured serum osmolality minus calculated osmolality (2 × Na⁺ + glucose/18 + BUN/2.8). A normal osmolar gap is < 10 mOsm/kg. An elevated osmolar gap in the setting of a HAGMA strongly suggests ingestion of a toxic alcohol (methanol, ethylene glycol, or isopropyl alcohol). The osmolar gap is elevated early in the course of toxic alcohol ingestion (before metabolism to organic acids), while the anion gap rises later as the parent compound is metabolized. This temporal evolution is clinically important: a patient who presents late may have a normal osmolar gap but a severely elevated anion gap, because the toxic alcohol has already been converted to its acidic metabolites.

Practice Problems

PROBLEM 1CONCEPTUAL
A patient with chronic kidney disease (CKD stage IV) has the following ABG: pH 7.32, PCO₂ 30 mmHg, HCO₃⁻ 15 mEq/L. The serum anion gap is 22. Which of the following best describes the acid–base disturbance, and why does CKD cause a high anion gap metabolic acidosis rather than a non-anion gap metabolic acidosis?
PROBLEM 2BASIC CALCULATION
Calculate the anion gap for a patient with Na⁺ 138, Cl⁻ 98, HCO₃⁻ 10, and albumin 2.0 g/dL. Is this a HAGMA?
PROBLEM 3INTERMEDIATE
A 45-year-old woman with persistent vomiting presents with ABG: pH 7.52, PCO₂ 48 mmHg, HCO₃⁻ 38 mEq/L. Na⁺ 136, K⁺ 2.8, Cl⁻ 88. Identify the primary disorder, assess compensation, and explain the potassium abnormality.
PROBLEM 4APPLIED
A 32-year-old man is brought to the ED after being found unresponsive. Labs: pH 7.15, PCO₂ 12 mmHg, HCO₃⁻ 4 mEq/L, Na⁺ 140, Cl⁻ 102, BUN 15, glucose 90, measured serum osmolality 340 mOsm/kg. Calculate the anion gap, osmolar gap, and propose the most likely diagnosis.
PROBLEM 5CRITICAL THINKING
A septic patient in the MICU has the following labs: pH 7.36, PCO₂ 25 mmHg, HCO₃⁻ 14 mEq/L, Na⁺ 142, Cl⁻ 110, albumin 1.8 g/dL, lactate 6.2 mmol/L. The resident says, 'The pH is normal, so there's no acid–base problem.' Do you agree? Perform a complete acid–base analysis.

Acid–Base & Electrolyte Emergencies: Review

Acid–base and electrolyte emergencies demand a systematic, stepwise approach. Begin every ABG analysis by assessing the pH to determine acidemia or alkalemia, then identify whether the primary disturbance is metabolic or respiratory based on the direction of change in HCO₃⁻ and PCO₂. For metabolic acidosis, calculate the anion gap (always corrected for albumin) to distinguish HAGMA from NAGMA. Apply the delta-delta ratio and Winter's formula to unmask mixed disorders. When an elevated AG coexists with an elevated osmolar gap, suspect toxic alcohol ingestion and initiate fomepizole and dialysis immediately.

For electrolyte emergencies, hyperkalemia management follows the triad of stabilize (IV calcium gluconate), shift (insulin/glucose, albuterol, bicarbonate), and remove (Kayexalate, dialysis). Symptomatic hyponatremia with seizures or altered mental status requires 3% hypertonic saline, with careful monitoring to avoid overcorrection (≤ 10–12 mEq/L per 24 hours) and osmotic demyelination syndrome. Refractory hypokalemia should always prompt checking the magnesium level, as hypomagnesemia causes renal potassium wasting. A normal pH never rules out an acid–base disorder—always complete the full analysis.

Varsity Tutors • USMLE Step 2 • Acid–Base And Electrolyte Emergencies