The mass percent of a component in a mixture (like a solution or a compound) can be found using a simple formula:
Mass Percent = (Mass of Component / Total Mass of Mixture) x 100%
Here's a breakdown of the formula and how to use it:

Mass of Component: This refers to the weight or mass of the specific element or compound you're interested in (solute in a solution or a single element in a compound).

Total Mass of Mixture: This is the total weight or mass of everything in the mixture, including the component you're looking for and any other elements or compounds present (solvent in a solution or the combined weight of all elements in a compound).
Steps to find Mass Percent:

Gather your data: You'll need the mass of the component you're interested in (let's call it component A) and the total mass of the mixture.

Apply the formula:

Divide the mass of component A (solute/element) by the total mass of the mixture.

Multiply the result by 100% to express the answer as a percentage.
Here's an example:
Imagine you have a solution with 5 grams of salt (component A) dissolved in 100 grams of water (total mixture).

Mass of component A (salt): 5 grams

Total mass of mixture: 100 grams (5 grams of salt + 95 grams of water)
Find the mass percent of salt (component A):

Mass Percent of Salt = (5 grams / 100 grams) x 100%

Mass Percent of Salt = 0.05 x 100%

Mass Percent of Salt = 5%
Therefore, the salt (component A) makes up 5% of the total mass of the solution.
Additional Tips:

Make sure you use the same units of measurement (grams, kilograms, etc.) for both the mass of the component and the total mass of the mixture.

You can use this formula to find the mass percent of any component in a mixture, as long as you know its mass and the total mass of the mixture.