Chapter 25 · Fluid, electrolyte and acid–base balance · Topic 147

Acid–base disorders and compensation

A&P IIHomeostasisInterdependence of systemsInteractive lesson

An arterial blood gas tells you, in three numbers, whether a patient's acid–base balance has failed, which end of the system failed, and how far the other end has responded. This page teaches ABG interpretation step by step. It starts with what the three numbers mean, then covers the four primary acid–base disorders and their causes, how the lungs and kidneys compensate, and how to read a blood gas in five steps, with worked examples you can check yourself against.

The arterial blood gas

A paramedic brings in a man found unresponsive with slow, shallow breathing. A nurse draws blood from his radial artery into a heparinized syringe, and within two minutes the analyzer prints his arterial blood gas (ABG): the pH, carbon dioxide, oxygen and bicarbonate of his arterial blood. Arterial blood is used because it has just left the lungs, so it shows how well the lungs are working, and it is the same everywhere in the arterial tree.

Three of the numbers carry the acid–base story:

The fourth number, PaO2 (normal about 80 to 100 mm Hg), tells you about oxygenation, not acid–base balance. You read it separately.

From the last topic, pH follows the ratio of bicarbonate to dissolved carbon dioxide:

pH = 6.1 + log ( HCO3− ÷ (0.03 × PaCO2) )

So pH can fall for only two reasons: PaCO2 goes up, or bicarbonate goes down. And it can rise for only two reasons: PaCO2 goes down, or bicarbonate goes up. Those four possibilities are the four primary disorders.

The four primary disorders

An acid–base disorder is named for two things: which way it pushes pH, and which number changed first.

One pattern makes them easy to tell apart. In a respiratory disorder, pH and PaCO2 move in opposite directions: PaCO2 up, pH down. In a metabolic disorder, pH and bicarbonate move in the same direction: bicarbonate down, pH down. (Students remember this as "ROME": respiratory opposite, metabolic equal.)

Respiratory acidosisRespiratory alkalosisMetabolic acidosisMetabolic alkalosis
Primary changePaCO2 up (above 45)PaCO2 down (below 35)HCO3− down (below 22)HCO3− up (above 26)
pHDownUpDownUp
Underlying causeHypoventilationHyperventilationFixed acid gained, or bicarbonate lostAcid lost, or bicarbonate gained
Compensating changeHCO3− upHCO3− downPaCO2 downPaCO2 up
Who compensatesKidneys, over 3 to 5 daysKidneys, over 3 to 5 daysLungs, within minutes to hoursLungs, within minutes to hours
Common causesOpioid or sedative overdose, COPD, weak breathing muscles, airway obstructionAnxiety, pain, fever, high altitude, early pneumonia or asthmaDiabetic ketoacidosis, lactic acid in shock, kidney failure, severe diarrheaVomiting, stomach suction, diuretics, excess aldosterone
Typical signsDrowsiness, headache, confusionLightheadedness, tingling, hand spasmsDeep, fast breathing; confusionSlow, shallow breathing; tingling, cramps

Respiratory acidosis

The man with slow, shallow breathing took too much of an opioid painkiller. Opioids depress the respiratory centers, so his alveolar ventilation fell far below his carbon dioxide production. Carbon dioxide built up, and his blood grew acidic.

Respiratory acidosis is a fall in pH caused by a rise in PaCO2 above 45 mm Hg, from hypoventilation. Anything that reduces alveolar ventilation can cause it:

High carbon dioxide dilates the brain's arterioles and depresses the nervous system: headache, drowsiness, confusion and, if PaCO2 keeps climbing, coma.

The kidneys respond, slowly

The lungs cannot fix a problem that the lungs are causing, so the correction falls to the kidneys. The high PaCO2 reaches tubule cells, which make more H+, secrete more of it and make more ammonium. Each H+ excreted adds a new bicarbonate to the blood. Bicarbonate rises, the ratio moves back toward 20, and pH rises toward normal. This takes 3 to 5 days to reach full effect.

That is why doctors distinguish two forms:

Oxygen and carbon dioxide retention in COPD

In the control of breathing you met people with severe COPD whose PaCO2 rises further when they are given a lot of oxygen. The better-supported explanation is that oxygen worsens ventilation–perfusion mismatch, by reversing hypoxic pulmonary vasoconstriction, and that the Haldane effect lets the blood hold less carbon dioxide at the same PaCO2. A lost "hypoxic drive" plays at most a small part. The result is a worse respiratory acidosis, so oxygen is given to a target saturation, often 88 to 92%, while breathing is watched. It is never withheld from a person who is hypoxic.

