The percent composition is the percent by mass of each element in a compound.
Percent composition is important because it allows us to determine the percentage of each element that makes up a specific compound.
Formula to calculate percent composition.

Example:
Determine the percent composition of sodium in sodium hydroxide.

Thus, the percent composition in sodium is 57.5%.