Case A · Starting dextrose, then a fast fall
25 kg · 8 years · moderate DKA
Glucose is coming down on insulin. Practise starting dextrose and responding to a fall faster than 5 mmol/L/h.
Loading the calculation aid. JavaScript is required.
Compact view · Same patient, calculations, limits and log as Guided mode
Saline and potassium
Dextrose, saline and potassium
Regular insulin infusion
Enter a patient weight to calculate rates.
Enter only new measurements. Missing results show as — in the log.
Log current results to show the engine's recommendation.
The total fluid rate stays fixed; this changes the dextrose share.
Use the recommendation and confirm each suggested change.
Newest first · numbered by result time · — means not measured.
Compact view is a second interface to the same calculator. Verify every figure before acting on it; this is not an order set.
The two-bag method lets you adjust dextrose hour by hour without re-mixing fluids or changing the total rate.
Two bags run together into the same line. They are identical except for dextrose: same saline, same potassium. Bag A has no dextrose; bag B contains dextrose (D10, or D12.5 if your centre stocks it).
Shifting volume from bag A to bag B raises the dextrose the child receives; shifting it back lowers it. The total fluid, sodium and potassium stay the same, so you can respond to each glucose result without hanging a new bag or writing a new fluid order.
A third pump runs the insulin at a steady dose. Insulin clears the ketoacidosis; the bag ratio manages the glucose.
The steps below follow the order of care: confirm the diagnosis, set the fluid orders, record the bolus, fluids and insulin, then log each set of bloods and review the suggested bag ratio. Every figure is a calculation to check against your centre's protocol.
What this tool does. PedDKA works out the fluid, potassium, dextrose and insulin rates from the child’s weight and results, checks each new set of results against Canadian guidance, and keeps a handover of everything you enter.
The references this tool follows are paediatric guidelines [1–6]. For a patient 18 or over, acknowledge this to continue.
Enter the age here and the weight below; every rate depends on the weight. Leave a test blank if it was not done: a blank is never treated as normal.
DKA is confirmed when all three are present at presentation:
The pH and HCO₃ also set the severity: mild, moderate or severe.
These are the admission values. They fix the diagnosis, the severity grade and the cerebral injury risk factors, and do not change as the child is treated. Repeat bloods go in step 4, Console & Labs.
Sodium, potassium and chloride give four more checks:
These change every number further down. Set them to what your unit actually stocks before you read a rate.
Protocols differ. The default maximum is 500 mL/h, following TREKK [2, 3]. Use an alternative rate when directed by your centre’s protocol or a specialist.
"Administer NS or RL 20 mL/kg (MAX 1 L) IV bolus over 20 minutes (rapid push over 5-10 min if patient is hypotensive)" [3]. Repeat 20 mL/kg only for ongoing hypoperfusion (capillary refill 3 seconds or more centrally, cool extremities), and reassess vital signs and perfusion after each bolus [3]. The dose can be set from 10 to 20 mL/kg [5].
Bags A and B together run at this hourly rate, taken from the TREKK weight table. Later you change only the share between the two bags; the total stays the same unless the order changes.
| Weight band | Hourly rate | Ceiling |
|---|---|---|
| 5 to <10 kg | 6.5 mL/kg/h | Weight-based |
| 10 to <20 kg | 6.0 mL/kg/h | Weight-based |
| 20 to <40 kg | 5.0 mL/kg/h | Weight-based |
| ≥ 40 kg | 4.0 mL/kg/h | Max 500 mL/h |
TREKK: the rehydration table "replaces a 10% fluid deficit and maintenance requirements over 36 hours" [1]. This is a steady ongoing rate, not an extra rapid bolus.
Insulin clears the ketones; dextrose manages the glucose. Keep the dose steady and move bag B as glucose changes; dextrose is increased before any change to insulin [3]. Insulin is lowered only at maximum dextrose: if glucose cannot be maintained with D12.5, consider 0.05 units/kg/h [4]; if it is falling faster than 5 mmol/L/h, reduce to 0.05, then gradually, not below 0.025 units/kg/h [5]. The default preparation is regular insulin at 1 unit/mL [2]. Confirm the bag with nursing.
All fluid rates, deficit replacement and insulin infusion rates require the patient weight. Enter the measured weight in Patient & Diagnosis.
Both bags carry identical electrolytes, so moving the slider changes dextrose only.
The shared rate never changes when you move this — only the proportion of it that carries dextrose. Sodium and potassium delivery are unaffected.
Enter what came back and press Save & Log. Anything left as it is keeps its previous value, and is marked with the time it was taken so a mixed-vintage result is visible.
Follow the schedule above. Bedside glucose is checked hourly and around insulin initiation or dose changes; laboratory blood tests are every 2 hours and point-of-care urinalysis every 4 hours [2].
Follow the biochemical response. Calculate the anion gap with each set [4]. Where available, follow blood beta-hydroxybutyrate: ISPAD describes a fall of approximately 0.5 mmol/L per hour when the insulin effect is adequate [6].
Do not use urine ketones to judge resolution. They can remain positive for several hours after blood ketones have returned to normal [6].
If you suspect cerebral injury, start the steps now; ticking signs is not required. Signs from the TREKK algorithm [3]; vomiting from the TREKK bottom line recommendations [1]. This module is a summary; use it alongside the full TREKK algorithm [3].
The large figure is the dose, in units per hour. The figure beside it is the pump setting, in millilitres per hour of fluid.
They differ because bag C is dilute. At 0.1 units/mL there are ten millilitres of fluid for every unit, so a 50 kg patient on 0.1 units/kg/h receives 5 units per hour while the pump reads 50 mL per hour. At 1 unit/mL the same 5 units per hour runs at 5 mL per hour.
In a large adolescent the dilute preparation can take up a large part of the fluid order. The pump plan shows the insulin rate in mL/h so the team can see it.
TREKK comes first [1–3]. CPEG [4] applies where TREKK refers onward or is silent, and CPS [5] only where both are silent. ISPAD [6] is used for notes. Statements without a reference number are this tool's own steps. If your centre has its own protocol for this, follow it.
This tool. Adam M. PedDKA: paediatric DKA two-bag calculator. Version 4.2.36 Beta. Mahamad Adam, MD, Pediatrics Resident, Department of Pediatrics, Queen's University, Kingston (ON); 2026. Available from: https://peddka.com
Background reading (not cited by any message). Grimberg A, Cerri RW, Satin-Smith M, Cohen P. The two-bag system for variable intravenous dextrose and fluid administration: benefits in diabetic ketoacidosis management. J Pediatr. 1999;134(3):376–8. Kuppermann N, et al; PECARN DKA FLUID Study Group. Clinical trial of fluid infusion rates for pediatric diabetic ketoacidosis. N Engl J Med. 2018;378(24):2275–87.
TREKK sets the defaults. For ongoing care, TREKK refers to the CPEG Pediatric DKA Algorithm: Ongoing Management (2023), which comes next. Where both are silent, the CPS practice point applies; ISPAD 2022 is used as advice where none comments. A dash (—) means that source gives no specific rule. If your centre has its own protocol for this, follow it.
| Topic | TREKK / CPEG (2023) | CPS (2022) | ISPAD (2022) | This tool |
|---|---|---|---|---|
| Diagnosis | Glucose > 11 mmol/L AND pH < 7.3 or HCO₃ < 18 (venous or capillary) AND moderate/large urine ketones or serum β-OHB ≥ 3 mmol/L; no anion gap | Table 1: glucose > 11; β-OHB ≥ 3 and/or moderate or large ketonuria; acidosis (pH < 7.3 or HCO₃ < 18) "with an anion gap > 12". The text defines DKA by glucose, ketosis and acidosis by pH or bicarbonate | All three required: glucose > 11; venous pH < 7.3 or HCO₃ < 18; ketonaemia or ketonuria (β-OHB ≥ 3 "a sensitive indicator"); anion gap not a criterion | TREKK definition (β-OHB ≥ 3). Anion gap shown; a gap ≤ 12 adds a note citing CPS |
| Bolus | 20 mL/kg NS or RL, max 1 L, over 20 min; rapid push over 5–10 min if hypotensive | 10–20 mL/kg (max 1000 mL) over 20–30 min; in shock, 10 mL/kg increments to max 40 mL/kg | — | 20 mL/kg (max 1000 mL) over 20 min, or a rapid push over 5–10 min if hypotensive; repeat only for ongoing hypoperfusion (TREKK). Dose 10–20 mL/kg selectable; beyond 40 mL/kg in total, consult a paediatric intensivist (CPS) |
| Maximum ongoing rate (≥40 kg) | 500 mL/h | 250 mL/h | — | 500 mL/h (TREKK); 250 mL/h can be chosen in Centre Settings (CPS) |
| Insulin start | 1 h after IV fluids start; never before 1 h (order set: before 2 h); delay if K < 3.5 | After the first hour of fluids, and only when K > 3.0 | 1 h after IV fluids start | 1 to 2 h after IV fluids start, never before 1 h; delayed while K < 3.5 (TREKK) |
| Insulin dose | 0.1 units/kg/h (order set: 1 unit/mL) | 0.05–0.1 units/kg/h, rapid-acting, no weight-based maximum | 0.05–0.1 units/kg/h, regular insulin | 0.1 units/kg/h at 1 unit/mL (TREKK); other doses and concentrations can be set |
| Potassium in fluids | 40 mmol/L KCl once K < 5.5 | At least 40 mmol/L once K < 5 and urine output documented | 40 mmol/L; start when K < 5.5; if high, wait for urine output | 40 mmol/L once K < 5.5 (TREKK) and voiding documented (CPS) |
| Potassium and insulin | Delay insulin if K < 3.5. CPEG, insulin running: increase K replacement (maximum 60 mmol/L in a peripheral IV), consider oral supplements and 0.05 units/kg/h; hold insulin if K stays < 3.5 despite maximum replacement | Replace K first if ≤ 3.0 | Defer insulin if K < 3.5 (executive summary: < 3.0); if hypokalaemia persists at maximum replacement, insulin can be reduced | Start delayed while K < 3.5 (TREKK). Once running, K < 3.5 gives a critical alert with the CPEG steps; insulin stays shown as running, and the decision to hold it belongs to the treating team |
| Start dextrose | TREKK: D5 once glucose < 17, or falling > 5 mmol/L/h after insulin. CPEG: at 14–17 mmol/L | At 15–17 mmol/L; fall no more than 5 mmol/L/h | At about 14–17 mmol/L, or sooner if falling > 5 mmol/L/h | At least D5 once glucose < 17 at any stage after the bolus, or falling > 5 mmol/L/h once insulin runs (TREKK); dextrose never stops or lowers insulin |
| Glucose to maintain | Keep > 10 mmol/L (up to D10). CPEG: target 8–14 | 7–11 mmol/L | No numeric range | Above 10 up to 14 mmol/L, best above 10 to 12 (TREKK floor, CPEG upper limit); 10.0 counts as below target |
| Falling fast with dextrose maximised | — | Reduce insulin to 0.05, then no lower than 0.025 units/kg/h | Insulin may be decreased while acidosis keeps resolving | Raise dextrose first; a D10 bag B at 100% changes to D12.5 at 80% (CPS); at D12.5 100%, reduce insulin to 0.05, then gradually, not below 0.025 units/kg/h (CPS) |
| Cerebral injury: low pCO₂ | < 18 | < 21 | < 21 | pCO₂ < 18 mmHg flagged (TREKK) |
| Resolution | TREKK: no criteria. CPEG: pH > 7.30, HCO₃ > 18, BOHB < 1 "and/or" anion gap ≤ 12; BOHB and gap are better indicators than pH and HCO₃ | No criteria given | pH > 7.30, HCO₃ > 18, BOHB < 1, or closure of the anion gap; hyperchloraemic acidosis should not delay transition | Anion gap ≤ 12, and β-OHB < 1 if measured (CPEG). A closed gap with low pH or HCO₃ is hyperchloraemic acidosis and does not delay transition (CPEG, ISPAD) |
| Transition to subcutaneous insulin | CPEG: once corrected and oral fluids tolerated; stop the infusion and IV fluids 15–30 min after SC rapid-acting insulin; between meals, reduce the infusion 25–50% every 1–2 h | Low-dose insulin "as a bridge until the next mealtime (and associated subcutaneous insulin dose) if acidosis has corrected" | Basal plus rapid- or short-acting insulin; first SC injection 15–30 min (rapid-acting) before stopping the infusion | CPEG steps |
| Glucose rising on insulin | — | — | If pH, gap or BOHB do not improve, review insulin and consider errors in preparation or route; increase the dose if BOHB does not fall about 0.5 mmol/L/h | No glucose-based action from any source. Above 14 at the D5 minimum and not falling: check the insulin bag, line, pump and tubing (ISPAD) |
| Corrected sodium | — | Na + 0.3 × (glucose − 5) | Na + 1.6 × (glucose − 5.6) / 5.6 | Na + 0.3 × (glucose − 5) (CPS) |
| Phosphate | — | Consider replacement below 0.5 mmol/L, or with concerns of cardiac dysfunction, respiratory failure, gastrointestinal dysmotility or metabolic encephalopathy | Treat severe hypophosphataemia (< 0.32 mmol/L) | Amber prompt below 0.5 mmol/L, listing the CPS concerns; no hard stop |
| Bicarbonate | Only for hyperkalaemia with ECG changes, or during CPR | Not for metabolic acidosis (raises the risk of cerebral injury) | — | Not recommended or calculated by the tool. TREKK: only for hyperkalaemia with ECG changes or during CPR. CPS: not for metabolic acidosis (raises the risk of cerebral injury). |
| Consultation | PICU, referral centre or transport team if pH < 7.1, age < 5, hypotension or suspected cerebral injury; paediatric diabetes specialist; referral centre before intubation | Paediatric intensivist for cerebral injury signs and before intubation; consider critical care if pH < 7.0 or HCO₃ < 5; abnormal mental status: urgent referral to a tertiary centre | Not compared | The TREKK order set line, shown when pH < 7.1, age < 5 or a cerebral injury sign is ticked; paediatric diabetes specialist for every case (TREKK). The CPS additions are listed here for comparison only |
The safety rules are checked every time anything changes. None of them blocks the calculator or hides a number; they appear as alerts, counted in the header. Bolus and voiding prompts stay in their own controls.
Add it to your home screen. On a phone, open the browser menu and choose Add to Home Screen. It then opens full screen with its own icon.
Scope. Paediatric diabetic ketoacidosis in patients under 18 years. It is not validated for adults, for hyperosmolar hyperglycaemic state, or for any other condition.
Intended user. A regulated health professional already trained in the management of paediatric DKA, working within their own institution’s protocol.
Responsibility. This is a reference aid. It performs arithmetic on figures you enter and compares them with published thresholds. It does not examine the patient, does not diagnose, and does not decide anything. Clinical judgment, verification of every figure, and responsibility for the care given rest entirely with the treating clinician. Any error in entry, interpretation or application is the responsibility of the operator.
It has not been reviewed or endorsed by the Canadian Paediatric Society, the Canadian Pediatric Endocrine Group, TREKK, ISPAD or any other body.
Guidelines change. Confirm every figure against a current source before acting on it. Provided without warranty of any kind, express or implied; the author disclaims any liability, loss or damage arising from its use.
Bags A and B run together at one hourly rate. They are identical except for dextrose: bag A has none, bag B has D10 or D12.5. Moving volume from A to B raises the dextrose without changing the total fluid, sodium or potassium. Insulin runs separately on pump C; insulin clears the ketoacidosis, and the bag ratio manages the glucose.
Bedside check: confirm the patient, units, centre settings, bag labels, potassium eligibility, and actual start times. This calculator is a reference aid, not an order set; clinical decisions remain with the treating team.
25 kg · 8 years · moderate DKA
Glucose is coming down on insulin. Practise starting dextrose and responding to a fall faster than 5 mmol/L/h.
42 kg · 14 years · severe DKA
Potassium is 3.2 after more than an hour of fluids. Practise waiting for potassium, then starting insulin once it is at least 3.5.
32 kg · 10 years · moderate DKA
Glucose keeps drifting below 10. Practise raising bag B to its maximum and changing to a D12.5 bag.
20 kg · 6 years · severe DKA
A new headache and a GCS of 13. Practise recording the signs and opening the prepared doses.
These values are synthetic examples, not patient data or treatment recommendations. Reset the demo before entering a real patient.
The code holds clinical information (age, weight, results and times). It is not encrypted, and nothing is sent to a server. Share it through an approved channel and check every value after opening it.
Groups of 4. Spaces, line breaks and capitals don't matter, and each part is checked when it is opened.
On a phone, the camera app can scan the QR directly: it opens this page with the code filled in.
Opening a code replaces the case in this tab. Notes, checklist ticks and alert acknowledgements do not transfer, so relevant alerts can reappear. The receiving device recalculates every rate; verify before acting. This code is a convenience, not a medical record.
Leave a test blank if it was not done: a blank is never treated as normal.
Enter the measured weight in kilograms, for example 42 or 42.5.
If insulin is already running (for example, the child arrived on an infusion), record it. The tool then shows it running, with the potassium alert and the CPEG steps [4].
Your centre settings — bag concentrations, potassium, saline base, rate maximum and centre protocol name — are kept. Alerts set aside for your centre's protocol belong to this patient and are cleared.
Case data is never attached automatically. Describe the issue without patient details. Use your centre's approved process if a case needs review.
You can also write directly to paediatricdka@gmail.com.