Fractional Excretion of Magnesium Calculator

Kidney

Fractional excretion of magnesium (%)8.93
Clearance ratio before the 0.7 correction (%)6.25
Reading in hypomagnesaemiaAbove 4 percent - renal magnesium wasting in a hypomagnesaemic patient
How this was calculated
  1. Fractional excretion of magnesium = (urine Mg x plasma creatinine) / (0.7 x plasma Mg x urine creatinine) x 100
  2. = (6.0 x 1.00) / (0.7 x 1.20 x 80) x 100 = 8.93 percent
  3. The 0.7 corrects for the roughly 30 percent of plasma magnesium that is protein-bound and not filterable - without it the ratio reads 6.25 percent
  4. Reading in hypomagnesaemia: above 4 percent - renal magnesium wasting in a hypomagnesaemic patient

A low serum magnesium poses a fork in the diagnostic road. Either the body is losing magnesium before it ever reaches the blood - poor intake, malabsorption, diarrhoea, proton-pump inhibitors - or the kidneys, which should be conserving it fiercely, are letting it escape in the urine. The treatments are opposites, and the fractional excretion of magnesium is the test that chooses between them: it asks what share of the filtered magnesium load the kidneys are excreting, at a moment when a healthy kidney would be excreting almost none. A conserving kidney in a hypomagnesaemic patient posts an FEMg under 2 percent; a wasting one posts over 4.

Enter urine and plasma magnesium and urine and plasma creatinine, in matching units. The calculator returns the FEMg with the 0.7 filterable-fraction correction applied, the uncorrected clearance ratio for comparison, and the reading against the 2 and 4 percent thresholds. The worked examples show gross renal wasting at 8.93 percent, appropriate conservation at 1.84, and extreme wasting at 20.00.

Worked examples

Renal wasting, 8.93%

(6 mg/dL · 1.2 mg/dL · 80 mg/dL · 1 mg/dL)

Fractional excretion of magnesium (%)8.93
Clearance ratio before the 0.7 correction (%)6.25
Reading in hypomagnesaemiaAbove 4 percent - renal magnesium wasting in a hypomagnesaemic patient

Conserving, 1.84%

(2.4 mg/dL · 1.4 mg/dL · 120 mg/dL · 0.9 mg/dL)

Fractional excretion of magnesium (%)1.84
Clearance ratio before the 0.7 correction (%)1.29
Reading in hypomagnesaemiaBelow 2 percent - the kidneys are conserving magnesium, losses are extrarenal

Gross wasting, 20.00%

(9.6 mg/dL · 1.6 mg/dL · 60 mg/dL · 1.4 mg/dL)

Fractional excretion of magnesium (%)20.00
Clearance ratio before the 0.7 correction (%)14.00
Reading in hypomagnesaemiaAbove 4 percent - renal magnesium wasting in a hypomagnesaemic patient

The hypomagnesaemia fork: gut or kidney?

The logic is the same as the better-known fractional excretion of sodium, transplanted to an ion whose handling makes the answer cleaner. In hypomagnesaemia the kidney's correct behaviour is near-total conservation: distal reabsorption rises, urinary magnesium falls to a trickle, and the fractional excretion drops below 2 percent. If, in that setting, the measured FEMg is above 4 percent, the kidney is not merely failing to conserve - it is the source of the loss, and the differential turns to the renal wasting causes: diuretics, aminoglycosides and other tubular toxins, alcohol, uncontrolled diabetes, the inherited tubulopathies such as Gitelman syndrome, and recovery from tubular injury.

The middle band, 2 to 4 percent, is honestly indeterminate - partial wasting, a kidney in transition, or conservation measured on a day when intake briefly rose. None of the three worked examples lands there, which is the nature of textbook examples; clinical values land there often, and the correct response is to read the number with the medication list and the clinical picture rather than to demand the test decide alone.

  • FEMg = (urine Mg x plasma creatinine) / (0.7 x plasma Mg x urine creatinine) x 100
  • Below 2 percent in hypomagnesaemia: kidneys conserving - look to the gut and intake
  • Above 4 percent: renal magnesium wasting - look to drugs, tubules and metabolic causes
  • Interpretable only in hypomagnesaemia, and cautiously when kidney function is poor

Why magnesium needs the 0.7 correction

The fractional excretion formula compares an ion's clearance with creatinine's, on the assumption that the ion is freely filtered at the glomerulus. Magnesium breaks that assumption: roughly 30 percent of plasma magnesium rides on albumin and cannot be filtered, so only about 0.7 of the measured plasma concentration is available to the filtrate. Dividing by 0.7 x plasma Mg corrects the denominator to the filterable load. Skip the correction and every result reads low by that factor - the first example's true 8.93 percent masquerades as 6.25, and a borderline wasting case at a true 4.3 percent would read 3.0 and be sent down the gastrointestinal path by mistake.

The correction is a population average wearing a lab coat: the protein-bound fraction varies with albumin concentration and pH, and in a profoundly hypoalbuminaemic patient the 0.7 itself is an approximation. That is a reason to treat values near the thresholds humbly, not a reason to drop the correction - an approximately right denominator beats a precisely wrong one, and the published thresholds were themselves derived with the 0.7 in place, so the comparison only works with the correction applied.

ExampleUrine MgPlasma MgUrine CrPlasma CrFEMgReading
16.01.2801.08.93%Renal wasting
22.41.41200.91.84%Conserving
39.61.6601.420.00%Gross wasting

