USMLE STEP 2 • RENAL

Acid–Base And Electrolyte Disorders

A systematic approach to diagnosing and managing the most common acid–base and electrolyte derangements encountered in clinical medicine.

Historical Context & Clinical Motivation

The ability to diagnose and correct acid–base disorders is among the most essential clinical competencies in hospital medicine. From the earliest observations of diabetic ketoacidosis in the nineteenth century to the modern algorithmic approaches taught today, an understanding of hydrogen ion homeostasis has shaped resuscitation science, nephrology, and critical care. Electrolyte disorders — derangements in sodium, potassium, calcium, magnesium, and phosphorus — often accompany or produce acid–base disturbances, and their interplay can determine patient survival. Mastering these disorders requires integrating physiology, laboratory data, and clinical reasoning into a single, coherent diagnostic framework.

1909
Sørensen Defines pH
Søren Sørensen introduces the pH scale, providing a logarithmic measure of hydrogen ion concentration that becomes the universal language for acid–base physiology.
1916
Henderson–Hasselbalch Equation
Karl Hasselbalch reformulates Henderson's earlier work into the equation relating pH to the ratio of bicarbonate to dissolved CO₂, forming the bedrock of clinical acid–base analysis.
1965
Anion Gap Concept Introduced
The anion gap calculation is formalized as a clinical tool to distinguish between causes of metabolic acidosis, revolutionizing emergency department workups.
1978
Stewart's Physicochemical Approach
Peter Stewart proposes that pH is determined by three independent variables — strong ion difference, total weak acid concentration, and pCO₂ — offering an alternative mechanistic framework.
2000s
Delta–Delta & Modern Algorithms
Integration of the delta–delta ratio and Winter's formula into stepwise algorithms becomes standard in USMLE-oriented teaching and bedside practice.

Despite these advances, acid–base and electrolyte disorders remain a leading source of diagnostic error. The fundamental question that every clinician must answer at the bedside is straightforward: What is the primary disorder, is compensation appropriate, and are additional (mixed) disorders hiding beneath the numbers? This lesson provides a systematic, USMLE-oriented approach to answering that question.

Core Principles & Definitions

Normal arterial blood pH is maintained within the narrow range of 7.35–7.45. The body defends this range through three tiers: chemical buffer systems (instantaneous), respiratory compensation (minutes to hours), and renal compensation (hours to days). The bicarbonate–CO₂ buffer pair is the principal extracellular buffer and the one assessed on arterial blood gas (ABG) analysis. An understanding of the four primary acid–base disorders and the concept of mixed disorders is the foundation for clinical reasoning.

1

Metabolic Acidosis

Primary decrease in HCO₃⁻ (< 22 mEq/L). Divided into anion gap (AG) and non-anion gap (NAG) categories. Respiratory compensation → ↓ pCO₂.
2

Metabolic Alkalosis

Primary increase in HCO₃⁻ (> 28 mEq/L). Classified as saline-responsive (urine Cl⁻ < 20) or saline-resistant (urine Cl⁻ > 20). Respiratory compensation → ↑ pCO₂.
3

Respiratory Acidosis

Primary increase in pCO₂ (> 45 mmHg) due to hypoventilation. Acute vs. chronic compensation is determined by the degree of HCO₃⁻ rise: acute = 1 mEq/L per 10 mmHg rise; chronic = 3.5 mEq/L per 10 mmHg rise.
4

Respiratory Alkalosis

Primary decrease in pCO₂ (< 35 mmHg) due to hyperventilation. Acute compensation: HCO₃⁻ falls 2 mEq/L per 10 mmHg drop; chronic: falls 5 mEq/L per 10 mmHg drop.
5

Mixed Acid–Base Disorders

Two or three primary disorders coexist — identified when compensation falls outside the expected range or when the delta–delta ratio is abnormal.
KEY TAKEAWAY
Think of the body's acid–base system like a thermostat with two dials. The lungs act as the fast dial — they adjust CO₂ within minutes by changing ventilation rate. The kidneys act as the slow but powerful dial — they reclaim or excrete bicarbonate over hours to days. When one dial fails, the other compensates but never overcorrects. If the numbers suggest overcorrection, suspect a mixed disorder.

