J.R. S. answered 06/09/17
Tutor
5.0
(145)
Ph.D. University Professor with 10+ years Tutoring Experience
You need only to have the chemical formula to calculate the percent composition by mass.
If you know each element in the formula, then you can calculate total molar mass of the compound. Once you have that value, you can calculate the percent by mass of each individual element by dividing its mass by the total mass and multiplying by 100%.