What is the formula mass of Ca3PO42?

The formula mass of Ca3(PO4)2 is 3(40.1) + 2[31.0 + 4(16.0)] = 310.3

The atomic masses of the individual elements can be obtained from the perodic table.