Electrolyte Difference Calculator

ED = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻)

The electrolyte difference measures the net balance between measured cations and anions in your blood. It helps identify acid-base disturbances and guides the workup for metabolic disorders. Enter your electrolyte values below for instant results.

Calculate Now ↓ Learn More

Calculate Your Electrolyte Difference

Enter your electrolyte values to get instant results with clinical interpretation and visual feedback.

Electrolyte Values

All values in mEq/L (mmol/L)

Results

Enter values and click Calculate to see your results

Electrolyte Difference Formula

A straightforward measure of the balance between measured cations and anions in the blood.

Primary Formula

ED = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻)

This formula sums the two major measured cations (sodium and potassium) and subtracts the two major measured anions (chloride and bicarbonate). The resulting difference represents the unmeasured anion pool in the blood.

Component Breakdown

Cations − Anions = Unmeasured Anions

The cation side includes sodium (~140 mEq/L) and potassium (~4 mEq/L). The anion side includes chloride (~104 mEq/L) and bicarbonate (~24 mEq/L). The difference (~16 mEq/L) represents albumin, phosphate, sulfate, and organic acids.

Step-by-Step Calculation

1
Get your lab values. You need serum sodium (Na⁺), potassium (K⁺), chloride (Cl⁻), and bicarbonate (HCO₃⁻) from a basic metabolic panel.
2
Add the cations. Sum sodium and potassium: 140 + 4 = 144 mEq/L.
3
Add the anions. Sum chloride and bicarbonate: 104 + 24 = 128 mEq/L.
4
Subtract. Cations minus anions: 144 − 128 = 16 mEq/L. This is the electrolyte difference.

Live Calculation Preview

Updates in real-time as you change values in the calculator above.

What is the Electrolyte Difference?

A calculated value that reveals the hidden balance of charged particles in your blood.

Definition

The electrolyte difference (ED) quantifies the gap between measured cations and measured anions in the serum. In a healthy individual, this gap is filled by unmeasured anions — primarily albumin, phosphate, sulfate, and organic acids.

Because the body maintains strict electrical neutrality, total positive charges always equal total negative charges. The ED exposes what the standard lab panel doesn't directly measure.

Clinical Importance

Clinicians use the electrolyte difference to detect metabolic acidosis and distinguish between causes. A rising ED signals accumulating unmeasured acids (lactate, ketoacids, toxins). A stable ED with acidosis points to chloride-related problems like diarrhea or renal tubular acidosis.

Na⁺ (Sodium)
K⁺ (Potassium)
Cl⁻ (Chloride)
HCO₃⁻ (Bicarbonate)
Electrolyte Difference

Electrolyte Difference Normal Range

Normal values and what they mean for clinical interpretation.

ElectrolyteSymbolNormal RangeUnitRole
SodiumNa⁺136 – 145mEq/LPrimary measured cation
PotassiumK⁺3.5 – 5.0mEq/LSecondary measured cation
ChlorideCl⁻98 – 106mEq/LPrimary measured anion
BicarbonateHCO₃⁻22 – 28mEq/LAcid-base buffer anion
Electrolyte DifferenceED10 – 20mEq/L(Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻)

Where Does Your ED Fall?

This gauge shows your current electrolyte difference. Change the values above to see the needle move.

Electrolyte Difference Interpretation

What different electrolyte difference values mean and what conditions to consider.

🔴

High Electrolyte Difference

ED > 20 mEq/L
  • Diabetic ketoacidosis (DKA)
  • Lactic acidosis (sepsis, shock)
  • Renal failure (uremia)
  • Toxic alcohol ingestion
  • Salicylate overdose
  • Starvation ketoacidosis
🟢

Normal Electrolyte Difference

ED 10–20 mEq/L
  • Normal electrolyte balance
  • If acidosis present, consider non-gap causes
  • Diarrhea (GI bicarbonate loss)
  • Renal tubular acidosis (RTA)
  • Normal saline overload
  • Carbonic anhydrase inhibitors
🔵

Low Electrolyte Difference

ED < 10 mEq/L
  • Hypoalbuminemia (most common)
  • Multiple myeloma (IgG)
  • Lithium toxicity
  • Bromide ingestion (lab artifact)
  • Hypercalcemia
  • Hypermagnesemia

Clinical Applications

When and why clinicians calculate the electrolyte difference.

Key Indications

  • Metabolic acidosis workup — The electrolyte difference is the first step in narrowing the cause of a low bicarbonate.
  • ICU monitoring — Serial ED measurements help track treatment response in critically ill patients.
  • Diabetic emergencies — Monitoring the ED during DKA treatment tracks whether ketoacid production is slowing.
  • Sepsis and shock — Lactic acidosis from poor perfusion shows up as a rising electrolyte difference.
  • Toxicology workup — Toxic ingestions (methanol, ethylene glycol) cause a high ED.
  • Renal failure monitoring — As kidney function declines, unmeasured anions accumulate and the ED rises.

Frequently Asked Questions

Answers to common questions about the electrolyte difference.

The electrolyte difference (ED) is the net difference between the major measured cations (sodium + potassium) and the major measured anions (chloride + bicarbonate): ED = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻). It represents the unmeasured anion pool in the blood, which includes albumin, phosphate, sulfate, and organic acids. Normal ED is 10–20 mEq/L.
The electrolyte difference is essentially the corrected anion gap that includes potassium. The standard anion gap uses only sodium: AG = Na⁺ − (Cl⁻ + HCO₃⁻). The ED adds potassium to the cation side: ED = (Na⁺ + K⁺) − (Cl⁻ + HCO₃⁻). Because potassium is small and tightly regulated (~4 mEq/L), the ED is typically about 4 mEq/L higher than the standard AG.
A high ED indicates accumulation of unmeasured anions. Common causes include lactic acidosis (the most common cause), diabetic ketoacidosis, renal failure, and toxic ingestions (methanol, ethylene glycol, salicylates). The MUDPILES mnemonic helps recall these causes: Methanol, Uremia, DKA, Propylene glycol, Isoniazid/Iron, Lactic acidosis, Ethylene glycol, Salicylates.
The normal electrolyte difference is 10–20 mEq/L. This is slightly higher than the standard anion gap (8–12 mEq/L) because potassium is included in the cation sum. The normal range assumes normal serum albumin of about 4 g/dL. Low albumin can artificially lower the ED.
Calculate the electrolyte difference whenever you suspect an acid-base disorder, especially metabolic acidosis. It's particularly useful during ICU monitoring, DKA management, sepsis workup, and when evaluating altered mental status that could be due to toxic ingestion. Serial measurements help track treatment response.
The ED includes four electrolytes from the basic metabolic panel: Sodium (Na⁺) and Potassium (K⁺) as cations, and Chloride (Cl⁻) and Bicarbonate (HCO₃⁻) as anions. Other ions like calcium, magnesium, phosphate, and albumin are not directly measured in this calculation but contribute to the "gap" that the ED represents.