Diabetic Ketoacidosis Calculator (DKA Criteria and Severity)

Quick answer

The DKA calculator checks the American Diabetes Association criteria for diabetic ketoacidosis (glucose, arterial pH, bicarbonate, anion gap and ketones) and grades severity as mild, moderate or severe.

mEq/L
mEq/L
mEq/L
Anion gap
23 mEq/L
ADA criteria met
5 of 5
DKA
Criteria met
Severity
Moderate

Diabetic ketoacidosis is a life-threatening emergency caused by a lack of insulin, in which the body breaks down fat into acidic ketones. It is most common in type 1 diabetes and can also occur with SGLT2 inhibitors at near-normal glucose (“euglycaemic DKA”).

How to use the Diabetic Ketoacidosis Calculator

  1. Plasma glucose
  2. Arterial pH
  3. Bicarbonate (HCO₃⁻)
  4. Sodium
  5. Chloride
  6. Serum or urine ketones
  7. Mental status

Results update as you type, and every field accepts the units shown in its menu.

How it works

Enter the blood results and mental status. The calculator works out the anion gap, checks each ADA criterion and grades severity by the worst of pH, bicarbonate and mental status. Anyone with suspected DKA needs emergency care.

DKA severity (ADA)

Mild Moderate Severe
Glucose > 250 mg/dL > 250 mg/dL > 250 mg/dL
Arterial pH 7.25–7.30 7.00–7.24 < 7.00
Bicarbonate 15–18 mEq/L 10–15 mEq/L < 10 mEq/L
Ketones Positive Positive Positive
Anion gap > 10 > 12 > 12
Mental status Alert Alert or drowsy Stupor or coma

Inputs explained

Field What to enter
Plasma glucose Units: mg/dL, mmol/L
Arterial pH A number
Bicarbonate (HCO₃⁻) In mEq/L
Sodium In mEq/L
Chloride In mEq/L
Serum or urine ketones Choose one: Positive, Negative
Mental status Choose one: Alert, Drowsy, Stupor or coma

What each result means

  • Anion gap = [Sodium] – ([Chloride] + [Bicarbonate (HCO₃⁻)])
  • ADA criteria met = ([Plasma glucose] > 250) + ([Arterial pH] <= 7.3) + ([Bicarbonate (HCO₃⁻)] <= 18) + ([Serum or urine ketones] == 1) + ([Anion gap] > 10)

Health note: this calculator is for education and screening only and is not a diagnosis or treatment advice. Discuss your results with a qualified clinician.

Formula

Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻) DKA: glucose > 250 mg/dL, pH ≤ 7.30, HCO₃⁻ ≤ 18 mEq/L, ketones positive, anion gap > 10 Mild: pH 7.25–7.30, HCO₃⁻ 15–18, alert · Moderate: pH 7.00–7.24, HCO₃⁻ 10–15, alert or drowsy · Severe: pH < 7.00, HCO₃⁻ < 10, stupor or coma

Worked example

Inputs: Plasma glucose: 450 mg/dL; Arterial pH: 7.2; Bicarbonate (HCO₃⁻): 12 mEq/L; Sodium: 135 mEq/L; Chloride: 100 mEq/L; Serum or urine ketones: Positive; Mental status: Alert.
Results: Anion gap = 23 mEq/L; ADA criteria met = 5 of 5; DKA = Criteria met; Severity = Moderate.

Key terms

Ketones
Acids produced when the body breaks down fat for energy.
Anion gap
Unmeasured anions in the blood; raised in DKA.

Frequently asked questions

Is DKA an emergency?

Yes. It needs urgent hospital treatment with fluids, insulin and potassium.

What causes DKA?

Missed insulin, infection, new type 1 diabetes, other illness and some medicines.

What is euglycaemic DKA?

DKA with glucose below 250 mg/dL, seen with SGLT2 inhibitors, pregnancy or starvation.

Sources

  1. Kitabchi AE et al. Hyperglycemic crises in adult patients with diabetes. Diabetes Care, 2009
  2. Umpierrez GE et al. Hyperglycemic crises in adults with diabetes: a consensus report. Diabetes Care, 2024

Cite this calculator

Speedy Calculator. (2026). Diabetic Ketoacidosis Calculator (DKA Criteria and Severity). Speedy Calculator. https://speedycalculator.com/calculators/health/diabetic-ketoacidosis/