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 75 questions in our bank on this topic. Choose an answer to see why every option is right or wrong.
A 65-year-old woman with COPD has a usual PaCO₂ of 55 mmHg and bicarbonate of 31 mmol/L. She now has a chest infection and is drowsy: pH 7.25, PaCO₂ 80 mmHg (10.7 kPa), HCO₃⁻ 34 mmol/L. What is her acid–base disturbance?
Answer: Acute-on-chronic respiratory acidosis
If PaCO₂ had risen acutely from 40 to 80 mmHg, bicarbonate would have risen only about 4 mmol/L (to about 28) and pH would be about 7.17. If a PaCO₂ of 80 were chronic, the kidneys would have raised bicarbonate to about 38–40 and pH would be about 7.31. Her values lie between, because a sudden rise from her usual 55 mmHg sits on top of existing renal compensation. This is typical of an exacerbation in a CO₂ retainer, and a pH below 7.35 with hypercapnia is an indication to consider non-invasive ventilation.
Acute-on-chronic hypercapnia
- Acute: HCO₃⁻ +1 per 10 mmHg
- Chronic: HCO₃⁻ +3.5–4 per 10 mmHg
- Values between: acute on chronic
- pH below 7.35 in COPD: consider NIV
Remember Compare with the patient's own baseline gas.
Exam trap Drowsiness in a CO₂ retainer given high-flow oxygen may be oxygen-induced hypercapnia; target saturations of 88–92%.
Why the other options are wrong
- Acute respiratory acidosis alone Her bicarbonate is higher than an acute rise alone would give.
- Chronic compensated respiratory acidosis Her pH is too low for full chronic compensation at this PaCO₂.
- Respiratory acidosis with metabolic acidosis Bicarbonate is raised, not low.
- Respiratory acidosis with metabolic alkalosis Her bicarbonate fits renal compensation; no extra alkali process is needed.
A man is found confused after drinking a sweet-tasting liquid from his garage. Na⁺ 140, Cl⁻ 102, HCO₃⁻ 8 mmol/L. Measured osmolality is 330 mOsm/kg, while the calculated value is 295. Urine shows envelope-shaped crystals and his creatinine is rising. Which substance is most likely?
Answer: Ethylene glycol
The anion gap is 140 − (102 + 8) = 30 mmol/L, a raised-gap metabolic acidosis, and the osmolar gap (330 − 295 = 35) shows an unmeasured osmotically active substance. Toxic alcohols raise both gaps. Ethylene glycol (antifreeze, sweet tasting) is metabolised by alcohol dehydrogenase to glycolic and oxalic acids. Oxalate binds calcium, forming calcium oxalate crystals in the urine and kidneys, causing acute kidney injury and sometimes hypocalcaemia. Methanol is metabolised to formic acid, which damages the optic nerve and causes blindness rather than crystals. Treatment for both is fomepizole (or ethanol) to block alcohol dehydrogenase, bicarbonate, and haemodialysis.
Toxic alcohols
- Raise anion gap and osmolar gap
- Ethylene glycol: oxalate crystals, AKI
- Methanol: formic acid, blindness
- Treat: fomepizole, dialysis
Remember Antifreeze crystallises in the kidney; methanol blinds.
Exam trap Ethanol raises the osmolar gap too, but alone it does not cause a severe high anion gap acidosis.
Why the other options are wrong
- Methanol Methanol raises both gaps but causes visual loss, not oxalate crystals.
- Salicylate Salicylate raises the anion gap but not the osmolar gap significantly, and gives an early respiratory alkalosis.
- Ethanol alone Ethanol raises the osmolar gap but does not cause this acidosis or crystals.
- Paracetamol Paracetamol causes liver injury; it does not produce this picture.
Two days after a massive transfusion for a ruptured spleen, a ventilated man with normal renal function has pH 7.52, PaCO₂ 5.3 kPa (40 mmHg) and HCO₃⁻ 34 mmol/L. Nasogastric drainage is minimal. What is the most likely cause?
Answer: Liver conversion of citrate to bicarbonate
Stored blood and plasma contain citrate as an anticoagulant. During rapid transfusion, citrate binds calcium and can cause hypocalcaemia; later, once the circulation and liver recover, each citrate is metabolised to bicarbonate. The result, a day or two afterwards, is a metabolic alkalosis. Here PaCO₂ is normal, so the problem is metabolic, and nasogastric losses are minimal.
Citrate load
- Stored blood contains citrate
- Early: low ionised calcium
- Later: citrate metabolised to HCO₃⁻
- Result: metabolic alkalosis
Remember Massive transfusion: low calcium early, alkalosis later.
Exam trap An early acidosis in the bleeding patient can turn into an alkalosis once citrate is metabolised.
Why the other options are wrong
- Loss of gastric acid by nasogastric tube Drainage is minimal, so acid loss is small.
- Over-ventilation on the ventilator PaCO₂ is normal, so there is no respiratory alkalosis.
- Lactic acid from hypoperfusion Lactic acidosis lowers bicarbonate.
- Large volumes of 0.9% saline Saline causes a hyperchloraemic acidosis.
A 24-year-old man brought to emergency after a heroin overdose is breathing 6 times a minute. Blood gas: pH 7.18, PaCO₂ 70 mmHg (9.3 kPa), HCO₃⁻ 27 mmol/L. Which of the following buffers takes up most of the extra acid in this first hour?
Answer: Haemoglobin and intracellular proteins
In acute respiratory acidosis the acid being added is carbonic acid itself, and the bicarbonate system cannot buffer its own acid. Almost all buffering is therefore done by non-bicarbonate buffers, chiefly haemoglobin in red cells and intracellular proteins. As these take up H⁺, carbonic acid dissociation is pulled forward and plasma bicarbonate rises by only about 1 mmol/L for each 10 mmHg rise in PaCO₂. Renal compensation by ammonium and titratable acid takes 3–5 days, and bone buffering matters mainly in chronic metabolic acidosis.
Acute respiratory acidosis
- Added acid is carbonic acid
- Buffered by haemoglobin and cell proteins
- HCO₃⁻ rises only 1 per 10 mmHg
- Kidneys need 3–5 days
Remember A bicarbonate buffer cannot buffer CO₂.
Exam trap Expect only a small bicarbonate rise in acute hypercapnia; a large rise means the hypercapnia is chronic.
Why the other options are wrong
- Plasma bicarbonate and carbonic acid Bicarbonate cannot buffer carbonic acid, the very acid being added.
- Renal phosphate as titratable acid Renal responses take days, not an hour.
- Renal ammonia and ammonium Ammonia production rises only over 3–5 days.
- Bone carbonate and phosphate Bone buffering is slow and mainly in chronic metabolic acidosis.
A diabetic woman in emergency has deep sighing breaths, bicarbonate 8 mmol/L and PaCO₂ 20 mmHg (2.7 kPa). What is her arterial pH?
Answer: 7.22
By the Henderson–Hasselbalch equation, pH = 6.1 + log (HCO₃⁻ ÷ (0.03 × PaCO₂)). Here 0.03 × 20 = 0.6, and 8 ÷ 0.6 is about 13.3; log 13.3 is about 1.12, so pH is about 7.22. The normal ratio is 20:1 (24 ÷ 1.2), which gives 7.40. Her hyperventilation halves the PaCO₂ and limits the fall in pH, and by Winter's formula (1.5 × 8 + 8 = 20 ± 2) this compensation is appropriate.
Henderson–Hasselbalch
- pH = 6.1 + log (HCO₃⁻ ÷ 0.03 × PaCO₂)
- Normal ratio 20:1 gives 7.40
- pH depends on the ratio, not either value alone
- Winter: expected PaCO₂ = 1.5 × HCO₃⁻ + 8
Remember pH follows the bicarbonate to CO₂ ratio.
Exam trap Convert kPa to mmHg (multiply by 7.5) before using the factor 0.03; with kPa the factor is 0.23.
Why the other options are wrong
- 7.02 Needs a ratio of about 8:1, as if PaCO₂ were about 33 mmHg.
- 7.12 Needs a ratio of about 10:1.
- 7.32 Needs a ratio of about 17:1.
- 7.40 Needs the normal 20:1 ratio; compensation is never complete.
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.