quantification of the ratio of magnesium to calcium in a sample, typically a urine sample, a proxy measure for the differential handling by the renal tubule and excretion of Ca2+ and Mg2+. The trait is Experimental Factor Ontology term EFO_0007903 (magnesium:calcium ratio).