Skip to content

Medical formula calculators

Type the values and get the result with its interpretation: anion gap, creatinine clearance, corrected sodium and calcium, osmolality, alveolar-arterial gradient, free water deficit and body surface area.

Reviewed by the MIROTECA medical team · November 2026
Advertisement
Advertisement

What this page is for

The medical formulas used most in the emergency department, on the wards and in exam preparation, each with its own calculator: type the values and the result and its interpretation appear immediately. All of them use the conventional units used in the United States (mEq/L, mg/dL, mmHg, kg and cm).

What you can calculate here

Eight calculations for the emergency department and the wards, each with its calculator and interpretation:

They all work the same way: type the values and the result appears below with a reading of what it means. A button copies the result to paste into the chart.

Acid-base and electrolytes

Anion gap

Detects whether a metabolic acidosis runs with a high anion gap (and therefore what causes it).

AG = Na − (Cl + HCO₃)  ·  corrected = AG + 2.5 × (4 − albumin)
Enter the values

Corrected sodium for hyperglycemia

High glucose pulls water in and lowers the measured sodium: it must be corrected before speaking of hyponatremia.

Corrected Na = measured Na + 1.6 × (glucose − 100) / 100
Enter the values

Corrected calcium for albumin

If albumin is low, total calcium looks low without any real hypocalcemia.

Corrected Ca = measured Ca + 0.8 × (4 − albumin)
Enter the values

Plasma osmolality

Useful in hyponatremia and when toxins are suspected (osmolar gap).

Osm = 2 × Na + glucose / 18 + BUN / 2.8
Enter the values

Kidney function and water

Creatinine clearance (Cockcroft-Gault)

Estimates kidney filtration to adjust drug doses.

CrCl = [(140 − age) × weight] / (72 × creatinine)  ×  0.85 if female
Enter the values

Free water deficit

How much water has to be replaced in hypernatremia.

Deficit = TBW × [(current Na / 140) − 1]  ·  TBW = weight × 0.6 (male) or 0.5 (female)
Enter the values

Respiratory

Alveolar-arterial O₂ gradient

Tells whether hypoxemia comes from hypoventilation or from a gas exchange problem (PE, pneumonia, edema).

A−a = [FiO₂ × (760 − 47) − PaCO₂ / 0.8] − PaO₂  ·  normal ≈ age / 4 + 4
Enter the values

Anthropometry

BMI and body surface area

BMI classifies weight; body surface area is used for dosing (chemotherapy).

BMI = weight / height²  ·  BSA (Mosteller) = √(height_cm × weight / 3600)
Enter the values
Where sources differ and units used

Corrected sodium, osmolality and the anion gap

Corrected sodium. The calculator adds 1.6 mEq/L of sodium for every 100 mg/dL of glucose above 100 (Katz); some authors propose 2.4 (Hillier), which fits better at very high glucose. Both are in use and the correction is an estimate.

Osmolality. The Spanish version of this calculator takes urea in mg/dL and divides by 6. Because US reports give BUN, this version uses BUN / 2.8, which is the same quantity (urea in mg/dL divided by 6 equals BUN divided by 2.8, since urea = BUN × 2.14).

Anion gap. The albumin correction uses a normal albumin of 4 g/dL, as in the Spanish page; the normal range is taken as 8–12 mEq/L.

How they appear in exam questions

The most frequently asked are the anion gap (to separate metabolic acidoses with a high gap, such as ketoacidosis, lactic, uremic and toxins, from the hyperchloremic ones, such as diarrhea and renal tubular acidosis) and the corrections: sodium in hyperglycemia and calcium in hypoalbuminemia, two classic traps in which the measured value misleads.

The alveolar-arterial gradient is the key to classifying a hypoxemia: if it is elevated, the problem is gas exchange (pulmonary embolism, pneumonia, edema); if it is normal, think of hypoventilation. And in hypernatremia, the message that is always repeated is to correct slowly (no more than 10 mEq/L per day) to avoid cerebral edema, just as in hyponatremia osmotic demyelination is avoided.

Important notice

These calculators are an educational tool for studying and checking calculations. They do not replace clinical judgment, institutional protocols or validated clinical calculators.

Also useful

Advertisement
▶ Play today's clinical case See all medical diagrams