What Is an Anion Gap?

Indication of Acid-Base Balance in the Blood

Within the blood are electrically charged particles. An anion gap is the difference between the primary positively charged particles and the primary negatively charged particles, called cations (sodium Na+ and potassium K+) and anions (chloride Cl- and bicarbonate HCO3-). These charged particles contribute to a blood’s pH.

Our health is largely tied to the body’s ability to keep blood within a narrow pH range. A blood test called a serum anion gap test is used by healthcare providers to diagnose conditions caused by an imbalance between the acids and bases in the blood. The results are reported as part of a comprehensive metabolic panel.

The anion gap test, along with a physical exam, a focused history from the patient, and additional tests, helps healthcare professionals provide specific treatments, especially when patients present with a sudden illness such as altered mental status and acute renal failure.

Blood tests to be analyzed for anion gap
Yoshiyoshi Hirokawa / DigitalVision / Getty Images

Purpose of the Anion Gap Test

An anion gap test can help diagnose a metabolic acidosis, a life-threatening condition that occurs when your blood becomes too acidic. It can also detect an alkalosis, when your blood is not acidic enough. It is important to find the cause and treat it as soon as possible. 

Metabolic acidosis may be caused when:

  • Lactic acid builds up following vigorous exercise (lactic acidosis)
  • Ketones build up as a consequence of uncontrolled diabetes (diabetic ketoacidosis)
  • After ingestion of certain poisons such as methanol, aspirin overdose, or antifreeze
  • As a result of severe diarrhea (extreme loss of bicarbonate)
  • Due to medical conditions such as proximal renal tubular acidosis—a condition in which the kidneys do not reabsorb enough bicarbonate and therefore it is lost in the urine
  • As a result of severe dehydration


If you experience symptoms of an electrolyte imbalance such as fatigue, shortness of breath, nausea and vomiting, rapid heart rate, low blood pressure, or any combination of these then you might need this test. You should contact a healthcare professional immediately.

During the Test

The anion gap is not ordered as a separate test but is derived from the measurements of blood electrolytes. The test you will see ordered would be an electrolyte panel, basic metabolic panel (BMP), or comprehensive metabolic panel (CMP).

No specific preparation is needed before the test. It requires a venous blood draw, which may be done at bedside if you are in the hospital or emergency room. If you are ambulatory, you may be sent to the lab for a blood draw.

A healthcare professional uses a needle to draw a small sample of blood into a tube. The entire blood drawing process is usually less than five minutes long. The test is relatively safe. You may have slight pain or bruising at the injection site.

The tube of blood is then sent to the laboratory for analysis. The anion gap is calculated from the values obtained for the electrolytes.

The most common method of evaluation of metabolic acidosis involves the Henderson-Hasselbalch equation and the Lewis model interpretation of biological acidosis which evaluates the plasma concentration of hydrogen ions.

Interpreting Results

A high anion gap means you have more acid in your blood than normal. A low anion gap means you have a lower amount of acid in your blood than normal, but this result is uncommon and usually due to a lab error.

Although there are differences between laboratories and assays, the normal anion gap has traditionally been set between 8 mEq/L to 12 mEq/L, but there is a wide range of normal values—often 8 to 10 mEq/L—thus an increase in anion concentration can be present in the absence of an increased anion gap.

What to Ask Your Doctor

A low or high anion gap does not necessarily mean that you have a serious health problem. The normal range varies from person to person so make sure you ask your doctor to interpret the results of the test for you. 


Correcting the underlying cause of the high anion gap metabolic acidosis is the primary way to mitigate potential serious health consequences.

In mild to moderate acidosis, treatment could be limited to supportive measures such as giving intravenous (IV) fluids and respiratory support. Alkalization therapy should be reserved for those individuals with severe acidosis (pH less than 7.1 and bicarbonate less than 6 mEq/L). 

Was this page helpful?
Article Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. American Association of Clinical Chemistry. Electrolytes and anion gap. Updated September 5, 2019.

  2. Bianchetti DGAM, Amelio GS, Lava SAG, et al. D-lactic acidosis in humans: systematic literature reviewPediatr Nephrol. 2018;33(4):673-681. doi:10.1007/s00467-017-3844-8

  3. Kraut JA, Nagami GT. The serum anion gap in the evaluation of acid-base disorders: what are its limitations and can its effectiveness be improved?Clin J Am Soc Nephrol. 2013;8(11):2018-2024. doi:10.2215/CJN.04040413

  4. Ghauri SK, Javaeed A, Mustafa KJ, Podlasek A, Khan AS. Bicarbonate therapy for critically ill patients with metabolic acidosis: A systematic reviewCureus. 2019;11(3):e4297. doi:10.7759/cureus.4297