Here we're going to say that mass percent, also known as weight percent, is a percentage of a given element in a compound. Now we're going to say here it deals with the molar mass N grams of the selected element and one mole of the compound.
So this translates to say that mass percent equals the mass or grams of an element divided by the grams of the compound and then multiplying that by 100. Using this helps us to determine the percent composition of any particular element within a given compound.
Mass percent = Mass of element Mass of compound × 100