Arterial Blood Gas (ABG) & Serum Anion Gap Calculator
Interpret Arterial Blood Gas (ABG) acid-base disorders, calculate serum anion gap, and evaluate metabolic acidosis versus respiratory compensation.
Parameters & Inversions
Deterministic EngineCalculated Output Metrics
Analytical Proof & Invariants
Machine PrecisionSerum Anion Gap = [Na⁺] - ([Cl⁻] + [HCO₃⁻]) | Normal Reference = 8 to 12 mEq/L
Step-by-Step Mathematical Derivation
Blood pH = 7.30 (< 7.35 indicates acidemia). Bicarbonate HCO₃⁻ = 14 mEq/L (< 22 indicates metabolic driver).
Anion Gap = [Na⁺] - ([Cl⁻] + [HCO₃⁻]) = 140 - (102 + 14) = 140 - 116 = 24.0 mEq/L (Normal reference is 8 to 12 mEq/L).
Expected PaCO₂ = (1.5 × HCO₃⁻) + 8 ± 2 = (1.5 × 14) + 8 ± 2 = 21 + 8 ± 2 = 29 mmHg (range: 27 to 31 mmHg).
Because measured PaCO₂ (30 mmHg) matches Winter's formula (27-31 mmHg), the respiratory system is properly hyperventilating to blow off acidic CO₂ (compensating for primary High Anion Gap Metabolic Acidosis).
Artificial Intelligence & Prompt Integration
Paste this verified mathematical prompt directly into ChatGPT, Claude, or Gemini to eliminate arithmetic hallucination, or invoke the programmatic API endpoint for automated workflows.
Generating verified mathematical prompt...
llms.txt
✓ Exact Radical Form & Closed Formulas
✓ Machine-Readable Edge API