Stepwise ABG Interpretation Algorithm

A systematic approach to every ABG is essential. The following algorithm walks through the five critical steps: determine the pH direction, identify the primary disorder by examining pCO₂ and HCO₃⁻, assess the adequacy of compensation, calculate the anion gap when metabolic acidosis is present, and apply the delta–delta ratio to unmask additional disorders. This visual provides the diagnostic backbone for virtually every USMLE acid–base question.

Flowchart depicting the five-step ABG interpretation algorithm. Begin at Step 1 (pH) and proceed downward. Steps 4 and 5 apply specifically to metabolic acidosis. An abnormal compensation at any point signals a mixed disorder.

When approaching an ABG, always begin with the pH. A pH below 7.35 indicates acidemia, while a pH above 7.45 indicates alkalemia. Next, determine whether the primary process is metabolic or respiratory by examining the direction of pCO₂ and HCO₃⁻ changes relative to the pH shift. Assess whether compensation is appropriate using the expected formulas — any deviation signals a mixed disorder. In metabolic acidosis, the anion gap further refines the differential, and the delta–delta ratio unmasks concurrent metabolic alkalosis or non-anion gap metabolic acidosis hiding behind an elevated AG.

Key Formulas & Compensation Rules

A handful of equations form the quantitative backbone of acid–base interpretation. Memorizing these formulas and their expected values is high-yield for the USMLE. Each equation answers a specific clinical question, and together they create a systematic, error-resistant approach to even the most complex blood gas.

HENDERSON–HASSELBALCH EQUATION
pH = 6.1 + log([HCO₃⁻] / (0.03 × pCO₂))
Where 6.1 is the pKa of carbonic acid, [HCO₃⁻] is in mEq/L, and pCO₂ is in mmHg. The constant 0.03 converts pCO₂ to dissolved CO₂ concentration. This equation demonstrates that pH is determined by the ratio of bicarbonate to CO₂, not their absolute values.
ANION GAP
AG = Na⁺ − (Cl⁻ + HCO₃⁻)
Normal AG ≈ 12 mEq/L (range 8–12 without albumin correction). For every 1 g/dL decrease in albumin below 4.0, the expected AG decreases by approximately 2.5. Always use the corrected AG in hypoalbuminemic patients: Corrected AG = Calculated AG + 2.5 × (4.0 − measured albumin).
WINTER'S FORMULA (Expected pCO₂ in Metabolic Acidosis)
Expected pCO₂ = (1.5 × HCO₃⁻) + 8 ± 2
Used to assess whether respiratory compensation is appropriate in primary metabolic acidosis. If the measured pCO₂ is higher than expected, a concurrent respiratory acidosis is present; if lower, a concurrent respiratory alkalosis is present.
DELTA–DELTA RATIO
Delta Ratio = ΔAG / ΔHCO₃⁻ = (AG − 12) / (24 − HCO₃⁻)
A ratio < 1 suggests a coexisting non-anion gap metabolic acidosis. A ratio between 1 and 2 is consistent with a pure AG metabolic acidosis. A ratio > 2 indicates a concurrent metabolic alkalosis.
Compensation rules for primary acid–base disorders
Primary DisorderExpected CompensationTime Course
Metabolic AcidosispCO₂ = (1.5 × HCO₃⁻) + 8 ± 212–24 hours
Metabolic AlkalosispCO₂ rises 0.7 mmHg per 1 mEq/L ↑ HCO₃⁻12–24 hours
Acute Respiratory AcidosisHCO₃⁻ rises 1 mEq/L per 10 mmHg ↑ pCO₂Minutes (buffering)
Chronic Respiratory AcidosisHCO₃⁻ rises 3.5 mEq/L per 10 mmHg ↑ pCO₂3–5 days
Acute Respiratory AlkalosisHCO₃⁻ falls 2 mEq/L per 10 mmHg ↓ pCO₂Minutes (buffering)
Chronic Respiratory AlkalosisHCO₃⁻ falls 5 mEq/L per 10 mmHg ↓ pCO₂3–5 days