Respiratory alkalosis

A 22-year-old sits in the emergency department after a panic attack, breathing fast and deep. Her lips and fingers tingle and her hands have cramped into claws.

Respiratory alkalosis is a rise in pH caused by a fall in PaCO2 below 35 mm Hg, from hyperventilation. Causes include:

Her symptoms follow from the chain you met in the control of breathing. Low carbon dioxide constricts the brain's arterioles, so she feels lightheaded. In alkalemia, more calcium binds to albumin, free calcium falls, and nerves and muscles fire too easily: tingling and the cramping spasms of the hands and feet.

The kidneys respond by secreting less H+, reclaiming less bicarbonate and letting type B intercalated cells excrete it. Over several days, bicarbonate falls to match the lower PaCO2. You met this as acclimatization at high altitude. A panic attack, over in minutes, is too short for the kidneys to act.

Metabolic acidosis

Metabolic acidosis is a fall in pH caused by a fall in bicarbonate below 22 mmol/L. Bicarbonate can fall in two ways:

The anion gap

A blood test can tell these two apart. Plasma must carry as much negative charge as positive, but a routine test measures only the main ions. The anion gap is the difference between the main measured cation and the main measured anions:

anion gap = Na+ − (Cl− + HCO3−)

It is not a real gap in charge. It stands for the anions the test does not measure, mostly albumin, plus phosphate, sulfate and organic anions. With most modern analyzers it is normally about 8 to 12 mmol/L.

Worked example 1: a normal anion gap

Problem. Plasma Na+ is 140, Cl− 104 and HCO3− 24 mmol/L. What is the anion gap?

  1. Add the measured anions. 104 + 24 = 128 mmol/L.
  2. Subtract from sodium. 140 − 128 = 12 mmol/L.

Answer. 12 mmol/L: normal. The unmeasured anions make up the difference.

Now think about what happens to the gap in each kind of metabolic acidosis:

Worked example 2: two patients with low bicarbonate

Problem. Patient 1: Na+ 134, Cl− 98, HCO3− 5. Patient 2: Na+ 137, Cl− 112, HCO3− 15. Which one has gained acid, and which has lost bicarbonate?

  1. Patient 1. 134 − (98 + 5) = 134 − 103 = 31 mmol/L. High.
  2. Patient 2. 137 − (112 + 15) = 137 − 127 = 10 mmol/L. Normal, with a high chloride.
  3. Interpret. In Patient 1, an unmeasured anion has replaced bicarbonate: an acid has been added. In Patient 2, chloride has replaced bicarbonate: bicarbonate has been lost.

Answer. Patient 1 has gained acid (a high anion gap metabolic acidosis; he turns out to have diabetic ketoacidosis). Patient 2 has lost bicarbonate (a normal anion gap metabolic acidosis; she has had three days of severe diarrhea).

Diabetic ketoacidosis

Diabetic ketoacidosis (DKA) is a common and dangerous metabolic acidosis, and the leading cause of death in children and young adults with type 1 diabetes. It happens when insulin is nearly absent, as in untreated or undertreated type 1 diabetes, often set off by an infection or missed insulin doses. You met its pieces in the metabolism and endocrine chapters. Here they come together:

  1. With almost no insulin, lipolysis runs unchecked, and glucagon stays high.
  2. The liver turns the flood of fatty acids into ketone bodies, far faster than other tissues can burn them.
  3. Acetoacetate and beta-hydroxybutyrate release hydrogen ions. Bicarbonate is used up buffering them, and the ketone body anions raise the anion gap.
  4. Glucose is also very high. The glucose spilling into the urine holds water with it, so the patient passes large volumes of urine, loses water, sodium and potassium, and becomes badly dehydrated.
  5. The fall in pH drives deep, fast breathing, and acetone, a ketone body that is breathed out, gives the breath a fruity smell.

DKA is diagnosed from three findings: a blood glucose of 200 mg/dL (11.1 mmol/L) or more, or known diabetes, because DKA can occur at near-normal glucose; beta-hydroxybutyrate of 3.0 mmol/L or more; and a metabolic acidosis, with pH below 7.30 or bicarbonate below 18 mmol/L. Potassium needs care. Lack of insulin, and the high glucose that draws water, and potassium with it, out of cells, let potassium move into the plasma. So plasma potassium is often normal or high at first, even though the body has lost a lot of it in the urine. When insulin treatment starts, potassium moves back into cells, and plasma potassium can fall dangerously. That is why fluids, insulin and potassium are given together.

