how do you calculate the percent composition by mass?
The equation for percent composition is (mass of element/molecular mass) x 100. Find the molar mass of all the elements in the compound in grams per mole. Find the molecular mass of the entire compound. Divide the component's molar mass by the entire molecular mass.