Calculating Magnesium Fractional Excretion

Magnesium Fractional Excretion Calculator

Estimate fractional excretion of magnesium (FEMg) from serum and urine values to help assess renal versus extrarenal magnesium loss.

Enter values above and click Calculate FEMg.

Formula used: FEMg (%) = [(Urine Mg × Serum Cr) / (Correction Factor × Serum Mg × Urine Cr)] × 100. Values and interpretation should be used with clinical context.

Expert Guide: Calculating Magnesium Fractional Excretion in Clinical Practice

Magnesium is one of the most clinically under-recognized electrolytes, even though it influences neuromuscular function, cardiac rhythm stability, glucose metabolism, and vascular tone. When a patient presents with hypomagnesemia, the key practical question is often simple: is magnesium being lost by the kidney, or is the problem mostly reduced intake, gastrointestinal loss, or redistribution? Fractional excretion of magnesium, commonly called FEMg, is one of the most useful bedside calculations for this decision.

FEMg is similar in concept to other fractional excretion calculations used in nephrology. It estimates the percentage of filtered magnesium that is ultimately excreted into urine. In situations where serum magnesium is low, a healthy kidney generally conserves magnesium aggressively. If FEMg remains inappropriately high despite hypomagnesemia, renal magnesium wasting becomes much more likely.

Why FEMg is useful

  • Helps distinguish renal from extrarenal magnesium losses.
  • Supports medication review when renal wasting is suspected.
  • Guides intensity of replacement and monitoring frequency.
  • Adds objective data when recurrent hypomagnesemia has unclear cause.

Core formula and physiologic correction

The most commonly used formula is:

FEMg (%) = [(Urine Mg × Serum Creatinine) / (0.7 × Serum Mg × Urine Creatinine)] × 100

The 0.7 factor is used because only about 70 percent of circulating magnesium is ultrafilterable at the glomerulus, while the rest is protein-bound and not freely filtered. Some references present formulas without this factor, but in everyday nephrology workflows, applying the correction is generally preferred because it aligns better with magnesium physiology.

Practical steps before calculating

  1. Confirm that serum and urine values are sampled close in time.
  2. Ensure magnesium units are compatible, then convert if necessary.
  3. Ensure creatinine units are also compatible, then convert if necessary.
  4. Use positive numeric values and avoid zero denominator inputs.
  5. Interpret FEMg only in context of serum magnesium and patient status.

A spot urine sample is usually sufficient for FEMg, especially in acute-care settings. While 24-hour urine magnesium can provide additional information, it is less convenient and may be affected by collection errors. For many clinical questions, a same-time serum and spot urine panel is adequate for first-line interpretation.

Interpretation framework used at the bedside

In hypomagnesemia, common cutoffs are:

  • FEMg below 2%: suggests appropriate renal conservation and points toward extrarenal loss or low intake.
  • FEMg 2% to 4%: intermediate zone; can be mixed physiology, partial renal loss, or timing effect.
  • FEMg above 4%: strongly suggests renal magnesium wasting in most contexts.

These thresholds are not absolute. They perform best when paired with medication history, volume status assessment, acid-base context, and concurrent electrolytes such as potassium and calcium. A patient on loop diuretics or cisplatin, for example, may have clear renal magnesium loss even if a single sample is near the intermediate zone.

Comparison table: bedside interpretation of FEMg ranges

FEMg Range Typical Interpretation (especially if serum Mg low) Common Clinical Context Action Focus
< 2% Kidney conserving magnesium appropriately Poor intake, malabsorption, diarrhea, proton pump inhibitor effect in some patients Replace magnesium, investigate gut loss and diet pattern
2% to 4% Borderline or mixed pattern Early renal wasting, partial treatment response, fluctuating volume status Repeat testing, review trend and medication exposures
> 4% Inappropriately high urinary magnesium excretion Diuretics, tubular disorders, nephrotoxins, post-transplant effects Address renal cause, adjust offending drugs, consider nephrology input

Real-world epidemiology and why this calculation matters

