Health

Anion Gap Calculator

Live

Anion Gap with subject-specific controls, reviewable intermediate detail, and private browser processing.

About Anion Gap Calculator

Anion Gap with subject-specific controls, reviewable intermediate detail, and private browser processing. Enter sodium, chloride, bicarbonate, include potassium, potassium in a purpose-built anion gap calculator interface designed for this subject. The selected anion-gap equation is applied to entered laboratory values. The result includes anion gap, formula, components, supporting detail, and clear units or diagnostics. Educational calculation only; use the validated clinical context and qualified professional interpretation. Processing stays in your browser, and UtilityPages does not store the values you enter.

Set up Anion Gap Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter sodium.

Enter chloride.

Enter bicarbonate.

Enter include potassium.

Enter potassium.

Anion Gap Calculator result

Enter the values above, then calculate to see a detailed result.

How Anion Gap Calculator works

The selected anion-gap equation is applied to entered laboratory values.

How it works

The selected anion-gap equation is applied to entered laboratory values. Educational calculation only; use the validated clinical context and qualified professional interpretation.

Examples

Anion Gap Calculator worked example

Example input
{
    "sodium": 140,
    "chloride": 103,
    "bicarbonate": 24,
    "include_potassium": "no",
    "potassium": 4.1
}
Expected result
{
    "anion_gap": 13,
    "formula": "Na − (Cl + HCO₃)",
    "components": [
        {
            "component": "Sodium",
            "value": 140
        },
        {
            "component": "Chloride",
            "value": 103
        },
        {
            "component": "Bicarbonate",
            "value": 24
        }
    ]
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. Health topics

Frequently asked questions

How does the Anion Gap Calculator work?

The selected anion-gap equation is applied to entered laboratory values.

What information should I enter?

Enter sodium, chloride, bicarbonate, include potassium, potassium. Use values and units from the same scenario so the result is internally consistent.

What results does this tool provide?

It reports anion gap, formula, components, including intermediate context where it helps you review the answer.

What limitations should I know about?

Educational calculation only; use the validated clinical context and qualified professional interpretation.