Acid-base balance
Acid–base balance: buffers, ABG interpretation, anion gap, RTA and mixed disorders
Blood pH is held near 7.4 by buffers in seconds, the lungs in minutes and the kidneys over days. Learn to read an ABG, use the anion gap and compensation rules, and explain RTA, vomiting, DKA and post-hypercapnic alkalosis.
One of the most tested topics in past papers
The core idea
Henderson–Hasselbalch: pH = 6.1 + log (HCO₃⁻ ÷ (0.03 × PaCO₂ in mmHg)). pH depends on the ratio of bicarbonate (set by the kidneys) to CO₂ (set by the lungs). Normal: pH 7.35–7.45, PaCO₂ 4.7–6.0 kPa (35–45 mmHg), HCO₃⁻ 22–26 mmol/L.
Lines of defence
1. Buffers (seconds): bicarbonate is the main ECF and plasma buffer (including in DKA), because its CO₂ can be blown off; haemoglobin is the main buffer of CO₂ in red cells; proteins and phosphate buffer inside cells; phosphate (titratable acid) and ammonia buffer urine. 2. Lungs (minutes): ventilation changes PaCO₂. 3. Kidneys (hours to days): they reclaim filtered bicarbonate and make new bicarbonate.
- Reabsorb filtered bicarbonate, about 80% in the proximal tubule (Na⁺/H⁺ exchange and carbonic anhydrase), the rest distally.
- Make new bicarbonate by excreting H⁺ as titratable acid and as ammonium. Proximal cells make NH₄⁺ from glutamine; ammonium excretion is the main adjustable route and rises in chronic acidosis. In chronic respiratory acidosis (COPD, PaCO₂ 62 mmHg, HCO₃⁻ 32), the raised bicarbonate comes from increased renal ammonium production and excretion.
The four primary disorders and expected compensation
| Disorder | pH | Primary change | Compensation (expected size) |
|---|---|---|---|
| Metabolic acidosis | ↓ | HCO₃⁻ ↓ | PaCO₂ ↓: Winter's formula PaCO₂ (mmHg) = 1.5 × HCO₃⁻ + 8 ± 2 |
| Metabolic alkalosis | ↑ | HCO₃⁻ ↑ | PaCO₂ ↑ about 0.7 mmHg per 1 mmol/L HCO₃⁻ (limited by hypoxia) |
| Respiratory acidosis | ↓ | PaCO₂ ↑ | HCO₃⁻ ↑ 1 per 10 mmHg (acute); 3.5–4 per 10 mmHg (chronic, after days) |
| Respiratory alkalosis | ↑ | PaCO₂ ↓ | HCO₃⁻ ↓ 2 per 10 mmHg (acute); 4–5 per 10 mmHg (chronic) |
Compensation never fully corrects pH and never overshoots. Values outside the expected range mean a mixed disorder. A high bicarbonate in COPD is compensation unless it exceeds the expected value.
Reading a blood gas
1. pH: acidaemia or alkalaemia? 2. Which of PaCO₂ or HCO₃⁻ explains the direction (primary disorder)? 3. Is the other value compensating by the expected amount? 4. In metabolic acidosis, calculate the anion gap. 5. Check oxygenation separately.
| Example | Interpretation |
|---|---|
| pH 7.2, HCO₃⁻ 19, PaCO₂ 39 mmHg | Metabolic acidosis without respiratory compensation (expected PaCO₂ about 36) |
| pH 7.3, HCO₃⁻ 16, PaCO₂ 38 mmHg | Metabolic acidosis with inadequate compensation (expected 32 ± 2): added respiratory acidosis |
| pH 7.55, PaCO₂ 30 mmHg, HCO₃⁻ 21 | Acute respiratory alkalosis |
| pH 7.23, PaCO₂ high, HCO₃⁻ 26 (acute asthma) | Acute respiratory acidosis, no time for renal compensation |
| Chronic respiratory acidosis | PaCO₂ high, HCO₃⁻ high, pH near normal |
Anion gap
Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻), normally about 8–12 mmol/L. It represents unmeasured anions, mainly albumin (each 10 g/L fall in albumin lowers it by about 2.5).
| Raised anion gap | Normal anion gap (hyperchloraemic) |
|---|---|
| Lactic acidosis (shock, sepsis, metformin); D-lactate in short bowel | Diarrhoea (bicarbonate loss) |
| Ketoacidosis (diabetic, alcoholic, starvation; euglycaemic DKA on SGLT2 inhibitors) | Renal tubular acidosis |
| Advanced renal failure (retained sulphate, phosphate, urate) | Acetazolamide |
| Toxins: methanol, ethylene glycol, salicylates, iron, paracetamol (5-oxoproline) | Ureterosigmoidostomy, pancreatic fistula |
| Excess 0.9% saline; early CKD |
- Euglycaemic DKA: an SGLT2 inhibitor (empagliflozin) lowers glucose by glycosuria, so after surgery or fasting a patient can have severe ketoacidosis (pH 7.15) with glucose only about 11 mmol/L.
- D-lactic acidosis: in short bowel syndrome, carbohydrate reaches the colon, where bacteria ferment it to D-lactate, causing confusion, slurred speech and ataxia with a high anion gap. Routine lactate assays measure only L-lactate, so they are normal.
- Ureterosigmoidostomy: colonic mucosa exchanges urinary chloride for bicarbonate (and absorbs ammonium), giving hypokalaemic hyperchloraemic acidosis (Cl⁻ 115, HCO₃⁻ 16, gap 7).
- CKD: with too few nephrons, ammonium excretion is inadequate; urine pH is appropriately low (5.3). Early CKD gives a normal gap; advanced CKD adds retained anions. Oral bicarbonate is considered when HCO₃⁻ stays below about 20.
- Methanol and ethylene glycol also raise the osmolar gap: methanol causes blindness (formic acid), ethylene glycol renal failure with oxalate crystals. Treat with fomepizole and dialysis.
- Salicylate poisoning: mixed respiratory alkalosis (direct respiratory centre stimulation) and high anion gap metabolic acidosis.
Renal tubular acidosis (all normal anion gap)
| Type | Defect | Urine pH | Plasma K⁺ | Notes |
|---|---|---|---|---|
| Type 1 (distal) | Cannot secrete H⁺ in collecting duct | Never below 5.5 | ↓ | Alkaline urine plus low urinary citrate (acidosis increases proximal citrate reabsorption) causes calcium phosphate stones and nephrocalcinosis; Sjögren syndrome, amphotericin. Potassium citrate corrects all three problems |
| Type 2 (proximal) | Low threshold for HCO₃⁻ reabsorption | Below 5.5 once plasma HCO₃⁻ falls below the threshold | ↓ | When bicarbonate is infused above the threshold (about 20), it floods the urine (pH above 7.5). Fanconi syndrome, acetazolamide, myeloma; poor growth in children |
| Type 4 | Low aldosterone or resistance | < 5.5 | ↑ | Diabetic nephropathy, ACE inhibitors, spironolactone |
A low urine pH does not exclude RTA: in proximal RTA the intact distal tubule acidifies the urine once bicarbonate has fallen.
Metabolic alkalosis
- Chloride-responsive (urine Cl⁻ below 20): vomiting or nasogastric suction (including hyperemesis gravidarum and self-induced vomiting with eroded dental enamel and knuckle calluses), previous diuretic use. Treat with 0.9% saline and potassium. Early in vomiting urine sodium may be high because bicarbonaturia carries Na⁺, so urine chloride is the better guide.
- Chloride-resistant (urine Cl⁻ high): Conn syndrome, Cushing syndrome, Bartter, Gitelman, Liddle, current diuretics; often with hypertension, raised sodium and low potassium.
- Massive transfusion: the citrate anticoagulant is converted by the liver to bicarbonate, so an early acidosis turns into alkalosis a day or two later.
- Post-hypercapnic alkalosis: a chronic CO₂ retainer has a compensatory HCO₃⁻ of 33. If ventilation drops PaCO₂ quickly to 38 mmHg, the bicarbonate remains and pH jumps to 7.56, with risk of seizures and arrhythmias. Ventilate COPD patients to their usual PaCO₂, not to normal.
- Pyloric stenosis and paradoxical aciduria: vomiting loses HCl and volume. To conserve volume, aldosterone drives Na⁺ reabsorption in the collecting duct in exchange for H⁺ and K⁺, and once K⁺ is depleted H⁺ is secreted preferentially, so urine is acidic despite alkalaemia. Correct fluids, chloride and potassium before pyloromyotomy.
Acid–base and potassium
- Acidosis shifts K⁺ out of cells as H⁺ is buffered inside; correcting it with bicarbonate makes cells take up K⁺ as they release H⁺, lowering serum K⁺. In DKA total body K⁺ is low despite a high serum level (insulin lack and hyperosmolality).
- Acute acidosis reduces renal K⁺ secretion; alkalosis increases it.
Hazards of bicarbonate therapy
Bicarbonate generates CO₂, which crosses the blood–brain barrier faster than HCO₃⁻, causing a paradoxical CSF and intracellular acidosis and worsening confusion. It also lowers K⁺ and ionised calcium and causes sodium overload. In trauma, acidosis with hypothermia and coagulopathy (the lethal triad) is treated by damage-control surgery and warmed resuscitation, not bicarbonate.
Remember Ratio rules pH: kidneys set HCO₃⁻, lungs set CO₂; calculate the gap whenever bicarbonate is low.
Exam trap Diarrhoea gives a normal anion gap acidosis; DKA, lactate and advanced renal failure raise the gap.
Exam trap Correcting a chronic retainer's PaCO₂ to normal unmasks the compensatory bicarbonate as metabolic alkalosis.
How FCPS asks about this
- Main plasma buffer in DKA: bicarbonate; main urinary buffers: phosphate and ammonia.
- Most filtered bicarbonate reabsorbed: proximal tubule; type 2 RTA is a low proximal threshold.
- Urine pH that never falls below 5.5 with stones: type 1 (distal) RTA, low urinary citrate.
- Acidic urine with alkalosis in pyloric stenosis: aldosterone-driven Na⁺ reabsorption in exchange for H⁺ (paradoxical aciduria).
- Normal anion gap acidosis: diarrhoea, RTA, acetazolamide, ureterosigmoidostomy, saline excess.
- Alkalosis after massive transfusion: citrate converted to bicarbonate by the liver.
- Raised HCO₃⁻ in chronic COPD: increased renal ammonium excretion (compensation).
Test yourself on this topic
5 of the 59 questions in our bank on this topic. Choose an answer to see why every option is right or wrong.
A 24-year-old woman has vomited repeatedly for a few hours after eating at a wedding. An arterial blood gas taken before any respiratory compensation has developed shows HCO3- 30 mEq/L, PCO2 40 mmHg and pH 7.50. How should this disturbance be classified?
Answer: Uncompensated metabolic alkalosis
Vomiting loses gastric acid, so bicarbonate and pH rise (metabolic alkalosis); a PCO2 still at 40 mmHg shows the lungs have not yet compensated. The high pH and bicarbonate identify metabolic alkalosis. With PCO2 still at baseline, this is described here as uncompensated; persistent failure of the expected PCO2 rise would require assessment for a concurrent respiratory alkalosis.
Acid-base interpretation
- pH up + HCO3- up = metabolic alkalosis
- Normal PCO2 = uncompensated
- Causes: vomiting, diuretics
Remember High pH with high HCO3- and normal PCO2 is uncompensated metabolic alkalosis.
Why the other options are wrong
- Compensated respiratory acidosis The raised bicarbonate does not represent compensation for respiratory acidosis when PCO2 is normal and the pH is alkalemic.
- Compensated metabolic alkalosis Compensation would raise PCO2; here it remains 40.
- Uncompensated respiratory alkalosis Respiratory alkalosis would have low PCO2 and low bicarbonate.
- Mixed acid-base disorder A mixed disorder requires clinical assessment and comparison with expected compensation; the stem specifies the acute pre-compensation stage.
A patient cannot lower urine pH below 5.4 even after an ammonium chloride load. Which renal tubular acidosis is this?
Answer: Type 1 (distal)
In distal RTA the alpha-intercalated cells cannot secrete H+, so urine pH stays above 5.3-5.5 despite systemic acidosis or an acid load. Hypokalaemia, nephrocalcinosis and stones follow.
Renal tubular acidosis
- Distal RTA: urine pH >5.4 despite acidosis
- Alpha-intercalated cell H+ secretion fails
- Features: hypokalaemia, stones, nephrocalcinosis
- Proximal RTA: HCO3- wasting, urine can acidify
Remember Distal (type 1) RTA: urine pH stays above 5.4 even under an acid load.
Why the other options are wrong
- Type 4 (hypoaldosteronism) Usually retains the ability to lower urine pH despite reduced ammonium excretion.
- Fanconi syndrome A generalised proximal tubular defect; distal urine acidification is generally preserved.
- Type 2 (proximal) Urine can acidify after plasma bicarbonate falls below the proximal reabsorptive threshold.
- Diarrhoeal bicarbonate loss Causes metabolic acidosis with an appropriate renal acidification response.
Hyperkalaemia is most characteristically accompanied by which acid-base state?
Answer: Metabolic acidosis
Hyperkalaemia is classically associated with metabolic acidosis, particularly in renal failure or hypoaldosteronism. Mineral acidosis may shift potassium out of cells, and hyperkalaemia can reduce renal ammonium excretion, but hyperkalaemia may also occur with normal acid-base status. How it's asked clinically: A 66-year-old man with advanced chronic kidney disease has deep, sighing breathing and a serum potassium well above normal → hyperkalaemia accompanied by metabolic acidosis.
Acid-base
- Acidosis moves H⁺ into cells, K⁺ out
- Hyperkalaemia blunts renal NH₄⁺ production
- Hypokalaemia pairs with metabolic alkalosis
Remember Hyperkalaemia goes with metabolic acidosis; hypokalaemia goes with metabolic alkalosis.
Why the other options are wrong
- Respiratory alkalosis Often associated with a small fall in potassium rather than the classic hyperkalaemic pattern.
- Respiratory acidosis Usually has a smaller potassium effect than mineral metabolic acidosis.
- Metabolic alkalosis Usually associated with potassium depletion rather than hyperkalaemia.
- No acid-base change Possible in isolated hyperkalaemia, although metabolic acidosis is the classic pathological association.
A 67-year-old man with long-standing COPD has stable arterial gases: pH 7.36, PaCO2 62 mmHg and HCO3- 34 mmol/L. Through which urinary buffer system do his kidneys excrete most of the extra acid?
Answer: Ammonium system
High PaCO2 with raised bicarbonate and near-normal pH is compensated chronic respiratory acidosis; the kidneys adapt by increasing glutamine-derived ammonia, which traps secreted hydrogen ions and generates new bicarbonate. Renal ammoniagenesis from glutamine increases during chronic acid retention, allowing enhanced NH4+ excretion and generation of new bicarbonate. Unlike phosphate-buffered titratable acid, this adaptive capacity is not fixed by the filtered phosphate load, but it is not unlimited.
Renal buffering in respiratory acidosis
- Titratable acid is limited
- NH4+ production is adaptive
- Makes new HCO3-
- Kidney response takes days
Remember The kidney excretes most acid as ammonium, whose production rises in chronic acidosis.
Why the other options are wrong
- Bicarbonate system Reabsorbed bicarbonate restores plasma levels but does not excrete the excess acid.
- Phosphate system Excretes acid as titratable acid, but its capacity is limited by the filtered phosphate.
- Protein system Intracellular and plasma buffer, not an excretory system in the kidney.
- Haemoglobin system A red cell buffer for CO2, not a renal excretory buffer.
A 68-year-old man with long-standing COPD has had a PaCO2 of about 58 mmHg for years, and his kidneys have adapted fully. Which value has returned towards normal?
Answer: Plasma pH
Years of CO2 retention mean chronic respiratory acidosis; renal bicarbonate generation raises plasma HCO3, pulling pH back towards normal while PaCO2 stays high. Chronic CO2 retention drives renal bicarbonate reabsorption and new bicarbonate generation. Plasma HCO3 rises, which moves the pH back toward normal; the PCO2 itself stays high and HCO3 is raised above normal.
Compensated respiratory acidosis
- PCO2 stays high
- HCO3 rises (renal)
- pH returns toward normal
- Takes 3 to 5 days
Remember In chronic respiratory acidosis the kidney retains bicarbonate, bringing pH close to normal.
Why the other options are wrong
- Arterial PO2 Arterial PO2 is usually low in chronic lung disease.
- Urine pH Urine pH varies with urinary buffers and clinical circumstances; increased ammonium excretion can occur without a persistently very acidic urine.
- Plasma CO2 PCO2 remains elevated; it is the primary disturbance.
- Plasma HCO3 HCO3 is raised above normal, as it is the compensation, not a normal value.
Where this sits in the CPSP syllabus
- Paper 1: Renal physiology, body fluids and acid-base, Acid-base balance and its disorders
- Surgery & Allied, Paper 2: Renal physiology, body fluids and acid-base, Acid-base balance and its disorders
- Medicine & Allied, Paper 2: Renal physiology, body fluids and acid-base, Acid-base balance and its disorders
Read next
Drug dose pages
Doses, cautions and practical tips for drugs in this chapter.