Not entirely sure what you want to know, but I presume that you refer to Mg(NH4)PO4.6H2O (mw 245.4065 g/mol).
Meaning that 1 mol of Mg(NH4)PO4.6H2O weight 245.4065 g and contains 1 mol Mg2+ (24,305 g), 1 mol NH4+ (18.039), 1 mol PO43- (94.9714 g) and 6 mol H2O (6 x 18,01528 g).