Launched on 6 October 2026Last updated on

Electrolytes and blood gases ABG: correction and dose calculators

The same electrolyte and blood gas calculators as the cardiac arrest code, for a patient with a pulse. The blood gas card reads the primary acid–base disorder, the expected compensation (Winter formula for metabolic acidosis), the albumin-corrected anion gap and delta ratio, and oxygenation (P/F ratio and A–a gradient). Each electrolyte card turns the entered value into its management: hyperkalaemia by severity and ECG changes (calcium, insulin–glucose, salbutamol, binders, dialysis), hypokalaemia with the KCl dose and rate limits for peripheral and central lines in mmol/h and mL/h, hypo- and hypermagnesaemia, hypo- and hypercalcaemia, sodium bicarbonate from the base deficit, and hypoglycaemia. The sodium card grades hyponatraemia (European 2014), gives the hypertonic saline boluses for symptoms, the expected change in Na⁺ from 1 L of each infusate (Adrogué–Madias), the 24-hour correction limits (10 mmol/L, 8 with a high osmotic demyelination risk) and how to re-lower after overcorrection; for hypernatraemia, the free water deficit and the glucose 5% rate. Abnormal values move to the top.

Upload a report, lab sheet or echo picture to fill this calculator automatically.

Electrolytes and blood gases: correction and dose calculators

Adult doses for a patient with a pulse; the same calculators as the cardiac arrest code. Enter what you have: the blood gas gives the acid–base disorder, anion gap and oxygenation, and each electrolyte card turns its value into the correction, the dose and the pump rate. Abnormal values move to the top. Check doses against your local protocol.

Patient and electrolytes
Laboratory or blood gas analyser values; leave blank what you do not have
Blood gas: acid–base calculatorABG
Arterial values (a venous pH is about 0.03 lower). The anion gap uses Na⁺, Cl⁻ and albumin from the card above

Enter pH, PaCO₂ and HCO₃⁻ for the acid–base disorder.

Venous gas: pH and HCO₃⁻ are close to arterial, PCO₂ about 4–6 mmHg higher and PO₂ not usable for oxygenation. Normal: pH 7.35–7.45, PaCO₂ 35–45 mmHg, HCO₃⁻ 22–26 mmol/L, BE −2 to +2. In pregnancy PaCO₂ is normally 28–32 mmHg.

Acidosis (hydrogen ion): sodium bicarbonate calculatorABG
8.4% = 1 mmol/mL · 4.2% = 0.5 mmol/mL · 1.26% = 0.15 mmol/mL

Enter the weight above.

  • Not routine in cardiac arrest
    AHA 2025 · ERC 2025
    Fix ventilation and perfusion first: most acidosis during CPR is respiratory and from low flow.
  • Cautions
    Flush the line before and after (inactivates catecholamines, precipitates with calcium). Causes hypernatraemia, hypokalaemia, lower ionised calcium and a rise in CO₂: increase ventilation.

Electrolytes and glucose

Hyperkalaemia
CKD, dialysis, DKA, rhabdomyolysis, RAAS inhibitors; peaked T, broad QRS, sine wave
Ca chloride 10%
10 mL
6.8 mmol
Ca gluconate 10%
30 mL
6.8 mmol
Insulin + glucose
10 U + 25 g
50 mL 50% · 250 mL 10%
  • 1. Calcium gluconate 10% 30 mL IV over 5–10 min
    UKKA 2023 · ERC 2021
    ECG changes present. Or calcium chloride 10% 10 mL via a large or central vein. Repeat every 5–10 min until the ECG normalises (effect lasts 30–60 min).
  • 2. Insulin 10 units + glucose 25 g IV over 15 min
    UKKA 2023
    Lowers K⁺ by 0.6–1.0 mmol/L within 30–60 min for 4–6 h. If glucose before treatment is < 7 mmol/L (126 mg/dL), follow with 10% glucose 50 mL/h for 5 h. Check glucose at 15, 30, 60, 90 and 120 min, then hourly to 6 h.
  • Salbutamol 10–20 mg nebulised
    UKKA 2023
    Adjunct to insulin–glucose (not alone); less effective with beta-blockers. Caution with tachyarrhythmia or ischaemic heart disease.
  • Remove K⁺ and stop the cause
    UKKA 2023
    Stop potassium supplements, RAAS inhibitors, MRAs, NSAIDs and trimethoprim. Sodium zirconium cyclosilicate 10 g three times daily or patiromer 8.4 g daily. Urgent dialysis for K⁺ ≥ 6.5 mmol/L that does not respond, or anuria. Recheck K⁺ at 1, 2, 4, 6 and 24 h.
  • Sodium bicarbonate
    UKKA 2023
    Only if metabolic acidosis (HCO₃⁻ < 22 mmol/L): 8.4% 50–100 mL or 1.26% 500 mL. It does not lower K⁺ on its own.
