Introduction
An acid-base calculator helps you read and understand arterial blood gas (ABG) results. ABG tests measure three key values in your blood: pH, PaCO₂, and HCO₃⁻ (bicarbonate). These numbers tell doctors if your blood is too acidic, too alkaline, or just right. When one value is off, your body tries to fix it — this is called compensation.
This tool takes your ABG values and does the math for you. It finds the primary disorder, checks if compensation is appropriate, and flags possible mixed acid-base disorders. If you turn on the anion gap option, it also calculates the anion gap, applies an albumin correction, and runs a delta-delta analysis to look for hidden problems. Every result comes with a step-by-step breakdown so you can see exactly how each number was found.
Enter your pH, PaCO₂, and HCO₃⁻ below. You can switch between US units (mmHg, mEq/L) and SI units (kPa, mmol/L) at any time. Choose acute or chronic respiratory mode, or let the calculator show both. Then press Calculate to get your full acid-base interpretation in seconds.
How to Use Our Acid Base Calculator
Enter your arterial blood gas (ABG) values and electrolyte levels below. The calculator will identify the primary acid-base disorder, check if compensation is appropriate, compute the anion gap, and flag any mixed disorders.
Unit System: Choose US Units (mmHg, mEq/L, g/dL) or SI Units (kPa, mmol/L, g/L). The calculator will convert your values automatically if you switch.
pH: Enter the arterial blood pH from your ABG report. The normal range is 7.35 to 7.45. For a deeper look at how pH is calculated from hydrogen ion concentration, see our pH Calculator.
PaCO₂: Enter the partial pressure of carbon dioxide. The normal range is 35 to 45 mmHg (or 4.7 to 6.0 kPa in SI units).
HCO₃⁻: Enter the bicarbonate level. The normal range is 22 to 26 mEq/L.
Respiratory Mode: Select "Assume Acute" for sudden onset, "Assume Chronic" for long-term conditions, or "Auto — Show Both" if you are unsure. This setting controls which compensation formulas are applied.
Include Anion Gap Analysis: Turn this switch on to calculate the anion gap and delta-delta ratio. Turn it off if you only need the basic ABG interpretation. For a standalone anion gap tool, try our Anion Gap Calculator.
Na⁺: Enter the sodium level. The normal range is 135 to 145 mEq/L. This value is needed for the anion gap calculation.
Cl⁻: Enter the chloride level. The normal range is 100 to 110 mEq/L. This value is also needed for the anion gap calculation.
Albumin: Enter the serum albumin level. The normal range is 3.5 to 5.0 g/dL. This is used to correct the anion gap in patients with low albumin. The albumin correction concept is similar to the adjustment used in our Corrected Calcium Calculator, where low albumin also affects lab interpretation.
Normal AG Baseline: Enter your lab's normal anion gap reference value. The default is 12. Change this number only if your lab uses a different baseline.
Press Calculate to see your results. Press Reset to clear all fields and start over.
What Is an Acid-Base (ABG) Calculator?
An acid-base calculator helps you figure out if the blood is too acidic, too alkaline, or just right. It uses numbers from a blood test called an arterial blood gas (ABG). Doctors take a small sample of blood from an artery, usually in the wrist, and measure three key values: pH, PaCO₂, and HCO₃⁻ (bicarbonate).
What Do the Values Mean?
pH tells you how acidic or alkaline the blood is. Normal blood pH is between 7.35 and 7.45. A pH below 7.35 means the blood is too acidic (called acidemia). A pH above 7.45 means the blood is too alkaline (called alkalemia). You can explore how pH relates to hydrogen ion concentration using our pH Calculator.
PaCO₂ is carbon dioxide in the blood. The lungs control this value. Normal is 35 to 45 mmHg. When CO₂ goes up, the blood becomes more acidic. When it drops, the blood becomes more alkaline.
HCO₃⁻ (bicarbonate) is a substance the kidneys control. Normal is 22 to 26 mEq/L. It acts as a buffer that helps keep pH steady. Low bicarbonate makes the blood more acidic. High bicarbonate makes it more alkaline.
The Four Main Acid-Base Disorders
- Metabolic acidosis — bicarbonate is too low, so the blood is acidic.
- Metabolic alkalosis — bicarbonate is too high, so the blood is alkaline.
- Respiratory acidosis — CO₂ is too high because the lungs are not removing enough of it.
- Respiratory alkalosis — CO₂ is too low because a person is breathing too fast.
Compensation and Mixed Disorders
The body always tries to fix pH on its own. If the lungs cause a problem, the kidneys try to help, and the other way around. This is called compensation. This calculator checks whether the compensation matches what is expected. If it does not match, a mixed disorder may be present, meaning more than one problem is happening at the same time.
What Is the Anion Gap?
The anion gap (AG) is a simple math formula: Na⁺ minus (Cl⁻ plus HCO₃⁻). It helps find the cause of metabolic acidosis. A high anion gap points to causes like kidney failure, diabetic ketoacidosis, or poisoning. You can assess kidney function with our GFR Calculator or Creatinine Clearance Calculator. A normal anion gap often points to bicarbonate loss, such as from diarrhea. Low albumin can hide a high anion gap, so this calculator also corrects for albumin levels. For a quick standalone check, you can also use our dedicated Anion Gap Calculator.
What Is the Delta-Delta Ratio?
The delta-delta ratio compares the change in the anion gap to the change in bicarbonate. It helps tell if a patient has just one type of metabolic acidosis or if a second hidden problem, like metabolic alkalosis, is also present. A ratio between 1.0 and 2.0 suggests a pure anion gap acidosis. Values outside that range suggest something extra is going on. If you need to work with ratios in other contexts, our Ratio Calculator can help. For additional lab value analysis, consider tools like the Serum Osmolality Calculator or Bun Creatinine Ratio Calculator, which are often evaluated alongside ABG results. You can also explore related chemistry concepts with our Molarity Calculator and Dilution Calculator.