What is percentage by mass?
Percentage by mass tells you what share of a compound's mass comes from one element. Multiply the element's relative atomic mass by the number of its atoms in the formula, divide by the compound's relative formula mass and multiply by 100. In water, H₂O (Mr = 18), oxygen contributes 16, so it is 16 ÷ 18 × 100 = 88.9% of the mass, and hydrogen is the other 11.1%.
It is used to compare fertilisers, to see which supplies the most nitrogen per kilogram, and to choose the best ore for extracting a metal. Working backwards, chemists use measured percentages to find an empirical formula. Because it depends only on the formula, the percentage is the same for a gram or a tonne of the compound.
A worked intuition: in magnesium oxide, MgO (Mr = 40), magnesium accounts for 24 of the 40 units of mass, so it is 60% by mass and oxygen is 40%. The percentages of all the elements in a compound add up to 100%; if yours come to 99.9% or 100.1%, that is just rounding.