Hypokalaemia: potassium infusion calculator
Diuretics, vomiting, diarrhoea, insulin, beta-agonists; U waves, long QT, torsades
Pump rate
250 mL/h
10 mmol/h
Dose
40 mmol
over 4 h
Rough deficit
—
≈ 100 mmol per 0.3 below 4.0
  • Severe (K⁺ < 2.5 mmol/L or arrhythmia): KCl 40 mmol IV, then recheck
    Up to 20 mmol/h through a central line with continuous ECG monitoring; 10 mmol/h is the peripheral limit. Repeat 40 mmol doses guided by K⁺ every 2–4 h, and replace magnesium.

Never give KCl as an IV push outside arrest. Hypokalaemia that does not correct usually means low magnesium: replace both.

Magnesium: hypo- and hypermagnesaemia
Normal 1.7–2.4 mg/dL (0.7–1.0 mmol/L). MgSO₄ 1000 mg = 4 mmol = 2 mL of 50%
Hypomagnesaemia · < 1.7 mg/dL, severe < 1.0 mg/dL

Refractory VF, torsades, hypokalaemia or hypocalcaemia that will not correct; diuretics, PPIs, alcohol, diarrhoea

MgSO₄ arrest
2000 mg
8 mmol · 4 mL of 50%
MgSO₄
1000 mg
4 mmol · 2 mL of 50%
Over 24 h max
10 000 mg
40 mmol
  • Arrest with torsades or suspected low Mg²⁺: MgSO₄ 2000 mg (8 mmol) IV over 1–2 min
    ERC 2021
    Dilute 4 mL of 50% to 10 mL (20%). May repeat after 10–15 min. Not routine in other VF.
  • Peri-arrest (torsades, arrhythmia, symptomatic): MgSO₄ 2000 mg (8 mmol) IV over 10–15 min
    ERC 2021
    Then replace the deficit.
  • Severe or symptomatic, not peri-arrest: up to 10 000 mg (40 mmol) IV over 24 h
    BNF
    Diluted in 0.9% saline or 5% glucose; up to 40 000 mg (160 mmol) over 5 days. Halve the dose in kidney impairment (eGFR < 30) and check Mg²⁺ daily. Replace K⁺ and Ca²⁺ alongside.
Hypermagnesaemia · > 2.6 mg/dL (1.1 mmol/L)

MgSO₄ for pre-eclampsia, kidney failure, Mg laxatives or enemas. 4.9–8.5 mg/dL (2–3.5 mmol/L) hypotension, flushing; > 8.5 (3.5) loss of reflexes; > 12 (5) respiratory paralysis, heart block; > 18 (7.5) cardiac arrest

Ca chloride 10%
1000 mg
6.8 mmol · 10 mL (arrest)
Ca gluconate 10%
1000–2000 mg
2.2–4.5 mmol · 10–20 mL
Furosemide
40–80 mg
IV, after saline
  • Stop all magnesium (infusion, laxatives, antacids, enemas)
    RCOG · ACOG
    On MgSO₄ for pre-eclampsia: check reflexes, respiratory rate (≥ 12/min) and urine output (≥ 25 mL/h) before each hour of infusion.
  • Arrest or toxicity: calcium IV now
    ERC 2021
    Calcium chloride 10% 10 mL (1000 mg, 6.8 mmol) in arrest, or calcium gluconate 10% 10–20 mL (1000–2000 mg) over 5–10 min with a pulse; repeat as needed. Calcium antagonises magnesium at the membrane within minutes.
  • Remove it: 0.9% saline with furosemide; haemodialysis in kidney failure
    Dialysis for severe toxicity (respiratory depression, heart block) or when the kidneys cannot clear it. Support ventilation and pace for heart block until the level falls.
