Anion Gap Calculator: Do You Use Corrected Sodium?


Anion Gap Calculator: The Role of Corrected Sodium

A specialized tool to calculate the anion gap and clarify its relationship with sodium levels in hyperglycemia.



Enter the measured (lab) sodium value in mEq/L.


Unit: mEq/L.


Often listed as CO2 on a basic metabolic panel. Unit: mEq/L.


Required to calculate corrected sodium. Unit: mg/dL.


For a more accurate anion gap if albumin is low. Unit: g/dL.

What Does “Do You Use Corrected Sodium to Calculate Anion Gap” Mean?

This question addresses a critical point of confusion in medical diagnostics, particularly when a patient has high blood sugar (hyperglycemia). The anion gap is a vital measurement used to identify the cause of metabolic acidosis. However, high glucose levels create an osmotic effect that pulls water into the bloodstream, diluting the measured sodium concentration. A “corrected sodium” formula exists to estimate what the sodium level would be without this dilution. The core question is whether this estimated sodium or the actual, measured sodium should be used in the anion gap formula. The overwhelming clinical consensus is that the **measured sodium must be used.**

The Correct Anion Gap Formula and Explanation

The anion gap is the difference between the primary measured cation (Sodium) and the primary measured anions (Chloride and Bicarbonate). It represents the concentration of unmeasured anions in the blood, such as albumin, phosphate, and organic acids.

Primary Anion Gap Formula:

Anion Gap = [Na⁺] - ([Cl⁻] + [HCO₃⁻])

You should **not** substitute corrected sodium into this formula. The reason is that hyperglycemia dilutes all electrolytes, not just sodium. The dilutional effect on chloride and bicarbonate effectively cancels out the effect on sodium, meaning the gap remains accurate when using the measured values. Using corrected sodium would artificially inflate the anion gap and could lead to a misdiagnosis. For more information, you might want to learn about the Delta Gap Calculation.

Corrected Sodium Formula (For Hydration Assessment Only):

Corrected Na⁺ = Measured Na⁺ + (1.6 * ([Glucose] - 100) / 100)

This formula is useful for assessing a patient’s true hydration status, but not for the anion gap.

Variables Table

Variables used in anion gap and corrected sodium calculations.
Variable Meaning Unit Typical Range
[Na⁺] Serum Sodium mEq/L 136 – 146
[Cl⁻] Serum Chloride mEq/L 95 – 105
[HCO₃⁻] Serum Bicarbonate mEq/L 22 – 28
Glucose Serum Glucose mg/dL 70 – 100
Albumin Serum Albumin g/dL 3.5 – 5.5

Practical Examples

Example 1: Patient with Diabetic Ketoacidosis (DKA)

A patient presents with high blood sugar and acidosis. Their lab results are:

  • Inputs: Measured Na⁺ = 128 mEq/L, Cl⁻ = 95 mEq/L, HCO₃⁻ = 10 mEq/L, Glucose = 600 mg/dL.
  • Correct Calculation: Anion Gap = 128 – (95 + 10) = 23 mEq/L. This is a high anion gap, correctly indicating ketoacidosis.
  • Incorrect Calculation:
    • First, find corrected sodium: 128 + (1.6 * (600 – 100) / 100) = 128 + 8 = 136 mEq/L.
    • Then, incorrectly calculate AG: 136 – (95 + 10) = 31 mEq/L. This falsely elevates the gap, potentially altering clinical judgment.

Example 2: Patient with Normal Glucose

A patient with normal blood sugar presents with an unknown acidosis.

  • Inputs: Measured Na⁺ = 140 mEq/L, Cl⁻ = 102 mEq/L, HCO₃⁻ = 15 mEq/L, Glucose = 90 mg/dL.
  • Result: Anion Gap = 140 – (102 + 15) = 23 mEq/L. This indicates a high anion gap metabolic acidosis. As the glucose is normal, there’s no need to calculate a corrected sodium, and there is no debate about which value to use. This makes understanding metabolic acidosis simpler.