Hypomagnesemia is common in hospital medicine, and this prevalence is one reason FEMg has high practical value. Across inpatient populations, published estimates often place hypomagnesemia roughly around 10% to 20%, with significantly higher rates in critical care cohorts. Many ICU studies report prevalence figures that can approach 50% or more, depending on severity definition and population type. This means a large number of patients can benefit from structured magnesium-loss evaluation.

Drug-associated renal wasting is also common. Cisplatin exposure has repeatedly been associated with substantial magnesium wasting, with hypomagnesemia reported in a large fraction of treated patients. Chronic diuretic therapy, particularly loop and thiazide combinations, is another major contributor. Calcineurin inhibitors in transplant medicine can also impair tubular magnesium handling.

Comparison table: selected published prevalence ranges relevant to FEMg decisions

Clinical Setting Reported Statistic Why FEMg Helps Clinical Takeaway
General hospitalized adults Hypomagnesemia frequently reported around 10% to 20% Distinguishes low intake or gastrointestinal loss from renal wasting Useful early test when magnesium remains low despite replacement
ICU populations Published ranges often near 20% to 60%, varying by definition and cohort Clarifies persistent loss pattern during complex critical illness Supports targeted replacement strategy and cause-specific treatment
Cisplatin-treated oncology patients Hypomagnesemia reported in many cohorts, often substantial and sometimes over 40% Can document renal wasting physiology during therapy Helps justify proactive monitoring and more aggressive repletion

Unit consistency: the most common source of calculation error

The single most frequent mistake in FEMg calculation is mixing units. If serum magnesium is in mmol/L and urine magnesium is in mg/dL without conversion, the result can be very misleading. The same is true for creatinine units. The calculator above includes built-in conversion support for common unit sets:

  • Magnesium: mmol/L converted to mg/dL using 1 mmol/L = 2.43 mg/dL.
  • Creatinine: umol/L converted to mg/dL using mg/dL = umol/L / 88.4.

In quality-improvement projects, enforcing unit-standardized order sets can significantly reduce misinterpretation and unnecessary repeat testing.

Medication clues that increase suspicion for renal magnesium loss

  • Loop diuretics and thiazide diuretics.
  • Platinum chemotherapy such as cisplatin.
  • Calcineurin inhibitors like tacrolimus and cyclosporine.
  • Certain antimicrobials and other tubular toxins.

A high FEMg in these settings often shifts management from simple replacement toward cause modification, such as dose adjustment, substitution, interval reassessment, or nephrology collaboration.

How to integrate FEMg with the rest of electrolyte workup

Magnesium, potassium, and calcium are tightly linked. Refractory hypokalemia often improves only after magnesium correction. Therefore, FEMg should not be interpreted in isolation. Pair it with serum potassium trends, acid-base profile, and urinary electrolyte patterns. In a patient with persistent hypokalemia plus elevated FEMg, renal tubular dysfunction becomes a stronger unifying diagnosis.

If chronic kidney disease is present, interpretation can become less straightforward because filtered load changes and tubular handling may be altered. The value is still useful, but trend-based interpretation usually performs better than a single isolated point.

Common pitfalls

  1. Calculating FEMg when serum magnesium is normal and over-interpreting a mild elevation.
  2. Ignoring recent IV magnesium administration before urine sampling.
  3. Using outdated or non-simultaneous serum and urine values.
  4. Failing to review diuretic timing relative to specimen collection.
  5. Treating a threshold as absolute instead of clinical probability.

When to repeat FEMg

Repeat testing is reasonable when the initial value falls in the intermediate range, when sampling conditions were uncertain, or when therapy has changed significantly. For instance, if a diuretic was held or nephrotoxic exposure reduced, repeat FEMg can confirm whether renal wasting is improving.

Authoritative references for deeper reading

Bottom line

Calculating magnesium fractional excretion is one of the most useful and practical ways to identify the source of magnesium loss. When performed with correct units, simultaneous serum and urine values, and physiologic correction, FEMg can quickly separate likely renal wasting from extrarenal causes. This improves diagnostic precision, reduces trial-and-error replacement, and supports more targeted treatment plans.

Leave a Reply

Your email address will not be published. Required fields are marked *