Flexi Says: The percent composition of a compound can also be determined from the formula of the compound.  The subscripts in the formula are first used to calculate the mass of each element in one mole of the compound.  That is divided by the molar mass of the compound and multiplied by 100%.