Worked examples: wasting, conserving and gross wasting

Example 1 assembles the wasting picture: urine magnesium 6.0 mg/dL against a plasma magnesium of only 1.2, creatinine pair 80 and 1.0. FEMg = (6.0 x 1.00) / (0.7 x 1.20 x 80) x 100 = 8.93 percent - more than double the wasting threshold, in a patient whose blood level says the kidney should be hoarding. Example 2 is the conserving kidney: urine magnesium down at 2.4 with a richer urine creatinine of 120, FEMg 1.84 percent, and the diagnostic road leads away from the kidney - to intake, gut losses and the drug chart's proton-pump inhibitor.

Example 3 removes all ambiguity: urine magnesium 9.6 mg/dL - the kidney pouring out magnesium - against plasma 1.6, for an FEMg of 20.00 percent, five times the wasting threshold. A value like that in a hypomagnesaemic patient is close to a signed confession: something is injuring or blocking tubular reabsorption, and the workup is a medication review, a diabetes check, an alcohol history and, if those are clean, the inherited tubulopathies.

Reading the 2 and 4 percent thresholds

Thresholds in fractional-excretion tests are decision aids, not physical constants, and they carry conditions. The 2 and 4 percent lines assume the patient is actually hypomagnesaemic - in a magnesium-replete person a higher FEMg is physiology, not wasting, because the kidney is excreting a surplus it was given. They assume reasonably preserved filtration: as GFR falls, each surviving nephron excretes a larger fraction of everything, and FEMg rises without any tubular misbehaviour, which is why the test fades in advanced chronic kidney disease. And they assume a spot sample handled consistently - the formula's creatinine ratio is what frees it from needing a timed collection, provided the urine and blood are drawn together.

Used inside its conditions, the test earns its place by being cheap, immediate and directional: it does not name the disease, it names the organ. In a differential as wide as hypomagnesaemia's, ruling the kidney in or out with four values from samples already drawn is the correct first move, and the calculator's role is to make the 0.7-corrected arithmetic - the step most often dropped at the bedside - impossible to skip.

FEMg only speaks in hypomagnesaemia. Run it on a patient with normal or high magnesium and a 'wasting' result may be nothing but a kidney correctly excreting a load - the thresholds were derived for the low-magnesium setting alone.

Causes of renal magnesium wasting the test points to

When the test rules the kidney in, the cause list is a tour of the tubule's enemies. Loop and thiazide diuretics block reabsorption at their sites of action and are the commonest culprits in hospital practice. Aminoglycosides, cisplatin, amphotericin and calcineurin inhibitors injure the tubular cells themselves. Alcohol both injures and starves. Uncontrolled diabetes washes magnesium out osmotically. And the inherited disorders - Gitelman and Bartter syndromes above all - present as lifelong renal wasting with their characteristic companion findings, unmasked in adults exactly by a test like this one returning a number like the third example's 20.00 percent.

The therapeutic point of the fork is that renal wasting changes the replacement strategy: oral magnesium fed into a wasting kidney is a bucket with a hole, and intravenous replacement, removal of the offending drug, or treatment of the tubulopathy comes first. It also changes the monitoring: a wasting kidney keeps wasting until its cause is treated, so the serum level that will not stay corrected despite faithful replacement is itself a FEMg result announced in advance - and re-running this calculation after the culprit drug is stopped is how the team confirms the tubule has recovered its manners. The FEMg result, four numbers and one correction, is what routes the patient onto that path rather than the gastrointestinal one - a small calculation with an outsized say in what happens next.

FAQs

Urine Mg 6.0, plasma Mg 1.2, urine creatinine 80, plasma creatinine 1.0 - what is FEMg?

(6.0 x 1.00) / (0.7 x 1.20 x 80) x 100 = 8.93 percent - renal magnesium wasting in a hypomagnesaemic patient.

What would the answer be without the 0.7 correction?

6.25 percent in the first example and 14.00 percent in the third - the correction raises every result by dividing by the filterable fraction.

What does a conserving kidney look like?

The second example: FEMg of 1.84 percent, below 2 percent, so losses are extrarenal - the gut, not the kidney.

How bad is the third example?

20.00 percent - five times the 4 percent wasting threshold, with a urine magnesium of 9.6 despite a plasma magnesium of only 1.6.

Where is the indeterminate zone?

Between 2 and 4 percent - neither worked example lands there, but real values land there often, and values in that band are read with the clinical picture rather than acted on alone.

Why does the formula use creatinine at all?

Creatinine is the filtration marker that turns concentrations into a clearance ratio: plasma creatinine 1.00 and urine creatinine 80 anchor the first example's ratio. Because both magnesium and creatinine are ratioed against their urine-to-plasma relationships, no timed urine collection is needed - a spot sample drawn with the bloods carries the whole test.

Sources

Related calculators

Fractional Excretion of Urea (FEUrea) Calculator
FEUrea from paired urine and serum urea and creatinine - the prerenal test that stays readable in patients on diuretics.
eGFR Calculator (CKD-EPI 2021)
Estimated glomerular filtration rate from creatinine, age and sex using the race-free 2021 CKD-EPI equation — with the KDIGO GFR category.
Creatinine Clearance Calculator (Cockcroft–Gault)
Creatinine clearance by the Cockcroft–Gault equation — the estimate most drug-dosing references still use — from creatinine, age, weight and sex.