Differential Diagnosis & Classification

Once you have identified the type of acid–base disorder, the next challenge is determining its etiology. Metabolic acidosis is separated by the anion gap into AG and NAG categories. The classic mnemonics — MUDPILES for AG metabolic acidosis and HARDUPS for NAG metabolic acidosis — remain among the most frequently tested board mnemonics. Metabolic alkalosis is classified by its response to saline infusion, and electrolyte disorders (hypo- and hypernatremia, hypo- and hyperkalemia) are classified by volume status and osmolality.

Upper panel: classification of metabolic acidosis by anion gap with the MUDPILES and HARDUPS mnemonics. Lower panel: high-yield electrolyte disorders (hyponatremia, hyperkalemia, hypokalemia) with key management pearls.

For metabolic alkalosis, the pivotal laboratory value is the urine chloride. Saline-responsive causes (urine Cl⁻ < 20 mEq/L) include vomiting, nasogastric suction, and diuretic use (after the diuretic has been cleared). Saline-resistant causes (urine Cl⁻ > 20 mEq/L) include hyperaldosteronism, Cushing syndrome, and Bartter or Gitelman syndromes. Among electrolyte disorders, hyponatremia is the most commonly tested, and the board expects you to classify it by serum osmolality (hypo-, iso-, or hypertonic) and then by volume status (hypovolemic, euvolemic, or hypervolemic). The rate of sodium correction is critical: overcorrection risks osmotic demyelination syndrome (ODS), historically called central pontine myelinolysis. The safe limit is generally ≤ 8 mEq/L in 24 hours for chronic hyponatremia.

Worked Example: Mixed Acid–Base Disorder

A 62-year-old man with a history of COPD and chronic kidney disease presents to the emergency department with dyspnea and altered mental status. He has been vomiting for two days. ABG: pH 7.30, pCO₂ 55 mmHg, HCO₃⁻ 26 mEq/L. Basic metabolic panel: Na⁺ 140, Cl⁻ 98, HCO₃⁻ 26, albumin 4.0 g/dL.

Identifying a Triple Acid–Base Disorder
1
Step 1 — Assess the pHThe pH is 7.30, which is below 7.35. The patient has acidemia. The primary process driving the pH downward must be acidotic.
Acidemia (pH 7.30)
2
Step 2 — Identify the Primary DisorderThe pCO₂ is elevated at 55 mmHg (normal 35–45), which would lower pH — this is consistent with the acidemia. The HCO₃⁻ is 26 mEq/L, which is actually within normal range (22–28). A primary respiratory acidosis is present.
Primary: Respiratory Acidosis
3
Step 3 — Assess CompensationThe pCO₂ has risen 15 mmHg above normal (55 − 40 = 15). For acute respiratory acidosis, HCO₃⁻ should rise 1 mEq/L per 10 mmHg → expected HCO₃⁻ ≈ 24 + 1.5 = 25.5. For chronic, HCO₃⁻ should rise 3.5 per 10 → expected ≈ 24 + 5.25 = 29.25. The measured HCO₃⁻ of 26 falls between acute and chronic compensation, but given the patient's COPD (chronic baseline), you would expect a HCO₃⁻ closer to 29. The HCO₃⁻ is lower than expected for chronic respiratory acidosis, suggesting something is consuming bicarbonate.
Compensation inadequate — suspect additional metabolic disorder
4
Step 4 — Calculate the Anion GapAG = Na⁺ − (Cl⁻ + HCO₃⁻) = 140 − (98 + 26) = 16. The normal AG is approximately 12, so there is an elevated anion gap of 16. This indicates an AG metabolic acidosis is present in addition to the respiratory acidosis. With a normal albumin, no correction is needed.
AG = 16 → AG metabolic acidosis present
5
Step 5 — Delta–Delta RatioΔAG = 16 − 12 = 4. ΔHCO₃⁻ = 24 − 26 = −2. Wait — the HCO₃⁻ is actually above 24, meaning there is no net fall in bicarbonate despite the AG acidosis. This is only possible if there is a concurrent metabolic alkalosis raising the HCO₃⁻ (likely from vomiting). The delta–delta ratio calculation confirms: the ΔAG of 4 has been completely offset (and then some) by the alkalosis. The corrected HCO₃⁻ (i.e., what HCO₃⁻ would be without the AG acid) = 26 + 4 = 30, which is above 24, confirming a concurrent metabolic alkalosis.
Triple disorder: Chronic respiratory acidosis + AG metabolic acidosis + metabolic alkalosis
💡 Clinical Pearl
Vomiting is one of the most common causes of a metabolic alkalosis that "hides" behind an anion gap metabolic acidosis, making the HCO₃⁻ appear deceptively normal. Always calculate the AG and delta–delta ratio, even when the HCO₃⁻ looks normal.