Lactic acidosis

In shock or severe sepsis, tissues get too little oxygen and turn to anaerobic metabolism. They release hydrogen ions and lactate faster than the liver and other tissues can clear them. As you met in Foundations, the H+ comes from splitting glucose and spending the ATP it yields; lactate is the anion that raises the gap, and it is also a fuel the body normally burns. A high blood lactate is a sign of poor tissue perfusion.

How the lungs compensate

Metabolic acidosis lowers arterial pH, and the carotid bodies respond within minutes. Breathing becomes deeper and faster, PaCO2 falls, and the ratio moves back toward 20. In severe acidosis this deep, sighing breathing is called Kussmaul breathing, after Adolf Kussmaul, the German physician who described it in people dying of diabetes in 1874. It reaches full effect in 12 to 24 hours.

Effects of acidemia

Severe acidemia depresses the nervous system (confusion, drowsiness, coma), weakens the heart's contractions, dilates arterioles and makes the heart prone to abnormal rhythms. It can also shift potassium out of cells, especially when the acid is a mineral acid rather than a ketone body or lactic acid, so plasma potassium rises. Figure 1 sets out the symptoms of acidosis beside those of alkalosis.

A drawing of a human head and torso with the brain, heart, lungs, ribs, muscles of one arm and the intestines shown. Text on the left lists symptoms of acidosis: central nervous system (headache, sleepiness, confusion, loss of consciousness, coma), respiratory system (shortness of breath, coughing), heart (arrhythmia, increased heart rate), muscular system (seizures, weakness) and digestive system (nausea, vomiting, diarrhea). Text on the right lists symptoms of alkalosis: central nervous system (confusion, light-headedness, stupor, coma), peripheral nervous system (hand tremor, numbness or tingling in the face, hands or feet), muscular system (twitching, prolonged spasms) and digestive system (nausea, vomiting).
Figure 1. Symptoms of acidosis (left) and alkalosis (right). Acidosis mainly depresses the nervous system; alkalosis makes nerves and muscles too excitable. The figure lists seizures under the muscular system, but seizures start in the brain. OpenStax Anatomy and Physiology 2e, Figure 26.18, openstax.org, CC BY 4.0.

Metabolic alkalosis

Metabolic alkalosis is a rise in pH caused by a rise in bicarbonate above 26 mmol/L. Bicarbonate can rise because acid is lost or because base is added:

Why the kidneys do not simply excrete the extra bicarbonate

Healthy kidneys can excrete bicarbonate fast. So a metabolic alkalosis that lasts means something is stopping them. Vomiting shows three such things at once:

  1. Volume loss. The fluid lost lowers blood volume. Angiotensin II speeds the sodium–hydrogen exchanger in the proximal tubule, so more bicarbonate is reclaimed, and aldosterone speeds H+ secretion in the collecting duct.
  2. Chloride loss. Vomit is rich in hydrochloric acid, so plasma chloride falls (hypochloremia). Type B intercalated cells secrete bicarbonate in exchange for chloride, and with little chloride in the tubular fluid they cannot excrete much.
  3. Potassium loss. Potassium is lost in vomit and, under aldosterone, in urine. Low potassium itself speeds H+ secretion and ammonium production.

This is why these patients are treated with salt water (normal saline) and potassium chloride. Once volume, chloride and potassium are replaced, the kidneys excrete the extra bicarbonate within a day or two.

How the lungs compensate

A higher pH slows breathing, and PaCO2 rises to match the higher bicarbonate. This compensation is limited: breathing less also lowers PaO2, and once it falls far enough the carotid bodies drive breathing back up. PaCO2 rarely climbs above about 55 mm Hg.

Alkalemia makes nerves and muscles excitable, through the fall in free calcium: tingling, cramps, twitching and, if severe, abnormal heart rhythms, made worse by the low potassium that so often comes with it.

Compensation

Compensation is the response of the system that did not cause the disorder: it changes its own number in the direction that moves the ratio back toward 20. The rule is simple. The compensating number moves in the same direction as the primary number.

If both went down, or both went up, the ratio can return toward 20 even though neither number is normal.

