Fractional Excretion of Magnesium (FEMg) Calculator
Estimate renal magnesium handling with an evidence-based formula used in nephrology and critical care.
Enter values and click Calculate FEMg to see your result and interpretation.
Complete Guide to the Fractional Excretion of Mg Calculator
The fractional excretion of magnesium calculator, often written as a FEMg calculator, is a practical bedside and outpatient tool that helps clinicians understand whether the kidneys are appropriately conserving magnesium or wasting it. Magnesium disorders are common in internal medicine, nephrology, endocrinology, cardiology, and critical care. Because magnesium is mostly intracellular and tightly regulated, serum magnesium alone may miss the full physiologic picture. Fractional excretion adds context by combining blood and urine measurements.
In a patient with low serum magnesium, FEMg can help answer a high value clinical question: is the magnesium deficit primarily due to renal loss or non-renal causes such as poor intake or gastrointestinal loss? This distinction changes treatment strategy, medication review, long-term monitoring, and in some cases specialty referral.
What FEMg Measures
Fractional excretion describes the percentage of a filtered substance that appears in the urine. For magnesium, FEMg estimates how much of the filtered magnesium load is ultimately excreted. The commonly used equation is:
FEMg (%) = [(Urine Mg × Serum Cr) / (0.7 × Serum Mg × Urine Cr)] × 100
The 0.7 term adjusts for the fraction of plasma magnesium that is freely filterable at the glomerulus. Some institutions may use slightly different assumptions, but the 0.7 correction is widely taught in nephrology practice.
Why This Calculator Is Clinically Useful
- Improves evaluation of hypomagnesemia by identifying likely renal vs non-renal losses.
- Supports medication safety review for agents associated with renal magnesium wasting (for example loop diuretics, some calcineurin inhibitors, and certain targeted therapies).
- Helps interpret magnesium physiology in complex states such as acute kidney injury recovery, transplant medicine, or uncontrolled diabetes.
- Provides a repeatable metric for trend monitoring, not just single-point serum concentration.
How to Use the Calculator Correctly
- Collect serum magnesium and serum creatinine from the same clinical window as spot urine magnesium and urine creatinine.
- Enter values with units exactly as reported. This calculator supports mg/dL and mmol/L for magnesium, and mg/dL and µmol/L for creatinine.
- Keep the 0.7 ultrafilterable correction enabled unless your local protocol specifies otherwise.
- Interpret the result in patient context: volume status, kidney function trajectory, medications, acid-base status, and associated electrolyte abnormalities.
Practical Interpretation Ranges
Interpretation differs slightly by institution, but common clinical thresholds are shown below. These ranges are best applied in patients with low or borderline serum magnesium.
| FEMg Value | Typical Interpretation | Common Clinical Context |
|---|---|---|
| < 2% | Appropriate renal conservation | Non-renal loss likely (diarrhea, poor intake, redistribution, malabsorption) |
| 2% to 4% | Intermediate or mixed picture | Early renal loss, partial supplementation effect, mixed GI and renal contributors |
| > 4% | Inappropriate renal magnesium wasting | Diuretics, tubulopathy, drug effect, post-transplant tubular dysfunction, recovery from AKI |
Magnesium and Kidney Disease: Why Population Data Matters
A calculator is strongest when users understand disease prevalence and clinical impact. In the United States, chronic kidney disease and acute kidney injury are common, and both conditions affect electrolyte handling. FEMg should be interpreted with this broader epidemiologic context in mind:
| National Metric | Reported Statistic | Source |
|---|---|---|
| Adults in the U.S. living with CKD | ~35.5 million (about 1 in 7 adults) | CDC kidney disease resources |
| Awareness among people with CKD | About 9 in 10 adults with CKD do not know they have it | CDC public health reporting |
| AKI during hospitalization | Up to 1 in 5 adults and 1 in 3 children hospitalized may develop AKI | NIDDK clinical education |
Statistics above are presented to support risk context and clinical vigilance when evaluating renal electrolyte handling.
Common Clinical Scenarios Where FEMg Helps
Scenario 1: Refractory hypokalemia. Magnesium deficiency often worsens potassium wasting. If potassium replacement seems ineffective, checking magnesium status and FEMg can reveal ongoing renal magnesium loss that must be corrected to stabilize potassium.
Scenario 2: Persistent low magnesium on oral supplements. A high FEMg suggests that oral replacement alone may be insufficient without removing the trigger for renal wasting, adjusting medications, or planning alternative replacement strategies.
Scenario 3: Polypharmacy in older adults. Patients taking diuretics, proton pump inhibitors, and nephroactive drugs can develop multifactorial magnesium deficits. FEMg can reduce diagnostic uncertainty and avoid delayed intervention.
Scenario 4: Nephrology follow-up in tubular disorders. Inherited or acquired tubulopathies can lead to chronic magnesium wasting. FEMg trends can be useful for treatment titration and longitudinal monitoring.
Important Pitfalls and Limitations
- Timing mismatch: blood and urine samples should be collected close together for meaningful interpretation.
- Rapidly changing renal function: in unstable AKI, single measurements can be harder to interpret.
- Recent magnesium infusion: intravenous replacement shortly before testing can transiently elevate urinary magnesium excretion.
- Unit errors: incorrect conversion between mmol/L and mg/dL can create major interpretation errors.
- Context dependence: FEMg does not replace clinical judgment, medication review, and full electrolyte assessment.
How This Calculator Converts Units
To improve reliability, this calculator internally converts all values to mg/dL before applying the formula. Magnesium conversion uses the molecular relationship between mmol/L and mg/dL. Creatinine conversion uses the conventional factor between mg/dL and µmol/L. This approach reduces math mistakes and enables consistent interpretation across laboratory reporting systems.
Comparison With Other Fractional Excretion Tests
Clinicians frequently use fractional excretion of sodium (FENa) and sometimes fractional excretion of urea (FEUrea) for AKI pattern recognition. FEMg serves a different purpose. Instead of classifying prerenal vs intrinsic AKI alone, FEMg is focused on magnesium handling and especially helpful in difficult hypomagnesemia workups. In practice, these tests are complementary and should be interpreted together when needed.
Best Practices for Clinical Documentation
- Document all four analytes and units: serum Mg, urine Mg, serum Cr, urine Cr.
- State whether the 0.7 correction factor was used.
- Include interpretation language tied to the patient’s current serum magnesium and clinical setting.
- List likely contributors such as GI loss, diuretics, alcohol use disorder, uncontrolled diabetes, or tubular injury.
- Define follow-up: repeat labs, medication changes, replacement route, and reassessment timeline.
Authoritative References for Further Reading
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK): Kidney Disease Information
- Centers for Disease Control and Prevention (CDC): Kidney Disease
- MedlinePlus (.gov): Magnesium Testing Overview
Final Clinical Takeaway
The fractional excretion of magnesium calculator is more than a numeric tool. It is a decision support aid that helps connect basic chemistry, kidney physiology, and bedside care. When used with accurate units, synchronized specimens, and thoughtful interpretation, FEMg can sharpen diagnosis, prevent treatment delay, and improve outcomes in patients with magnesium imbalance. Use the number as a guide, not in isolation: always combine FEMg with history, exam findings, medication review, kidney function trends, and repeat testing when appropriate.