med study partner

Articles & Guides › Articles › Renal, Urinary & Electrolytes

Acid–base physiology and disorders

How the kidneys and lungs keep pH normal and a six-step approach to blood gases, the causes of high and normal anion gap acidosis including toxic alcohols and renal tubular acidosis, how metabolic alkalosis is generated and maintained, and how respiratory disorders and compensation work.

Renal, Urinary & Electrolytes · 7 min read · Reviewed 2026-11-09

Blood pH depends on the ratio of bicarbonate, controlled by the kidneys, to carbon dioxide, controlled by the lungs. When one changes, the other compensates in a predictable way, so a blood gas can be read step by step to find every disorder present[1]. This article covers the six-step approach, the causes of metabolic acidosis with a high or normal anion gap, toxic alcohols, renal tubular acidosis, metabolic alkalosis and the respiratory disorders.

Key points

  • pH = 6.1 + log(bicarbonate ÷ 0.03 × PaCO₂). The kidney reclaims filtered bicarbonate and makes new bicarbonate by excreting acid, mainly as ammonium.
  • Always calculate the anion gap (sodium − chloride − bicarbonate, normal about 8 to 12); a high gap means an added acid whatever the pH.
  • Winter's formula predicts the PaCO₂ in metabolic acidosis (1.5 × bicarbonate + 8 ± 2); a value outside it means a second disorder.
  • A high anion gap with a high osmolal gap means methanol or ethylene glycol; treat with fomepizole and dialysis.
  • Normal-gap acidosis: a negative urine anion gap means diarrhea; a positive one means distal (type 1) or type 4 RTA.
  • Metabolic alkalosis with low urine chloride (vomiting) responds to saline; high urine chloride means diuretics, Bartter or Gitelman syndrome or mineralocorticoid excess.

A stepwise approach to arterial blood gases

The chemistry and the kidney

The bicarbonate buffer links the three numbers: CO₂ + H₂O ⇌ H₂CO₃ ⇌ H⁺ + HCO₃⁻. Normal values are pH 7.40, PaCO₂ 40 mm Hg and bicarbonate 24 mEq/L. Metabolism produces about 1 mEq/kg of fixed acid each day, so the kidney must reclaim filtered bicarbonate, mostly in the proximal tubule, and generate new bicarbonate by excreting acid bound to phosphate and, above all, ammonium, made from glutamine[2].

Six steps

  1. pH: below 7.35 is acidemia; above 7.45 is alkalemia.
  2. Primary disorder: whichever of PaCO₂ or bicarbonate moved in the direction that explains the pH.
  3. Anion gap, always: sodium − (chloride + bicarbonate). Lower the expected gap by about 2.5 for each 1 g/dL that albumin is below 4.
  4. Compensation: it is predictable and never overshoots.
  5. Delta-delta if the gap is high: compare the rise in gap with the fall in bicarbonate. A larger fall in bicarbonate means a second, normal-gap acidosis; a smaller fall means a metabolic alkalosis too.
  6. Osmolal gap if the cause of a high anion gap is unclear.
Primary disorderExpected compensation
Metabolic acidosisPaCO₂ = 1.5 × bicarbonate + 8 ± 2
Metabolic alkalosisPaCO₂ rises about 0.7 per 1 mEq/L rise in bicarbonate
Acute respiratory acidosisBicarbonate rises about 1 per 10 mm Hg rise in PaCO₂
Chronic respiratory acidosisBicarbonate rises about 3.5 to 4 per 10 mm Hg
Acute respiratory alkalosisBicarbonate falls about 2 per 10 mm Hg fall in PaCO₂
Chronic respiratory alkalosisBicarbonate falls about 4 to 5 per 10 mm Hg

High anion gap metabolic acidosis

Added acids

A high gap means an unmeasured acid has been added: its hydrogen ion uses up bicarbonate and its anion stays behind. GOLDMARK lists the causes[3]:

  • Glycols (ethylene glycol, propylene glycol from lorazepam infusions).
  • Oxoproline, from chronic acetaminophen use in malnourished people.
  • L-lactate: type A from poor tissue oxygen (shock, sepsis, carbon monoxide, cyanide); type B without it (metformin, liver failure, thiamine deficiency).
  • D-lactate, from bacterial fermentation in short bowel syndrome.
  • Methanol.
  • Aspirin.
  • Renal failure, usually when GFR is below about 20 to 30 mL/min.
  • Ketoacidosis: diabetic, alcoholic or starvation.

In diabetic ketoacidosis, insulin deficiency and glucagon excess drive ketone production. The nitroprusside test detects acetoacetate but not beta-hydroxybutyrate, so it can underestimate ketosis. SGLT2 inhibitors can cause DKA with near-normal glucose.

Toxic alcohols and the osmolal gap

The osmolal gap

Osmolal gap = measured − calculated osmolality, where calculated = 2 × sodium + glucose/18 + BUN/2.8; above about 10 means unmeasured osmoles. Early in methanol or ethylene glycol poisoning, the parent alcohol raises the osmolal gap; as it is converted to acids, the anion gap rises and the osmolal gap falls[4].

AlcoholToxic productsSignature damage
Ethylene glycol (antifreeze)Glycolic acid, oxalateCalcium oxalate crystals, acute kidney injury, low calcium
Methanol (windshield fluid)Formaldehyde, formic acidOptic nerve and retina damage ("snowstorm" vision, blindness)
Isopropyl alcohol (rubbing alcohol)AcetoneKetosis and high osmolal gap without acidosis

Treatment

Fomepizole blocks alcohol dehydrogenase, the first step, so the harmless parent alcohol is excreted before it becomes acid; ethanol does the same by competition. Hemodialysis removes both alcohol and acids and is used for severe acidosis, kidney failure or visual symptoms. Thiamine and pyridoxine help with ethylene glycol, and folate with methanol[4].

