
Discover how the kidneys and lungs work together to regulate the acidity of blood. Change bicarbonate and carbon dioxide in fictional examples, or explore how the body compensates for an acid–base disturbance.
Explore Arterial Blood pH
This is a teaching model using simulated values, not a personal blood gas interpreter.
A base regulated in part by the kidneys.
A measure of carbon dioxide regulated by breathing.
Try a Fictional Scenario
These examples specify the primary disturbance in advance. Arbitrary slider combinations cannot establish which disorder is primary.
Typical starting values
Metabolic acidosis
Metabolic alkalosis
Respiratory acidosis
Respiratory alkalosis
Custom slider combination
Guided Tour
Explore acid–base changes and compensation.
1. Start With the Usual Ratio
2. Reduce Bicarbonate
3. Explore Respiratory Compensation
4. Increase Carbon Dioxide
5. Explore Renal Compensation
Blood is more acidic than usual
Blood is more alkaline than usual
Blood pH is within the example range
How Bicarbonate and CO₂ Interact
Blood pH depends on the ratio of bicarbonate to dissolved carbon dioxide, rather than either value alone.
Effect of CO₂ at the Selected Bicarbonate Level
The curve keeps bicarbonate fixed; the marker shows your current combination. The shaded band represents arterial pH 7.35–7.45.
Knowledge Check
Test your understanding of the concepts explored in this simulator.
Your Progress
About This Model
The Henderson–Hasselbalch relationship is evaluated with standard approximate constants. Example values are rounded and selected for teaching. The display classifies pH rounded to two decimal places using the common adult arterial range of 7.35–7.45.
How the Body Compensates
The lungs adjust CO₂ through breathing, often within minutes. The kidneys adjust bicarbonate and acid excretion more slowly, over hours to days. Compensation tends to move pH toward its usual range; it does not remove the underlying cause.
| Primary disturbance | Primary change | Compensatory response |
|---|---|---|
| Metabolic acidosis | HCO₃⁻ decreases | PaCO₂ decreases |
| Metabolic alkalosis | HCO₃⁻ increases | PaCO₂ increases |
| Respiratory acidosis | PaCO₂ increases | HCO₃⁻ increases |
| Respiratory alkalosis | PaCO₂ decreases | HCO₃⁻ decreases |
In chronic kidney disease, impaired acid excretion can contribute to metabolic acidosis. Compensation may be limited by disease of the lungs or kidneys. A pH within range does not exclude an acid–base disorder.