Calcium: hypo- and hypercalcaemia
Normal ionised 1.10–1.35 mmol/L; total 8.5–10.5 mg/dL (corrected for albumin). Ca chloride 10% 10 mL = 1000 mg = 6.8 mmol; Ca gluconate 10% 10 mL = 1000 mg = 2.2 mmol
Hypocalcaemia · ionised < 1.1 mmol/L, total < 8.5 mg/dL

Massive transfusion (citrate), CCB overdose, renal failure, hypoparathyroidism, pancreatitis, low Mg²⁺; long QT

Ca chloride 10%
10 mL
1000 mg · 6.8 mmol (arrest)
Ca gluconate 10%
10–20 mL
1000–2000 mg · 2.2–4.5 mmol
Infusion
100 mL
Ca gluconate 10% in 1 L at 50 mL/h
  • Arrest: calcium chloride 10% 10 mL (1000 mg, 6.8 mmol) IV push
    ERC 2021
    Repeat if needed. Flush the line: calcium precipitates with bicarbonate.
  • Symptomatic with a pulse: calcium gluconate 10% 10–20 mL (1000–2000 mg) over 10 min
    Society for Endocrinology 2016
    Then an infusion (100 mL of 10% in 1 L 0.9% saline or 5% glucose at 50 mL/h), keeping ionised Ca²⁺ > 1.1 mmol/L; massive transfusion: 10 mL calcium chloride per 4 units.
Hypercalcaemia · ionised > 1.35 mmol/L, total > 10.5 mg/dL

Malignancy, hyperparathyroidism, vitamin D, thiazides, lithium, immobility. Moderate 12–13.9 mg/dL; severe ≥ 14 mg/dL. Short QT, bradycardia, AV block, polyuria and dehydration

0.9% saline
1–2 L
then 200–300 mL/h
Calcitonin
4 IU/kg
IM / SC every 12 h
Zoledronic acid
4 mg
IV over 15 min
  • Rehydrate: 0.9% saline 1–2 L, then 200–300 mL/h
    Endocrine Society 2023
    Aim for urine 100–150 mL/h; watch for fluid overload in heart or kidney failure. Furosemide only after volume repletion, for overload. Stop calcium, vitamin D, thiazides and lithium; avoid digoxin (arrhythmias).
  • Lower it: calcitonin 4 IU/kg (works in 4–6 h) with zoledronic acid 4 mg IV (2–4 days)
    Endocrine Society 2023
    Or pamidronate 60–90 mg IV over 2–4 h. Kidney failure: denosumab 120 mg SC. Vitamin D excess or granulomatous disease: glucocorticoids.
  • Haemodialysis for severe hypercalcaemia with coma, arrhythmia or kidney failure
    Usually Ca ≥ 18 mg/dL (4.5 mmol/L) with neurological symptoms, or when saline cannot be given. Hypercalcaemic arrest is rare: standard ALS, with saline and dialysis after ROSC.
Hypoglycaemia
Glucose < 70 mg/dL (4.0 mmol/L); check a capillary or gas glucose in every arrest
25 g glucose
50 mL
of 50% (large vein)
25 g glucose
125 mL
of 20%
25 g glucose
250 mL
of 10%
  • In arrest: glucose 10% 250 mL rapid IV (25 g)
    ERC 2021 · AHA 2025
    Or 50% 50 mL into a large vein with a flush (extravasation causes necrosis). Recheck after 10 min.
  • With a pulse: glucose 10% 150–200 mL IV over 10–15 min (15–20 g)
    JBDS 2023
    Or 20% 75–100 mL. Recheck in 10 min and repeat up to 3 times; then 10% glucose 100 mL/h if the cause persists (sulfonylurea, insulin overdose, liver failure).
  • No IV access: glucagon 1 mg IM
    Not useful in arrest; less effective after alcohol, starvation or sulfonylurea. Octreotide 50 µg SC for sulfonylurea overdose.
  • Thiamine 100–500 mg IV in alcohol misuse or malnutrition
    Give with the glucose; never delay glucose for it.
Sodium: hyponatraemia and hypernatraemia
Uses Na⁺, weight and glucose from Patient and electrolytes above; Adrogué–Madias formula for each infusate
Total body water
Duration
Symptoms
High osmotic demyelination risk

Enter sodium (and the weight) in Patient and electrolytes above.

Print / Save PDF: opens the print dialog with a table of the inputs and result; choose Save as PDF to keep a file. Made on this device only; nothing is uploaded.