# Diabetic Ketoacidosis Calculator (DKA Criteria and Severity)

URL: https://speedycalculator.com/calculators/health/diabetic-ketoacidosis/
Last updated: 2026-11-08

> 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.

## Inputs

- Plasma glucose (mg/dL, mmol/L)
- Arterial pH
- Bicarbonate (HCO₃⁻) (mEq/L)
- Sodium (mEq/L)
- Chloride (mEq/L)
- Serum or urine ketones
- Mental status

## Results

- Anion gap
- ADA criteria met
- DKA
- Severity

## 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
```

## Explanation

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

- **Plasma glucose**
- **Arterial pH**
- **Bicarbonate (HCO₃⁻)**
- **Sodium**
- **Chloride**
- **Serum or urine ketones**
- **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)

MildModerateSevereGlucose> 250 mg/dL> 250 mg/dL> 250 mg/dLArterial pH7.25–7.307.00–7.24< 7.00Bicarbonate15–18 mEq/L10–15 mEq/L< 10 mEq/LKetonesPositivePositivePositiveAnion gap> 10> 12> 12Mental statusAlertAlert or drowsyStupor or coma

### Inputs explained

FieldWhat to enterPlasma glucoseUnits: mg/dL, mmol/LArterial pHA numberBicarbonate (HCO₃⁻)In mEq/LSodiumIn mEq/LChlorideIn mEq/LSerum or urine ketonesChoose one: Positive, NegativeMental statusChoose 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.*

## 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.

## FAQ

**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

- [Kitabchi AE et al. Hyperglycemic crises in adult patients with diabetes. Diabetes Care, 2009](https://pubmed.ncbi.nlm.nih.gov/19564476/)
- [Umpierrez GE et al. Hyperglycemic crises in adults with diabetes: a consensus report. Diabetes Care, 2024](https://pubmed.ncbi.nlm.nih.gov/38940687/)
