molecalculator

Moles & Molar Mass

Molar Mass to Mass Percentage Calculator

Calculator No. 01-0111 · Updated · Formula and assumptions shown below

Element mass percentage 39.34 %
Amount of compound
1.0000 mol
= Compound mass ÷ Molar mass
Element mass in sample
22.9900 g
= Compound mass × Element mass per mole of compound ÷ Molar mass
Compound mass
58.44 g
Set in the form below
You enter
Compound mass (g), Molar mass (g/mol), Element mass per mole of compound (g/mol)
You get
Element mass percentage (%), Amount of compound (mol), Element mass in sample (g)
Rounding
2 dp · 4 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator converts the mass of a compound and its molar mass into the amount in moles, then reports the mass percentage of a selected element in that compound. Enter the compound’s mass, molar mass, and the element’s total mass contribution per mole; the result is the element’s percentage by mass.

Formula

Mass percentage is the mass of a chosen element in the compound divided by the compound’s molar mass, multiplied by 100:

Element mass percentage (%) = (element mass per mole of compound, em / molar mass, mm) × 100

  • em is the total mass, in grams per mole, contributed by the chosen element in one mole of compound.
  • mm is the compound’s molar mass in g/mol.
  • m is the compound sample mass in grams.

The percentage depends on the chemical formula and the element selected, not on how much of the compound is in the sample. The other outputs show the sample amount, n = m / mm, and the mass of the selected element in the sample, m × em / mm.

To calculate em from a formula, add the atomic masses for every atom of the selected element in one formula unit. For example, NaCl has one sodium atom per formula unit, so em for sodium is 22.990 g/mol. The calculator uses the compound molar mass as entered; for a compound with a different formula, replace the example defaults with suitable values.

Worked Example

For the defaults, the compound is sodium chloride, NaCl. Its molar mass is 58.44 g/mol, and sodium contributes 22.990 g/mol. The sample mass is 58.44 g.

  1. Find sodium’s mass percentage: (22.990 g/mol ÷ 58.44 g/mol) × 100 = 39.3395…%, which rounds to 39.34%.
  2. Find the amount of compound: 58.44 g ÷ 58.44 g/mol = 1.0000 mol.
  3. Find sodium’s mass in the sample: 58.44 g × 22.990 g/mol ÷ 58.44 g/mol = 22.990 g.

Assumptions

  • The sample is a pure compound with the chemical formula used to determine its molar mass and element contribution.
  • The entered molar mass and element contribution use compatible units of g/mol.
  • The calculation concerns composition by mass, not solution concentration, purity, or the percentage of a compound in a mixture.

How to Use the Calculator

First identify the compound’s formula, then calculate or look up its molar mass. Next decide which element’s percentage you need and calculate that element’s total contribution to one mole of the compound. Enter the sample mass if you also want the amount in moles and the element mass in that sample. The percentage result is unchanged if you enter a different sample mass while keeping the same compound values.

For a formula containing multiple atoms of the selected element, multiply its atomic mass by the number of those atoms. In sulfuric acid, H2SO4, oxygen contributes 4 × 15.999 = 63.996 g/mol. The element percentage is then 63.996 divided by the molar mass of H2SO4, multiplied by 100. For a hydrate or another formula containing more than one kind of constituent, include every atom shown in the complete formula when determining the compound molar mass.

What the Percentage Means

A result of 39.34% means that, by mass, 39.34 g of every 100 g of pure sodium chloride is sodium, according to the atomic weights and molar mass used. It does not mean that 39.34% of the formula units are sodium atoms; NaCl contains one sodium and one chlorine atom per formula unit. Mass percentage and atom-count percentage answer different questions.

The sample outputs connect composition to a real weighed amount. If the 58.44 g sample is pure NaCl, it contains one mole of NaCl and 22.990 g of sodium. For a sample of 10 g, the sodium percentage remains 39.34%, while the sodium mass scales down to about 3.934 g. The calculation assumes the weighed material is the stated pure compound; impurities or moisture can change the composition of an actual sample.

Common Errors and Limits

  • Mixing units: Use g/mol for both molar mass and element contribution. Do not enter a molar mass in kg/mol while leaving the other quantity in g/mol.
  • Counting atoms incorrectly: Subscripts apply to the element immediately before them, and parentheses multiply the atoms inside them. Expand the complete formula before summing contributions.
  • Using the wrong chemical form: A hydrate, salt, isotope-labelled compound, or other specified form can have a different molar mass than the anhydrous or ordinary form.
  • Rounding too early: Keep several digits during the calculation and round the final percentage to a sensible precision. Atomic weights themselves are reported with finite precision.
  • Confusing composition with purity: The calculator determines a theoretical element fraction in a specified compound. It cannot determine whether a physical sample is pure or verify its measured composition.

For compounds whose elements have naturally varying isotopic abundances, standard atomic weights are commonly used to calculate an average molar mass. A sample enriched in a particular isotope may need isotope-specific masses instead. Likewise, results for mixtures require the amounts and compositions of the individual components; one formula and one molar mass are not enough.

Related Calculations

Molar mass converts between mass and amount: n = m / mm, where n is in moles, m in grams, and mm in g/mol. Element mass percentage adds a composition step, using the element’s formula-based contribution. If the question instead asks for an element’s mass in a known sample, use element mass = sample mass × percentage / 100. If it asks for a compound’s percentage purity, that requires information about the actual sample’s composition or an analysis; theoretical molar-mass arithmetic alone cannot supply it.

For a laboratory result, use the formula and atomic-weight convention appropriate to the material being studied. Follow your lab method, the safety data sheet (SDS), and your supervisor.

Frequently Asked Questions

How do I calculate mass percentage from molar mass?
Divide the chosen element’s total mass contribution per mole by the compound’s molar mass, then multiply by 100. Obtain the element contribution by multiplying its atomic mass by its count in the chemical formula.

Does the sample mass change the mass percentage?
No. For a pure compound, the element mass percentage is set by the formula and molar mass. Sample mass changes the total grams of the element present, not its fraction of the compound.

How do I find an element’s mass in a sample?
Multiply the sample mass by the element’s mass percentage divided by 100. For example, a 10 g sample of a compound that is 39.34% sodium contains about 3.934 g sodium if it is pure.

Is mass percentage the same as percent purity?
No. Mass percentage describes the share of a particular element within a compound. Percent purity describes how much of a specified substance is present in a real sample and generally needs measurement or additional composition data.

What if the formula includes parentheses or water of crystallization?
Count every atom in the full formula, including multipliers outside parentheses and atoms in waters of crystallization. Use the molar mass for that complete chemical form so the numerator and denominator refer to the same compound.

Related

Formula used
in m | Compound mass | g | 58.44 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in em | Element mass per mole of compound | g/mol | 22.990 | 0
out p | Element mass percentage | % | em / mm * 100 | 2
out n | Amount of compound | mol | m / mm | 4
out el | Element mass in sample | g | m * em / mm | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →