Blood pH: The Acid–Base Balancing Act

Your blood is held at a pH of 7.40, and it is allowed to wander only between 7.35 and 7.45 — a band narrower than the width of a hair. Stray far outside it and enzymes stop working, the heart loses its rhythm, and below about 6.8 or above 7.8 you die. Two organs guard that number on two different clocks: the lungs defend it in minutes by exhaling CO₂ (an acid gas), and the kidneys defend it over hours to days by dumping H⁺ and rebuilding bicarbonate. Press play, then break the balance and watch both defenders scramble.

Try this: start on Normal, then drag Breathing rate down to 6 and watch CO₂ climb and pH slide below 7.35 until the alarm trips — then shove it up to 30 and blow the acid straight back off.

Diagram is illustrative — not to scale.
CO + HO ⇌ HCOH + HCO carbonic anhydrase (CA) SAFE 7.35–7.45 pH METER 7.75 7.6 7.5 7.4 7.3 7.2 7.0 6.85 ALKALOSIS ACIDOSIS 7.40 urine LUNGS blow off CO₂ — acts in minutes BLOOD bicarbonate buffer KIDNEY TUBULE excrete H⁺, rebuild HCO₃⁻ acts over hours–days CO₂↑ H⁺↓ HCO₃⁻↑ CO₂ from tissues →

Live blood-gas readout

Blood pH
7.40
safe band 7.35–7.45 · arterial
pCO₂ · lungs
40
mmHg · normal 35–45
HCO₃⁻ · kidney
24
mmol/L · normal 22–26
Breathing rate
14
breaths / min
Balanced — pH 7.40, everything in range.

pH over time

7.45 7.35 7.7 7.0 blood pH vs time →

What's happening

Resting balance: CO₂ is exhaled by the lungs, spare H⁺ is trimmed by the kidneys, and the bicarbonate buffer soaks up the rest. Blood pH holds at 7.40.
CO₂ (acid gas) H⁺ (acid) HCO₃⁻ (buffer base)

Real numbers: pH, pCO₂ (mmHg) and HCO₃⁻ (mmol/L) are true arterial reference values, and the pH is computed live from the real Henderson–Hasselbalch equation (pH = 6.1 + log[HCO₃⁻ ÷ (0.03 × pCO₂)]). Illustrative: the timescale is compressed — the lungs really answer in minutes and the kidneys in hours to days; here you see both in seconds.


The Science in Plain Language

The number that is not allowed to move

Almost nothing in your body is regulated as tightly as blood acidity. The normal arterial pH is 7.40, and the whole permitted range is 7.35 to 7.45. That is a swing of one-tenth of a pH unit — and because pH is a logarithmic scale, even that tiny range spans a real change in the number of free hydrogen ions (H⁺) floating in your blood. Why the fanaticism? Because every protein in you — the enzymes that run metabolism, the channels that fire your heart, the hemoglobin that carries oxygen — is a folded shape held together partly by charged groups. Change the acidity and those charges shift, the shapes distort, and the machinery jams. Below roughly 6.8 or above 7.8, sustained, is generally not survivable.

The hero of the story: the bicarbonate buffer

The front-line defense is a chemical seesaw called the bicarbonate buffer:

CO₂ + H₂O ⇌ H₂CO₃ ⇌ H⁺ + HCO₃⁻

Read it left to right: carbon dioxide plus water makes carbonic acid, which splits into a hydrogen ion (the actual acid) and a bicarbonate ion (a base that mops acid back up). The double arrows mean it runs both ways and settles wherever it is pushed. Add acid to the blood and the reaction slides left, bicarbonate grabs the extra H⁺ and turns it into CO₂ you can breathe away. Add base and it slides right. An enzyme called carbonic anhydrase — one of the fastest enzymes known, cranking through millions of reactions per second — makes the CO₂/water step nearly instantaneous inside red blood cells and kidney tubule cells. In healthy blood, bicarbonate outnumbers dissolved CO₂ by about 20 to 1, and it is that exact ratio — not the absolute amounts — that fixes the pH at 7.40.

Two organs, two clocks

A buffer can only hide acid; it can't remove it from the body. That job belongs to two organs working on completely different timescales. The lungs are the fast defender: by breathing faster or slower they change how much CO₂ — an acid — you blow off, and they can shift blood pH within minutes. The kidneys are the slow, thorough defender: they actually excrete hydrogen ions into the urine and manufacture fresh bicarbonate to replace what was used, but they take hours to days to make a full adjustment. Fast-but-limited plus slow-but-powerful is a deliberate design: the lungs buy time while the kidneys do the heavy lifting.

The lungs: CO₂ is an acid you can exhale

Here is the idea most people never connect: carbon dioxide is an acid. Every time CO₂ meets water it becomes carbonic acid and releases H⁺. So the simple act of breathing is continuous acid disposal. The brainstem senses blood CO₂ and pH and sets your breathing rate to match. If acid builds up — say from exercise or diabetic ketoacidosis — you automatically breathe deeper and faster to dump more CO₂ and drag pH back up. That deep, sighing, air-hungry pattern has a name: Kussmaul respiration, and it is a classic bedside sign of a severe metabolic acid load. Turn the animation's breathing-rate slider yourself and you'll see the mechanism in reverse: slow the breathing and CO₂ piles up and pH falls; speed it up and CO₂ is blown off and pH rises.

The kidneys: the acid janitors

The lungs can only handle the volatile acid (CO₂). All the fixed acids your metabolism makes — sulfuric and phosphoric acid from breaking down protein, roughly 50–100 milli-equivalents of acid a day on a normal diet — have to leave in the urine, and only the kidney can do that. Tubule cells pump H⁺ out into the forming urine (using proteins like the sodium–hydrogen exchanger and dedicated proton pumps), buffer it there with ammonia and phosphate so the urine doesn't become dangerously acidic, and for every H⁺ they excrete they send a brand-new bicarbonate ion back into the blood. This is why healthy urine is mildly acidic (around pH 6) and why the kidneys, given enough time, can compensate for almost any chronic acid–base challenge. The drug acetazolamide works by blocking carbonic anhydrase in the kidney, deliberately making you spill bicarbonate — useful in glaucoma and altitude sickness, and a neat proof that this machinery is real and druggable.

Reading a blood gas: pH, pCO₂, HCO₃⁻

When a clinician draws an arterial blood gas, they read exactly the three numbers on this page. pH (7.35–7.45) says which way the balance has tipped. pCO₂ (35–45 mmHg) is the lung number. HCO₃⁻ (22–26 mmol/L) is the kidney number. The logic is simple: a low pH is acidosis; if the CO₂ is high, the lungs are the culprit (respiratory acidosis), and if the bicarbonate is low, it's a metabolic problem (metabolic acidosis). A high pH is alkalosis, mirrored the same way. There is even a rule of thumb — Winter's formula — that predicts how far the lungs should drop CO₂ to compensate for a given fall in bicarbonate (expected pCO₂ ≈ 1.5 × HCO₃⁻ + 8). If the real CO₂ matches the prediction, the compensation is appropriate; if not, a second disorder is hiding.

When it breaks — four ways to lose the balance

The four scenario buttons are the four real disorders. Respiratory acidosis is under-breathing — a COPD flare, an opioid overdose, severe sleep apnea — where CO₂ can't get out and pH falls. Respiratory alkalosis is over-breathing — a panic attack, high altitude, aspirin toxicity — where too much CO₂ is blown off, pH rises, and the drop in ionized calcium at the nerves causes the classic tingling lips and fingers and hand cramps. Metabolic acidosis is acid pouring in faster than it can leave: in diabetic ketoacidosis the liver floods the blood with keto-acids, in shock or sepsis it's lactic acid. And metabolic alkalosis is losing acid — classically from prolonged vomiting, which pours stomach acid out the wrong end. In every case, watch the other organ try to compensate: switch off the kidneys in the animation and you'll see how much worse the uncompensated pH really is.

The myth: an “alkaline diet” changes your blood pH

You will see products — alkaline water, pH drops, “alkalizing” diets — promising to raise your blood pH to fight disease. Here is what is actually true: you cannot meaningfully change your blood pH with food or water. The bicarbonate buffer, the lungs and the kidneys defend 7.40 far too powerfully; anything you swallow is buffered and excreted long before it moves your arterial pH. What an alkaline diet can change is your urine pH — because the kidney is dumping the excess into the urine, which is exactly the point. That may modestly matter for a few specific things, like certain kidney-stone chemistries. But the marketing claim — that you are walking around “too acidic” and can drink your way to a healthier blood pH — is false. If your blood pH were truly 7.1, you would be in a hospital, not a wellness aisle.

Compensation is a trade, not a cure

One last honest point the animation makes plain. When the lungs compensate for a kidney problem, or the kidneys for a lung problem, they are not fixing anything — they are deliberately pushing their own number off-normal to drag the pH ratio back toward 20:1. In chronic respiratory acidosis the kidney runs bicarbonate high on purpose; in metabolic acidosis the lungs run CO₂ low on purpose. Compensation almost never returns pH all the way to 7.40 — it gets it close and buys survival — and the underlying cause still has to be treated. That is why the readout can show a “better” pH while the pCO₂ and HCO₃⁻ are both clearly abnormal: the body has chosen to trade two numbers to save the one that matters most.

↑ Back to the animation

Connections