Omni Calculator logo

Anion Gap Calculator

Created by Małgorzata Koperska, MD
Reviewed by Bogna Szyk and Steven Wooding
Last updated: Jan 16, 2024


This anion gap calculator helps you estimate the anion gap based on sodium (Na⁺), chloride (Cl⁻), and bicarbonate (HCO₃⁻) levels measured in blood serum.

In advanced mode, there is an option to input potassium (K⁺) and albumin levels to get a more accurate result or to see the anion gap corrected for albumin.

Read on to understand the anion gap calculation, learn what an anion gap is, and what a normal anion gap is.

If this is helpful to you, you might like our GFR calculator or the corrected calcium calculator.

🙋 Please note that this calculator estimates the anion gap for serum anions. Check out our urine anion gap calculator for urine anion gap.

What is anion gap?

In blood serum, the total number of cations (positive ions) should equal the total number of anions (negative ions), so the overall electrical charge is neutral.

However, routine tests do not measure all types of ions. The anion gap is the difference between the measured cations and anions. It represents how many ions are not accounted for by the lab measurements.

In medicine, anion gap calculation is required when attempting to identify the cause of acidosis, which is a lower-than-normal pH in the blood. It is usually calculated from sodium, chloride, and bicarbonate concentrations in the blood serum. Are you interested in learning the chemical names of chemical compounds or how to calculate them? Then visit our chemical name calculator to learn more.

How is the anion gap calculated?

Measuring electrolyte levels in the blood serum is necessary to estimate the anion gap.

  • Daily practice:
    It is the difference between the sodium (Na⁺) cations and chloride (Cl⁻) and bicarbonate (HCO₃⁻) anions:

    AG = [Na⁺] − ([Cl⁻] + [HCO₃⁻])

  • With potassium:
    Potassium concentrations are very low compared to other ions, so they're omitted from the standard calculation. You can find the result is more accurate when including potassium, though. Then, the equation looks like this:

    AG = [Na⁺] + [K⁺] − ([Cl⁻] + [HCO₃⁻])

What is a normal anion gap?

When potassium is omitted, the reference range is 3-11 mEq/L. When including potassium in the equation, it's 5-16 mEq/L.

Interpretation of the outcome:

  • High anion gap >11 mEq/L (or >16 mEq/L with potassium):

    A high anion gap indicates high anion gap acidosis, for example, lactic acidosis or ketoacidosis.

  • Normal anion gap 3-11 mEq/L (or 5-16 mEq/L with potassium):

    In patients with regular anion gap acidosis, the primary pathology is a drop in HCO₃⁻ and an increase of Cl⁻. It is called hyperchloremic acidosis.

  • Low anion gap — <3 mEq/L (or <5 mEq/L with potassium):

    Hypoalbuminemia frequently causes a low anion gap.

Why is anion gap corrected for albumin?

Low albumin levels (hypoalbuminemia), common in critically ill patients, can mask a mild elevation of the anion gap. For the correct interpretation of the anion gap, it is crucial to correct it for serum albumin with the Figge-Jabor-Kazda-Fencl equation:

Corrected AG = AG + 2.5 × ([Normal Albumin] - [Measured Albumin])

If you're interested to know more about the correction for albumin, read this article on NCBI.

Małgorzata Koperska, MD
Na⁺
mEq/L
Cl⁻
mEq/L
HCO₃⁻
mEq/L
Anion gap
mEq/L
In this case, the values in mEq/L are equal to those in mmol/L. If your results are in mmol/L, type in these values.
Check out 21 similar electrolytes & fluids calculators 🧪
Acid-baseArterial blood pHBicarbonate deficit… 18 more
People also viewed…

BMR - Harris-Benedict equation

Harris-Benedict calculator uses one of the three most popular BMR formulas. Knowing your BMR (basal metabolic weight) may help you make important decisions about your diet and lifestyle.

Ideal egg boiling

Quantum physicist's take on boiling the perfect egg. Includes times for quarter and half-boiled eggs.

Prescription refill

The prescription refill calculator will compute the needed days' supply and the date of your next refill.

Vitamin

The vitamin calculator displays dietary reference intake (DRI) for all vitamins, according to your age and sex.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service