AG vs. Non-AG Metabolic Acidosis & Clinical Pearls

The distinction between anion gap and non-anion gap metabolic acidosis is among the most clinically important classification schemes in internal medicine. It immediately narrows the differential diagnosis and guides the initial workup. Similarly, understanding when to check a urine anion gap and an osmolar gap adds diagnostic precision to the evaluation.

Comparison of AG vs. NAG metabolic acidosis
FeatureAnion Gap Metabolic AcidosisNon-Anion Gap Metabolic Acidosis
MechanismAddition of unmeasured acid (organic or exogenous)Loss of HCO₃⁻ or impaired renal acid excretion
ChlorideNormal (normochloremic)Elevated (hyperchloremic)
Common CausesDKA, lactic acidosis, toxic ingestions, uremiaDiarrhea, RTA types 1, 2, 4, saline infusion
Urine AGNot typically used in initial workupNegative (GI loss) vs. Positive (renal cause/RTA)
Osmolar Gap UtilityElevated in toxic ingestions (methanol, ethylene glycol)Not typically helpful
TreatmentTreat underlying cause (insulin for DKA, fomepizole for toxic alcohols, etc.)Replace HCO₃⁻ (if severe) and address underlying etiology
KEY TAKEAWAY
Think of the anion gap like a ledger. In a healthy state, unmeasured anions and cations roughly balance out, leaving a small gap of about 12. In AG metabolic acidosis, a new unmeasured acid (lactate, ketoacids, toxic organic acids) enters the ledger, widening the gap. In NAG metabolic acidosis, the body simply loses bicarbonate (through the gut or kidneys), and chloride rises to fill the electrical void — the ledger stays balanced but the buffer reserve is depleted. The urine anion gap (Na⁺ + K⁺ − Cl⁻ in urine) distinguishes renal from GI causes of NAG acidosis: a negative urine AG means the kidneys are appropriately excreting NH₄⁺ (GI loss), while a positive urine AG indicates renal impairment of acid excretion (RTA).

Connection to Advanced Physiology & Board Pearls

Beyond the traditional Henderson–Hasselbalch approach, the Stewart approach (strong ion difference model) has gained traction in critical care. It views pH as being determined by three independent variables: the strong ion difference (SID), the total concentration of weak acids (Atot, primarily albumin and phosphate), and pCO₂. While the traditional approach is perfectly adequate for USMLE Step 2 questions, an awareness of Stewart's model helps explain certain clinical scenarios — such as why normal saline infusion causes a hyperchloremic metabolic acidosis (it narrows the SID by raising Cl⁻ relative to Na⁺).

