Anion Gap Calculator
Anion Gap Calculator
Calculates the serum anion gap from sodium, chloride, and bicarbonate.
This calculator provides an estimate from the inputs and formula shown on this page. It is for informational use and is not a diagnosis or a substitute for advice from a qualified health professional.
Anion Gap
Anion Gap calculator: the job and the audience
Anion Gap Calculator is a checking tool, not a clinic. A lab, an ultrasound, or a licensed clinician can still use another convention. What you get here is a transparent run of AG = Na⁺ − (Cl⁻ + HCO₃⁻).
The demo uses sodium of 140 mmol/L, chloride of 104 mmol/L, bicarbonate of 24 mmol/L and lands on 12 mmol/L. Overwrite the demo with values from a scale, a report, or a wearable you actually have.
The search intent is educational health-math estimate.
Related searches
People also search anion gap formula, how to calculate anion gap, educational health-math estimate. Those queries still map to this model: AG = Na⁺ − (Cl⁻ + HCO₃⁻).
How to fill the Anion Gap calculator
Each control below is a real variable in AG = Na⁺ − (Cl⁻ + HCO₃⁻). If a unit is already printed, do not convert it again. The sample is a walkthrough, not a clinical target.
Sodium
Sodium is a serum value in the unit on the label. Wrong units (µmol vs mg/dL) wreck renal and electrolyte identities. The sample uses 140 mmol/L. Overwrite it when your chart or scale does not look like the demo.
Chloride
Chloride is a serum value in the unit on the label. Wrong units (µmol vs mg/dL) wreck renal and electrolyte identities. The sample uses 104 mmol/L. Overwrite it when your chart or scale does not look like the demo.
Bicarbonate
Bicarbonate is a serum value in the unit on the label. Wrong units (µmol vs mg/dL) wreck renal and electrolyte identities. The sample uses 24 mmol/L. Overwrite it when your chart or scale does not look like the demo.
Step-by-step anion gap example
The identity on this page is AG = Na⁺ − (Cl⁻ + HCO₃⁻). Walk the sample once, then change a single field.
Step 1. Enter sodium as 140 mmol/L. That is the default shipped with this anion gap calculator so you can see a finished headline before you touch anything.
Step 2. Enter chloride as 104 mmol/L. That is the default shipped with this anion gap calculator so you can see a finished headline before you touch anything.
Step 3. Enter bicarbonate as 24 mmol/L. That is the default shipped with this anion gap calculator so you can see a finished headline before you touch anything.
Result. The engine prints 12 mmol/L. That number is what the form at the top of this page is wired to show for those inputs — not a diagnosis and not a training prescription.
The identity behind this anion gap calculator
On the Anion Gap Calculator, the engine applies AG = Na⁺ − (Cl⁻ + HCO₃⁻) to sodium, chloride, bicarbonate. The slug is anion-gap.
Health identities fail when units are mixed or when a screening number is treated as a diagnosis.
Two honest ways to break this formula: mix metric and imperial, or treat a percent as a decimal. Recalculate after you fix the unit. If the headline still looks absurd, this may be the wrong tool.
Practical scenarios
This page is written for adults who want a transparent health-math identity who need an anion gap number they can audit.
Run the sample, then your chart numbers. If both headlines look reasonable, you probably have the right identity.
Change only one field when you compare two days or two lab draws. Changing three things at once hides which input moved the result.
Come back when one input changes — a new weight, a new A1C, a new set. Re-running the same demo teaches you nothing.
Mistakes that wreck a anion gap estimate
- Mixing units, or treating a screening estimate as a diagnosis.
- Treating this anion gap calculator as medical advice, a prescription, or a reason to start or stop a medicine. It is an educational estimate from the numbers you typed.
Continue on CalculatorWeb
Internal links here are editorial, not a dump of the whole Health library. Start with BMI Calculator if you still have a missing piece.
- BMI Calculator — keep the same measurements if you just finished the anion gap run.
- TDEE Calculator — keep the same measurements if you just finished the anion gap run.
- Protein Calculator — keep the same measurements if you just finished the anion gap run.
- Calorie Calculator — keep the same measurements if you just finished the anion gap run.
Citations
Start with MedlinePlus laboratory tests if you need the public-health or handbook definition behind this anion gap question. This article cites that page; it does not replace clinical care.
Also useful: MedlinePlus. Same rule — primary source over a supplement ad.
Also useful: CDC. Same rule — primary source over a supplement ad.
FAQ
What does this anion gap calculator actually calculate?
It applies AG = Na⁺ − (Cl⁻ + HCO₃⁻) to the fields on this page. The large number is the headline. It does not examine you and it does not order labs.
Is the Anion Gap calculator free?
Yes. There is no signup wall on the tool. The shortcode stays on this URL.
Why is the sample result 12 mmol/L?
Those are the defaults shipped with the form so you can see a finished identity. They are not “typical” for your clinic, your sport, or your pregnancy.
How do I calculate anion gap by hand?
Use AG = Na⁺ − (Cl⁻ + HCO₃⁻) with the same units as the labels. Disagreement is usually mixed metric/imperial or a percent typed as a decimal.
Why would a clinic, lab, or wearable show a different number?
Different equation (Mifflin vs Harris-Benedict, Bazett vs Fridericia, eGFR vs CrCl), different units, or a pediatric chart. Official reports win.
Can I use 12 mmol/L as medical advice?
No. It is an educational estimate. A licensed clinician and the official lab or imaging still sit above it. Do not start, stop, or change treatment from this page.
How is this different from related CalculatorWeb tools?
This slug is one identity. If you need the neighboring question, open BMI Calculator and reuse the same measurements.
Does this anion gap calculator store my numbers?
The calculation runs in your browser from the fields on this page. Treat it like a notepad. If you need a record, print the inputs — do not paste lab values into random sites if you are worried about privacy.
What search terms should I use if I want this page again?
The focus phrase is anion gap calculator. People also search “how to calculate anion gap” and “anion gap formula.”
Educational estimate only. Not medical advice, not a diagnosis, and not a reason to start or stop treatment. For symptoms, pregnancy, abnormal labs, or medication decisions, use a qualified clinician. Formula review: 19 August 2026.
Anion Gap vs a clinic visit
A clinic has a history, an exam, and often a lab. This anion gap calculator has the identity AG = Na⁺ − (Cl⁻ + HCO₃⁻) and the fields you type. Use it as a checksum or a study aid. Do not use it to skip care when you have symptoms, pregnancy questions, chest pain, fainting, or an abnormal report.
Sensitivity: what moves the anion gap headline
Change one field at a time. Height errors wreck BMI and BSA. Activity factors wreck TDEE. Heart-rate errors wreck QTc. Write down the headline at the sample and at your actual numbers. Two numbers beat a single demo when you are about to message a clinician.
What this anion gap calculator is not
It is not a diagnosis, a prescription, a dosing protocol, contraception, or a reason to start or stop a medicine. It is not DXA, VO₂ max, or a sleep study. If another site asks for an email before it shows the same identity, that is a lead form. This page is the identity.
Review and method
The live calculator sits at the top of this URL only. Same inputs produce the same outputs. Last formula review: 19 August 2026. If you take the headline to a professional, take the input list and the units too.
A longer note on units and honesty
Every bad anion gap headline we see in testing has the same shape: mixed units, a demo field left in place, or the visitor wanted a different calculator because the names sounded close. Read the labels. Read the formula. Health math is YMYL: if this page is not the question you have, leave it and use the related URL — or a clinician.
When you stay, treat anion gap calculator as a working title for a single identity: “this is AG = Na⁺ − (Cl⁻ + HCO₃⁻) on these inputs,” not “the internet says I am healthy.”
How to talk about this anion gap number
If you paste the headline into a portal message or a group chat, send the inputs and the units with it. “AG = Na⁺ − (Cl⁻ + HCO₃⁻)” plus the fields is a complete sentence. The headline alone is not. Clinicians cannot audit a screenshot of a single number.
Round the way your lab or your coach rounds. This page may show extra decimals so you can see the identity work. Your clinic may report BMI to one decimal, A1C to one decimal, and heart rate as a whole number. Matching their convention avoids a fake disagreement.
Do not stack this anion gap calculator with a second internet tool and average the two headlines. If they disagree, one of you used another equation, another unit, or another age convention. Pick the identity you can name.