Respiratory compensationRenal compensation
Compensates forMetabolic acidosis and metabolic alkalosisRespiratory acidosis and respiratory alkalosis
Number it changesPaCO2HCO3−
MechanismChemoreceptors change ventilationTubule cells change H+ secretion, ammonium production and bicarbonate reclaim
StartsWithin minutesWithin hours
Full effect12 to 24 hours3 to 5 days
Main limitSlowing breathing lowers PaO2; faster breathing tiresNeeds working kidneys and time

Clinicians grade how far compensation has gone:

Compensation is not a cure. The primary number stays abnormal until the cause is treated: the opioid reversed, the insulin given, the vomiting stopped.

ABG interpretation step by step

Every blood gas can be read with the same five steps. Work through them in order, every time.

  1. pH. Below 7.35 is acidemia; above 7.45 is alkalemia. If it is within range, note which side of 7.40 it sits.
  2. PaCO2. Above 45 pushes toward acid; below 35 pushes toward alkaline.
  3. HCO3−. Below 22 pushes toward acid; above 26 pushes toward alkaline.
  4. Primary disorder. Whichever number pushes the same way as the pH caused the disorder. PaCO2 means respiratory; HCO3− means metabolic.
  5. Compensation. If the other number is normal, the disorder is uncompensated. If it has moved in the same direction as the primary number, compensation is under way: partial if the pH is still abnormal, full if it is back in range.

For a metabolic acidosis, add one more step: calculate the anion gap to tell acid gain from bicarbonate loss.

1. pH < 7.35 acid · > 7.45 alkaline 2. PaCO2 > 45 acid · < 35 alkaline 3. HCO3− < 22 acid · > 26 alkaline 4. Which number matches the pH? PaCO2 → respiratory · HCO3− → metabolic other number normal: uncompensated same direction, pH abnormal: partially same direction, pH normal: fully 5. compensation
Figure 2. Reading a blood gas in five steps. Dashed arrows show the order to work in.

Each worked example below uses real-looking values. You can check any of them with the Henderson–Hasselbalch equation: the pH printed always matches the other two numbers.

Worked example 3: the opioid overdose

ABG. pH 7.26, PaCO2 60 mm Hg, HCO3− 26 mmol/L.

  1. pH 7.26: below 7.35, acidemia.
  2. PaCO2 60: above 45, pushing toward acid.
  3. HCO3− 26: within 22 to 26, normal.
  4. Primary. PaCO2 matches the acidemia: respiratory acidosis.
  5. Compensation. Bicarbonate is normal, so the kidneys have not responded yet: uncompensated.
  6. Check. 26 ÷ (0.03 × 60) = 26 ÷ 1.8 = 14.4; log 14.4 = 1.16; 6.1 + 1.16 = 7.26.

Answer. Uncompensated (acute) respiratory acidosis, from hypoventilation.

Worked example 4: severe COPD

ABG. pH 7.34, PaCO2 60 mm Hg, HCO3− 31 mmol/L.

  1. pH 7.34: just below 7.35, acidemia.
  2. PaCO2 60: high, pushing toward acid.
  3. HCO3− 31: high, pushing toward alkaline.
  4. Primary. Only PaCO2 matches the acidemia: respiratory acidosis.
  5. Compensation. Bicarbonate has risen in the same direction as PaCO2, and pH is still just outside the range: partially compensated.
  6. Check. 31 ÷ 1.8 = 17.2; log 17.2 = 1.24; pH = 7.34.

Answer. Partially compensated (chronic) respiratory acidosis. Compare it with Worked example 3: the same PaCO2, but days of kidney work have raised bicarbonate by 5 mmol/L and pH from 7.26 to 7.34.

Worked example 5: diabetic ketoacidosis

ABG. pH 7.12, PaCO2 16 mm Hg, HCO3− 5 mmol/L. Na+ 134, Cl− 98 mmol/L.

  1. pH 7.12: severe acidemia.
  2. PaCO2 16: very low, pushing toward alkaline.
  3. HCO3− 5: very low, pushing toward acid.
  4. Primary. Bicarbonate matches the acidemia: metabolic acidosis.
  5. Compensation. PaCO2 has fallen in the same direction as bicarbonate, but pH is still low: partially compensated. This is her Kussmaul breathing.
  6. Anion gap. 134 − (98 + 5) = 31: high. An acid has been added.
  7. Check. 5 ÷ (0.03 × 16) = 5 ÷ 0.48 = 10.4; log 10.4 = 1.02; pH = 7.12.

Answer. Partially compensated high anion gap metabolic acidosis: with high glucose and ketone bodies, diabetic ketoacidosis.