Traditional vs. Stewart acid–base approaches
ConceptTraditional (Henderson–Hasselbalch)Stewart (Physicochemical)
Independent VariablespCO₂ and HCO₃⁻ (treated as independent)pCO₂, SID, and A_tot; HCO₃⁻ is a dependent variable
Saline-Induced AcidosisExplained as dilution of bicarbonateExplained by decrease in SID (Cl⁻ rises, narrowing Na⁺ − Cl⁻ difference)
Albumin EffectHandled by correcting the AG for albuminDirectly incorporated as A_tot; low albumin is itself alkalinizing
Board RelevancePrimary framework tested on USMLE Step 2Not directly tested; useful for ICU-level understanding
🎯 High-Yield Board Pearls
Several electrolyte-acid–base connections are frequently tested: (1) Hypokalemia and metabolic alkalosis often coexist — aldosterone excess promotes both K⁺ wasting and H⁺ secretion. (2) In DKA, serum K⁺ may be normal or high despite total-body K⁺ depletion due to transcellular shifts; always check K⁺ before giving insulin. (3) Severe hypomagnesemia causes refractory hypokalemia and hypocalcemia — always replace Mg²⁺ first. (4) Respiratory alkalosis is the most common acid–base disorder in hospitalized patients (pain, anxiety, sepsis-related hyperventilation). (5) Salicylate toxicity classically produces a mixed respiratory alkalosis and AG metabolic acidosis.

Practice Problems

PROBLEM 1CONCEPTUAL
A patient presents with a pH of 7.50, pCO₂ of 48 mmHg, and HCO₃⁻ of 36 mEq/L. What is the primary acid–base disorder, and is the compensation appropriate? Explain your reasoning.
PROBLEM 2BASIC CALCULATION
Calculate the anion gap and the corrected anion gap for a patient with the following values: Na⁺ 142, Cl⁻ 104, HCO₃⁻ 10, albumin 2.0 g/dL.
PROBLEM 3INTERMEDIATE
A 45-year-old woman with diabetes presents with Kussmaul breathing. ABG: pH 7.22, pCO₂ 24 mmHg, HCO₃⁻ 10 mEq/L. Na⁺ 138, Cl⁻ 100, albumin 4.0. (a) What is the primary disorder? (b) Is the respiratory compensation appropriate (use Winter's formula)? (c) Calculate the anion gap and delta–delta ratio.
PROBLEM 4APPLIED
A 70-year-old man with CHF is admitted with confusion. Labs: Na⁺ 118 mEq/L, serum osmolality 248 mOsm/kg, urine osmolality 450 mOsm/kg, urine sodium 45 mEq/L. He appears volume-overloaded with peripheral edema and JVD. (a) Classify his hyponatremia by osmolality and volume status. (b) What is the most likely cause? (c) What is the treatment, and what rate of correction is safe?
PROBLEM 5CRITICAL THINKING
A patient with COPD (baseline pCO₂ of 55 mmHg) is brought to the ED obtunded. ABG: pH 7.18, pCO₂ 80 mmHg, HCO₃⁻ 30 mEq/L. Na⁺ 140, Cl⁻ 98, albumin 3.5. (a) Is this an acute, chronic, or acute-on-chronic respiratory acidosis? (b) Is there a superimposed metabolic disorder? Justify using the AG and expected compensation. (c) What urgent intervention is needed?

Summary & Key Review Points

Acid–base and electrolyte disorders require a systematic, stepwise approach. Start every ABG by assessing the pH to determine acidemia vs. alkalemia. Identify the primary disorder by examining pCO₂ and HCO₃⁻. Assess compensation adequacy using Winter's formula (metabolic acidosis) or the expected HCO₃⁻ change per 10 mmHg ΔpCO₂ rules (respiratory disorders). In metabolic acidosis, calculate the anion gap (correcting for albumin) to classify it as AG (MUDPILES) or NAG (HARDUPS), and use the delta–delta ratio to unmask hidden concurrent disorders.

For electrolyte disorders, hyponatremia is classified by osmolality and volume status — correct chronic hyponatremia at ≤ 8 mEq/L per 24 hours to avoid osmotic demyelination syndrome. Hyperkalemia requires immediate ECG assessment and stabilization with calcium gluconate before definitive treatment. Hypokalemia is often refractory without concurrent magnesium repletion. Metabolic alkalosis is classified by urine chloride into saline-responsive (< 20 mEq/L) and saline-resistant (> 20 mEq/L) categories. Mastering these frameworks ensures both clinical competence and USMLE readiness.

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