The chemical formula of ammonium phosphate is (NH4)3PO4. There is 34=12 Hydrogen atom in one molecule ammonium phosphate. The total mass of one molecule is (14+4)3+31+164=149. The mass of hydrogen atoms in one molecule is 34=12. So the mass percent of hydrogen is 12/149*100%=8.05%