Normal anion gap acidosis and renal tubular acidosis

Causes and the urine anion gap

In normal-gap (hyperchloremic) acidosis, bicarbonate is lost or acid retained, and chloride rises. Causes include diarrhea (the most common), RTA, acetazolamide, adrenal insufficiency, spironolactone and large saline infusions. The urine anion gap (urine sodium + potassium − chloride) estimates ammonium excretion: it is negative when the kidney is excreting ammonium normally, as in diarrhea, and positive when the kidney is the problem[3].

Renal tubular acidosis

FeatureType 1 (distal)Type 2 (proximal)Type 4 (hypoaldosteronism)
DefectAlpha-intercalated cells cannot secrete acidProximal tubule cannot reclaim bicarbonateLow aldosterone effect; high potassium suppresses ammonia production
Serum potassiumLowLowHigh
Urine pHAbove 5.5Below 5.5 once bicarbonate fallsBelow 5.5
StonesCalcium phosphateUncommonNo
CausesSjögren syndrome, lupus, amphotericin B, lithiumFanconi syndrome, myeloma, acetazolamide, tenofovirDiabetic kidney disease, ACE inhibitors, ARBs, trimethoprim, heparin

In type 2 RTA, bicarbonate spills into urine only until the serum level falls to the lowered threshold, after which urine can be acidified, so very high doses of alkali are needed. In type 1, alkaline urine, bone buffering and low urinary citrate favor calcium phosphate stones[5].

Metabolic alkalosis

Generation and maintenance

A metabolic alkalosis needs a cause that generates it, such as losing acid by vomiting or through the kidney, contraction of fluid around a fixed amount of bicarbonate, or added alkali, and something that maintains it, because healthy kidneys excrete extra bicarbonate quickly. Maintenance comes from volume depletion (angiotensin II and aldosterone), chloride depletion (bicarbonate secretion needs chloride to exchange), hypokalemia and mineralocorticoid excess[6].

Classify by urine chloride

Urine chlorideTypeCauses
Below about 20 mEq/LSaline-responsiveVomiting, nasogastric suction, past diuretic use, after correcting chronic high CO₂
Above about 20, normal or low blood pressureSaline-resistantCurrent diuretics, Bartter and Gitelman syndromes
Above about 20, high blood pressureSaline-resistantPrimary hyperaldosteronism, Cushing syndrome, Liddle syndrome, licorice

Urine chloride is a better guide than urine sodium early in vomiting, because sodium is excreted with bicarbonate. Self-induced vomiting can be suspected from swollen parotid glands, eroded inner tooth surfaces and knuckle calluses; secret diuretic use gives the same blood results with a high urine chloride[6].

Respiratory acidosis, respiratory alkalosis and compensation

Respiratory acidosis

Hypoventilation raises PaCO₂ above 45. Causes include COPD, a tiring asthma attack (a normal or rising PaCO₂ is ominous), sedatives and opioids, neuromuscular weakness and obesity hypoventilation. Acutely, bicarbonate rises only about 1 per 10 mm Hg; over 3 to 5 days, the kidney makes new bicarbonate, raising it about 3.5 to 4 per 10 mm Hg. In a chronic retainer ventilated too aggressively, PaCO₂ falls while bicarbonate stays high, causing post-hypercapnic metabolic alkalosis[1].

Respiratory alkalosis

Hyperventilation lowers PaCO₂ below 35. Causes include anxiety, pain, fever, low oxygen (altitude, pulmonary embolism), pregnancy, early salicylate poisoning, sepsis and liver failure. Alkalosis increases calcium binding to albumin, lowering ionized calcium and causing tingling and carpopedal spasm.

Mixed disorders

Clues include a normal pH with abnormal PaCO₂ and bicarbonate, the two moving in opposite directions, compensation outside the predicted range and a high anion gap. Classic pairs are salicylate poisoning (respiratory alkalosis with gap acidosis), sepsis, vomiting with DKA and COPD treated with diuretics.

Common confusions

  • Compensation and the anion gap: compensation never creates an anion gap; a high gap always means an added acid.
  • Antidote targets: fomepizole blocks alcohol dehydrogenase; disulfiram and metronidazole block aldehyde dehydrogenase.
  • Type 1 versus type 4 RTA: both have a positive urine anion gap; type 1 has low potassium and urine pH above 5.5, type 4 has high potassium and acid urine.
  • Vomiting versus diuretics: both cause hypochloremic, hypokalemic alkalosis; urine chloride is low with vomiting and high with current diuretics.

References

  1. Berend K, de Vries APJ, Gans ROB. Physiological approach to assessment of acid–base disturbances. N Engl J Med. 2014;371(15):1434-1445. doi:10.1056/NEJMra1003327 Link ↩
  2. Hall JE, Hall ME. Guyton and Hall Textbook of Medical Physiology. 14th ed. Elsevier; 2021. ↩
  3. Kraut JA, Madias NE. Metabolic acidosis: pathophysiology, diagnosis and management. Nat Rev Nephrol. 2010;6(5):274-285. doi:10.1038/nrneph.2010.33 Link ↩
  4. Kraut JA, Mullins ME. Toxic alcohols. N Engl J Med. 2018;378(3):270-280. doi:10.1056/NEJMra1615295 Link ↩
  5. Rodríguez Soriano J. Renal tubular acidosis: the clinical entity. J Am Soc Nephrol. 2002;13(8):2160-2170. doi:10.1097/01.ASN.0000023430.92674.E5 Link ↩
  6. Galla JH. Metabolic alkalosis. J Am Soc Nephrol. 2000;11(2):369-375. doi:10.1681/ASN.V112369 Link ↩

Test yourself in the Question Bank · Listen to the podcasts