Quantification of phosphate levels in a sample. The trait is phosphate measurement (EFO_0010968).