Anion Gap Calculator
Find the serum anion gap.
Result
How it is calculated
The tool subtracts the two main measured anions from the main measured cation: AG = Na − (Cl + HCO₃). Na is serum sodium, Cl is serum chloride and HCO₃ is serum bicarbonate, all in mEq/L (the same numeric value as mmol/L for these monovalent ions). Potassium is not included. The result is rounded to one decimal and labelled Low if below 8, Normal from 8 to 12 inclusive, and High above 12. Labs use different analysers and reference ranges, so treat these cut-offs as a rule of thumb and compare against your own laboratory's range.
Worked example
Take Na = 140, Cl = 100 and HCO₃ = 15 mEq/L. First add the measured anions: 100 + 15 = 115. Then subtract from sodium: 140 − 115 = 25. The tool shows 25.0 mEq/L with the status High, because 25 is well above 12. A gap this size with a low bicarbonate points toward unmeasured acids being present.
Common mistakes
- Adding potassium to the formula. This tool uses the version without K⁺; mixing versions shifts the result by about 4 and changes the reference range.
- Entering bicarbonate from a blood gas and chloride from a different draw or time point; the three values should come from the same sample.
- Mixing units, for example entering sodium in mg/dL. All three fields expect mEq/L (mmol/L).
- Ignoring low albumin. Low albumin lowers the true gap, so a result that looks normal can hide a real elevation.
- Treating the label as a diagnosis. It only classifies the number; interpretation depends on the clinical picture.
Sources
- Serum anion gap: its uses and limitations in clinical medicine — Clin J Am Soc Nephrol, 2007
About this calculator
This calculator works out the serum anion gap, a quick lab math check using the formula AG = Na⁺ − (Cl⁻ + HCO₃⁻). It measures the difference between the routinely reported cation and anions in a basic metabolic panel, which normally sits in a narrow reference range.
Clinicians, ER staff, and nursing students use it to classify metabolic acidosis as high-anion-gap (think diabetic ketoacidosis, lactic acidosis, or toxic ingestions) versus normal-anion-gap (like diarrhea or renal tubular acidosis). It's one of the first calculations run when a basic metabolic panel comes back abnormal.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The tool flags a gap above 12 as high and below 8 as low, but laboratories use their own reference ranges, and they differ with the analyser. Potassium is not part of this formula, and low albumin can hide a raised gap because albumin carries most of the unmeasured anions. For sodium, chloride and bicarbonate, mEq/L and mmol/L are the same number. A clinician interprets the result. Would an albumin-corrected gap be useful to you?