Diabetic ketoacidosis (DKA) is a life-threatening complication of diabetes marked by hyperglycemia, ketone-body production, and metabolic acidosis. This calculator implements the American Diabetes Association's consensus criteria for grading DKA severity as mild, moderate, or severe, and computes the anion gap as supporting context. It is aimed at clinicians and students who already suspect or have confirmed DKA and want a quick, criteria-based severity reference alongside their clinical judgment.

How DKA severity grading works

The ADA Hyperglycemic Crises Consensus Statement (Kitabchi AE, Umpierrez GE, Miles JM, Fisher JN. Diabetes Care. 2009;32(7):1335-1343) grades DKA severity using three discriminating criteria: arterial pH, serum bicarbonate, and mental status. Each criterion independently reaches a mild, moderate, or severe tier, and the overall classification is set by whichever criterion is most severe — a patient does not need to meet all three at the same tier.

Blood glucose (typically > 250 mg/dL), positive urine or serum ketones, and an elevated anion gap (typically > 10–12 mEq/L) are diagnostic-confirmation criteria common to DKA at any severity. They establish that DKA is present, but unlike pH, bicarbonate, and mental status, they do not further distinguish mild from moderate or severe cases.

Reading the severity classification

Mild DKA (pH 7.25–7.30, bicarbonate 15–18 mEq/L, patient alert) still requires emergency evaluation and treatment — it can progress to moderate or severe DKA quickly without intervention. Moderate DKA (pH 7.00–7.24, bicarbonate 10–14 mEq/L, alert or drowsy) needs prompt IV fluids, insulin, and electrolyte monitoring, typically in an emergency department or step-down setting. Severe DKA (pH under 7.00, bicarbonate under 10 mEq/L, stupor or coma) is a life-threatening presentation usually requiring ICU-level care.

The anion gap (sodium minus the sum of chloride and bicarbonate) confirms DKA as a high-anion-gap metabolic acidosis but is not itself a severity discriminator in the ADA criteria — use it alongside, not instead of, the pH/bicarbonate/mental-status classification.

Limits and how it should be used

This calculator is a severity-reference tool for a diagnosis that should already be confirmed by the full clinical picture — hyperglycemia, ketosis, and acidosis together, not any single lab value in isolation. It does not diagnose DKA, does not account for concurrent conditions (such as mixed acid-base disorders, renal failure, or coexisting sepsis) that can shift lab values independent of DKA severity, and does not replace the judgment of a treating clinician.

Suspected DKA at any severity is a medical emergency. This tool is for clinical and educational reference only — seek immediate care or call emergency services rather than relying on this calculator to guide home management.