Worked example 6: three days of vomiting

ABG. pH 7.50, PaCO2 48 mm Hg, HCO3− 36 mmol/L.

  1. pH 7.50: alkalemia.
  2. PaCO2 48: high, pushing toward acid.
  3. HCO3− 36: high, pushing toward alkaline.
  4. Primary. Bicarbonate matches the alkalemia: metabolic alkalosis.
  5. Compensation. PaCO2 has risen with bicarbonate, and pH is still high: partially compensated.
  6. Check. 36 ÷ (0.03 × 48) = 36 ÷ 1.44 = 25; log 25 = 1.4; pH = 7.50.

Answer. Partially compensated metabolic alkalosis, from loss of stomach acid.

Worked example 7: a panic attack

ABG. pH 7.52, PaCO2 28 mm Hg, HCO3− 22 mmol/L.

  1. pH 7.52: alkalemia.
  2. PaCO2 28: low, pushing toward alkaline.
  3. HCO3− 22: at the bottom of normal.
  4. Primary. PaCO2 matches the alkalemia: respiratory alkalosis.
  5. Compensation. Bicarbonate is still within the normal range: uncompensated. (Buffers release a little H+ within minutes, which is why it has dipped from 24 to 22, but the kidneys have not yet acted.)
  6. Check. 22 ÷ (0.03 × 28) = 22 ÷ 0.84 = 26.2; log 26.2 = 1.42; pH = 7.52.

Answer. Uncompensated (acute) respiratory alkalosis.

Worked example 8: three weeks at altitude

ABG. pH 7.44, PaCO2 32 mm Hg, HCO3− 21 mmol/L.

  1. pH 7.44: within range, on the alkaline side of 7.40.
  2. PaCO2 32: low, pushing toward alkaline.
  3. HCO3− 21: low, pushing toward acid.
  4. Primary. PaCO2 matches the alkaline side: respiratory alkalosis.
  5. Compensation. Bicarbonate has fallen with PaCO2, and the pH is back in range: fully compensated.
  6. Check. 21 ÷ 0.96 = 21.9; log 21.9 = 1.34; pH = 7.44.

Answer. Fully compensated respiratory alkalosis: the kidneys' bicarbonate loss during acclimatization.

Worked example 9: severe diarrhea

ABG. pH 7.31, PaCO2 31 mm Hg, HCO3− 15 mmol/L. Na+ 137, Cl− 112 mmol/L.

  1. pH 7.31: acidemia.
  2. PaCO2 31: low, pushing toward alkaline.
  3. HCO3− 15: low, pushing toward acid.
  4. Primary. Bicarbonate matches the acidemia: metabolic acidosis.
  5. Compensation. PaCO2 has fallen with bicarbonate, pH still low: partially compensated.
  6. Anion gap. 137 − (112 + 15) = 10: normal, with a high chloride. Bicarbonate has been lost.

Answer. Partially compensated normal anion gap metabolic acidosis, from bicarbonate lost in stool.

When two disorders happen at once

A man collapses in cardiac arrest. During the resuscitation, his ABG reads pH 7.11, PaCO2 55 mm Hg, HCO3− 17 mmol/L. Step 2 says PaCO2 pushes toward acid; step 3 says bicarbonate pushes toward acid too. The numbers themselves have moved in opposite directions, PaCO2 up and bicarbonate down, which compensation never does. He has two primary disorders: a respiratory acidosis, because he is not breathing well, and a metabolic acidosis, from lactic acid made by tissues without enough blood flow. Together they drive the pH far lower than either would alone.

That gives you a quick check on every gas: if PaCO2 and bicarbonate have moved in opposite directions, or if one has moved far more or less than compensation would explain, look for a second disorder. Aspirin poisoning is another classic: it stimulates the respiratory centers (a respiratory alkalosis) while its acid adds a high anion gap metabolic acidosis.

Putting it together

Read the pH first, then ask which number explains it. A high PaCO2 from hypoventilation causes respiratory acidosis; a low PaCO2 from hyperventilation causes respiratory alkalosis. A low bicarbonate, from acid gained or bicarbonate lost, causes metabolic acidosis, and the anion gap tells you which. A high bicarbonate, most often from vomiting or diuretics and kept up by volume, chloride and potassium loss, causes metabolic alkalosis. The other system compensates by moving its own number in the same direction as the primary one: the lungs within hours, the kidneys over days. Compensation narrows the gap but does not remove the cause.