Calcium, phosphate, and magnesium flux between body compartments. Calcium (A), phosphate (B), and magnesium (C) balance is a complex process involving bone, intestinal absorption of dietary calcium, phosphate, and magnesium, and renal excretion of calcium, phosphate, and magnesium.