How to Use This Anion Gap Calculator

Follow these steps to correctly determine the anion gap and understand the role of corrected sodium.

  1. Enter Measured Lab Values: Input the patient’s serum sodium, chloride, bicarbonate, and glucose from their lab report.
  2. (Optional) Add Albumin: If the patient is known to have low albumin, enter the value for a more precise result.
  3. Calculate: Click the “Calculate” button.
  4. Interpret the Results:
    • The Primary Result is the clinically correct anion gap.
    • Compare this to the hypothetical anion gap calculated with corrected sodium to see the difference.
    • The interpretation will tell you if the gap is normal, high, or low. Understanding the serum osmolality gap can also be helpful here.

Key Factors That Affect Anion Gap

The anion gap can be elevated, normal, or, rarely, low. Here are the main factors influencing it:

  • High Anion Gap Causes (MUDPILES): Methanol, Uremia, Diabetic Ketoacidosis, Propylene glycol, Isoniazid/Iron, Lactic acidosis, Ethylene glycol, Salicylates. These conditions introduce unmeasured anions into the blood.
  • Normal Anion Gap Causes: Usually caused by a loss of bicarbonate (e.g., severe diarrhea, renal tubular acidosis). The body compensates by increasing chloride, so the gap remains normal.
  • Low Anion Gap Causes: The most common cause is low albumin (hypoalbuminemia), as albumin is a major unmeasured anion.
  • Hyperglycemia: As discussed, this doesn’t directly change the true anion gap but complicates the measurement of sodium, leading to the “do you use corrected sodium” debate.
  • Lab Errors: Inaccurate measurement of Sodium, Chloride, or Bicarbonate will directly lead to an incorrect anion gap calculation.
  • Multiple Myeloma: Can cause a low anion gap due to the presence of cationic paraproteins. The topic is complex, but a Winters’ Formula calculator might provide additional insight into respiratory compensation.

Frequently Asked Questions (FAQ)

1. So, to be clear, should I use corrected sodium to calculate anion gap?

No. Always use the measured sodium from the lab report. The corrected sodium value is for evaluating hydration status, not for calculating the anion gap.

2. What is a normal anion gap?

A typical normal range is 8-12 mEq/L, although it can vary slightly between labs. Our calculator uses this standard range for interpretation.

3. Why does high blood sugar lower my measured sodium?

High glucose in the blood is osmotically active, meaning it pulls water from inside your cells into your bloodstream. This extra water dilutes the sodium, lowering its concentration.

4. What does a high anion gap mean?

It means there is an excess of unmeasured acidic compounds in your blood, a condition known as high anion gap metabolic acidosis. This requires medical investigation to find the underlying cause (like DKA or lactic acidosis).

5. Why is it important to correct the anion gap for albumin?

Albumin is a major unmeasured anion. If a patient has low albumin, their baseline anion gap will be lower. This can mask a true high anion gap acidosis. Correcting for albumin provides a more accurate picture in these patients.

6. Can this calculator diagnose a medical condition?

No. This tool is for educational and informational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment from a qualified healthcare provider.

7. What is the difference between this and a fractional excretion of sodium (FENa) calculator?

This calculator assesses acid-base balance. The FENa calculator assesses kidney function and the cause of acute kidney injury by analyzing how the kidneys handle sodium.

8. What does the chart/visualizer show?

It illustrates the principle of electroneutrality. The bar for sodium (the main positive ion) should be equal in “length” to the combined bars of chloride, bicarbonate (main negative ions), and the calculated anion gap (the remaining unmeasured negative ions).

Related Tools and Internal Resources

For a comprehensive assessment of patient electrolytes and acid-base status, consider these related calculators:

© 2026. This calculator is for educational purposes only and is not a substitute for professional medical advice.



Leave a Reply

Your email address will not be published. Required fields are marked *