DKA Assessment Calculator

Medically reviewed by Dr. Chhaya Makhija, MD, DipABLM — September 2026

Calculate the anion gap and classify diabetic ketoacidosis severity — mild, moderate, or severe — from glucose, arterial pH, and serum bicarbonate, using standard diagnostic criteria.

Medical emergency — call emergency services. Diabetic ketoacidosis is life-threatening and requires immediate in-hospital treatment. This tool helps explain the diagnostic numbers; it does not diagnose DKA or replace urgent clinical assessment. If you suspect DKA, seek emergency care now.

Diabetic ketoacidosis is not graded by how high the glucose is. It is graded by how acidotic the blood has become — and those two things track each other far less reliably than people expect.

The clearest illustration is euglycemic DKA, where a patient is in genuine, dangerous ketoacidosis with a glucose that looks almost normal. It occurs in pregnancy, during starvation or vomiting, in people who have taken some insulin but not enough, and notably in those on SGLT2 inhibitors. Anyone triaging on glucose alone will miss it.

What actually defines severity is the combination of pH, serum bicarbonate and the anion gap — the last being the measurement that reveals unmeasured acid, in this case ketoacids, accumulating in the blood.

The calculator below computes the anion gap and classifies severity against ADA criteria. Below it you will find how each threshold is defined, the symptoms and triggers that should prompt assessment, and an explicit statement of what this tool cannot do.

This is a reference for understanding published criteria, not a triage instrument. Suspected DKA is a medical emergency requiring immediate in-person assessment.

How to Use This Calculator

  1. Enter blood glucose in mg/dL.
  2. Enter arterial pH and serum bicarbonate from the blood gas / metabolic panel.
  3. Enter sodium and chloride so the anion gap can be calculated.
  4. Read the result: the DKA severity grade (by the more severe of pH and bicarbonate) and the anion gap.

This explains the diagnostic numbers; it does not diagnose DKA. Ketones and clinical assessment are still required, and treatment must be in hospital.

How DKA Is Assessed

Diabetic ketoacidosis is defined by the triad of hyperglycemia (usually >250 mg/dL; 13.9 mmol/L), high anion-gap metabolic acidosis, and ketosis. Severity is graded mainly by how low the arterial pH and serum bicarbonate are. The anion gap measures unmeasured acids (ketones) in the blood:

Anion gap = Na⁺ − (Cl⁻ + HCO₃⁻)

A normal gap is about 8–12 mEq/L. In DKA the gap is elevated, reflecting ketoacid build-up.

DKA Severity Criteria (ADA)

SeverityArterial pHBicarbonate (mEq/L)Mental status
Mild7.25–7.3015–18Alert
Moderate7.00–7.2410–<15Alert/drowsy
Severe<7.00<10Stupor/coma

All grades use glucose >250 mg/dL (13.9 mmol/L), positive ketones, and an elevated anion gap. This tool grades by pH/bicarbonate, taking the more severe of the two.

Recognizing DKA: Symptoms & Triggers

Warning signs

DKA usually builds with excessive thirst and frequent urination, then nausea, vomiting and abdominal pain, weakness, a fruity (acetone) smell on the breath, deep rapid "Kussmaul" breathing, and — as it worsens — confusion or drowsiness. Any of these in someone with diabetes, especially with high glucose and ketones, is an emergency.

Common triggers

The most frequent precipitant is infection or acute illness. Others include missed or insufficient insulin, a new diagnosis of type 1 diabetes, insulin pump failure (no long-acting depot to fall back on), and SGLT2 inhibitor use, which can cause euglycemic DKA at near-normal glucose.

Frequently Asked Questions

DKA is graded mild, moderate, or severe mainly by arterial pH and serum bicarbonate, alongside mental status. Lower pH and bicarbonate, and reduced alertness, indicate more severe DKA.

A normal anion gap is roughly 8–12 mEq/L. In DKA the gap is elevated above this because ketoacids accumulate. The gap is calculated as sodium minus the sum of chloride and bicarbonate.

No. This tool assesses the diagnosis and severity from lab values. For the IV insulin infusion rate used during treatment, see our DKA insulin drip calculator. Both are inpatient educational references.

Yes. Euglycemic DKA — ketoacidosis with glucose under about 250 mg/dL (13.9 mmol/L) — can occur, notably with SGLT2 inhibitors, pregnancy, or reduced intake. It still needs urgent treatment, so clinical judgement matters more than glucose alone.

It can develop in under 24 hours, and faster in type 1 diabetes — especially with an insulin pump failure, where there is no long-acting insulin depot to fall back on, or during an acute illness. This is why ketones should be checked early when glucose is high or someone feels unwell.

DKA features ketones and acidosis (low pH and bicarbonate) and is common in type 1 diabetes. Hyperosmolar hyperglycemic state (HHS) has much higher glucose — often over 600 mg/dL (33.3 mmol/L) — with severe dehydration and high osmolality but little ketosis or acidosis, and is more typical of older adults with type 2 diabetes. Both are emergencies; HHS develops more slowly and carries a higher mortality.

Sources

  1. American Diabetes Association. Hyperglycemic crises in adult patients with diabetes (consensus statement). Link
  2. Kitabchi AE, et al. Management of hyperglycemic crises. Diabetes Care. Link

Written by Ryan Mitchell · Last updated: September 2026