Diabetic Ketoacidosis Calculator
Suspected diabetic ketoacidosis is a medical emergency — if you are worried, go to an emergency department now. This reference tool is for clinicians checking blood results against the 2024 international consensus criteria.
Suspected DKA is a medical emergency
If someone with diabetes has nausea, vomiting or stomach pain, deep or laboured breathing, extreme thirst and passing a lot of urine, high ketones, or is drowsy or confused, go to the nearest emergency department now or call 112.
This calculator is not a substitute for urgent care and cannot rule DKA out. It is a reference for healthcare professionals checking laboratory results against the published criteria.
Severity uses the most severe value entered; the consensus notes that not every variable needs to meet a band, and the level of care is a clinical decision.
Glucose is below 200 mg/dL: this pattern is euglycemic DKA, which the consensus says makes up about 10% of DKA, often with SGLT2-inhibitor medicines.
Anion gap
mmol/L
Above 12: a high anion gap metabolic acidosis, consistent with DKA (2024 consensus)
Add sodium, chloride and bicarbonate
Sodium − (chloride + bicarbonate)
These figures are estimates for general awareness only and are not medical advice or a diagnosis. Read our Medical Disclaimer.
How this is calculated
Criteria from the 2024 consensus report on hyperglycaemic crises in adults (Umpierrez et al., Diabetes Care, 2024): D, glucose 200 mg/dL (11.1 mmol/L) or more, or known diabetes; K, beta-hydroxybutyrate 3.0 mmol/L or more, or urine ketones 2+ or more; A, pH below 7.3 and/or bicarbonate below 18 mmol/L. Severity (Table 2): mild, pH above 7.25 to below 7.30 or bicarbonate 15–18; moderate, pH 7.0–7.25 or bicarbonate 10 to below 15, or drowsy; severe, pH below 7.0, bicarbonate below 10, beta-hydroxybutyrate above 6.0, or stupor/coma. Anion gap = sodium − (chloride + bicarbonate); above 12 mmol/L indicates a high anion gap metabolic acidosis.
Warning signs
DKA develops over hours to days. The consensus lists passing a lot of urine, thirst, weight loss and dehydration, nausea, vomiting and abdominal pain, and deep, laboured breathing. Anyone with diabetes and these symptoms needs urgent medical care.
Normal glucose doesn't rule it out
About 1 in 10 people with DKA have glucose below 200 mg/dL — euglycemic DKA — often while taking SGLT2-inhibitor medicines. That is why known diabetes meets the first criterion on its own.
Related calculators
To convert a glucose reading, use the Blood Sugar Converter.
More Diabetes Calculators
See all →- Diabetes Risk Calculator The Indian Diabetes Risk Score: age, waist, activity and family history — to see whether you should be tested for type 2 diabetes.
- Blood Sugar Converter Convert blood glucose between mg/dL and mmol/L, and see which ADA range a fasting, 2-hour or random reading falls in.
- A1c Calculator Convert HbA1c between % and mmol/mol, see its ADA range, and estimate the A1c your CGM average predicts (GMI).
- Estimated Average Glucose Calculator Turn your HbA1c into the average blood sugar it corresponds to, with the ADAG study equation and the study's 95% ranges.
- Glycemic Index Calculator Work out the GI of a whole meal from the GI and carbohydrate of each food, by the FAO/WHO method.
- Glycemic Load Calculator The glycemic load of a portion — its GI times its available carbohydrate — and how the load changes with portion size.