Electrolyte Calculator
Health & fitnessFreeNo sign-up
One set of electrolytes gives several useful numbers. With Na 140, Cl 104 and HCO₃ 24, the anion gap is 12 mEq/L. Add albumin, calcium, glucose and BUN to get the corrected gap, corrected calcium and serum osmolality.
| Anion gap | |
| Anion gap Na − (Cl + HCO₃) | 12 mEq/L (often 8 to 12) |
| Anion gap with potassium | 16 mEq/L |
| Albumin-corrected anion gap | 12 mEq/L |
| Calcium | |
| Corrected calcium | 9.5 mg/dL |
| Osmolality | |
| Calculated serum osmolality | 290.6 mOsm/kg (about 275 to 295) |
Show steps
- Anion gap = 140 − (104 + 24) = 12 mEq/L.
- Corrected AG = AG + 2.5 × (4 − albumin) = 12.
- Corrected calcium = Ca + 0.8 × (4 − albumin) = 9.5 mg/dL.
- Osmolality = 2 × Na + glucose ÷ 18 + BUN ÷ 2.8 = 290.6.
Formulas
- Anion gap = Na − (Cl + HCO₃); some labs add K.
- Albumin-corrected anion gap = AG + 2.5 × (4 − albumin).
- Corrected calcium = Ca + 0.8 × (4 − albumin).
- Serum osmolality = 2 × Na + glucose ÷ 18 + BUN ÷ 2.8.
- Osmolal gap = measured − calculated osmolality.
Interpreting the anion gap
A high gap with low bicarbonate suggests an anion-gap metabolic acidosis (for example ketoacidosis, lactic acidosis, kidney failure or toxins). Low albumin hides a high gap, which is why the corrected value matters.
Reference ranges
Anion gap is often about 8 to 12 mEq/L without potassium, and osmolality about 275 to 295 mOsm/kg, but ranges vary by lab.
Electrolyte Calculator quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
Quiz complete
Frequently asked questions
What is a normal anion gap?
Often 8 to 12 mEq/L, but check your lab's range.
Why correct for albumin?
Albumin is the main unmeasured anion; low albumin lowers the gap and can hide acidosis.
Should potassium be included?
Some labs include it; the calculator shows both.
Is this a diagnosis?
No. It is a learning and reference tool.
Is there a separate anion gap calculator?
Yes; this page combines several electrolyte calculations.
Sources
Related calculators
More health & fitness calculators
Related to This Article
More math articles
- Sodium Correction Calculator
- How to Study Math Effectively in College?
- 10 Most Common FTCE Math Questions
- FREE CLEP College Math Practice Test
- 5th Grade PSSA Math Practice Test Questions
- The Centroid and Its Role in Triangles
- Alabama ACAP Algebra 1 Free Worksheets: 64 Printable PDFs with Step-by-Step Answer Keys
- ASWB First vs Next Questions: Read the Decision the Item Asks For (2027 Prep)
- The Best Grade 8 ELA Practice Tests for Arizona Students
- 8th Grade GMAS Math Worksheets: FREE & Printable


What people say about "Electrolyte Calculator - Effortless Math"?
No one replied yet.