Grams to Moles Calculator

Convert a compound's measured mass to chemical amount in moles and estimate its number of molecules, atoms, ions, or formula units.

Grams to moles conversion
Divide sample mass by molar mass for a direct stoichiometric conversion.

About converting grams to moles

The mole connects a measurable laboratory mass to the microscopic number of chemical entities taking part in a reaction. One mole contains exactly 6.02214076 × 10²³ specified entities, the Avogadro constant. Depending on the substance, those entities may be atoms, molecules, ions, electrons, or formula units. Chemists use moles because balanced equations describe particle ratios, while balances and scales measure mass. To convert grams to moles, divide mass by molar mass: n = m ÷ M. Mass m is entered in grams, molar mass M in grams per mole, and the quotient n is in moles. The units cancel cleanly because grams divided by grams per mole leaves moles. The calculator also multiplies the resulting amount by the Avogadro constant to estimate the corresponding entity count. Molar mass is the mass of one mole of a substance. For an element, use its atomic mass from the periodic table. For a compound, add the atomic masses of every atom represented by its chemical formula, including subscripts and parentheses. Water has a molar mass near 18.015 g/mol because it contains two hydrogen atoms and one oxygen atom. Carbon dioxide is near 44.01 g/mol because it contains one carbon and two oxygen atoms. Accuracy depends on using the correct chemical formula and appropriate molar mass. Hydrates, isotopically enriched materials, salts with variable water content, and mixtures require special care. A sample's measured mass may also include solvent, impurities, or container tare. Keep extra digits during the calculation, then report the answer with significant figures consistent with the least precise input. Atomic weights are interval values for some naturally occurring elements, so different tables may differ slightly in their last digits. Once mass has been converted to moles, balanced reaction coefficients can be used to determine required reactants or expected products. The same relationship can be rearranged to find mass from moles by multiplying by molar mass. This calculator is useful for stoichiometry homework, reagent preparation, analytical chemistry, solution planning, and quick inventory conversions. It provides transparent results but does not identify a compound or infer molar mass from a formula, so verify the molar-mass input before relying on the answer.

Grams to moles examples

Common compounds demonstrate the mass-to-amount relationship.

InputsResultExplanation
36.03 g H₂O; 18.015 g/mol2 molThe sample contains twice the molar mass of water.
22.005 g CO₂; 44.01 g/mol0.5 molHalf the molar mass corresponds to half a mole.
58.44 g NaCl; 58.44 g/mol1 molOne molar mass gives one mole of formula units.
12.011 g C; 12.011 g/mol1 molThis represents approximately one Avogadro constant of carbon atoms.

How to use the grams to moles calculator

  1. Measure the sample mass and enter it in grams.
  2. Find the substance's molar mass from its formula or a trusted reference and enter grams per mole.
  3. Select Convert grams to moles to divide mass by molar mass.
  4. Use the displayed mole amount and estimated particle count in subsequent stoichiometric work.

Grams to moles FAQ

What formula converts grams to moles?

Divide the mass in grams by the molar mass in grams per mole. The resulting unit is moles because the gram units cancel.

How do I find molar mass?

Add the periodic-table atomic masses for every atom in the chemical formula. Multiply each atomic mass by its subscript before summing.

What is the difference between molecular mass and molar mass?

Molecular mass describes one molecule in unified atomic mass units, while molar mass describes one mole in grams per mole. Their numerical values are usually the same for a given formula.

How many particles are in one mole?

One mole contains exactly 6.02214076 × 10²³ specified entities. You must state whether those entities are molecules, atoms, ions, or formula units.

Can I use milligrams directly?

Convert milligrams to grams by dividing by one thousand before using a molar mass in grams per mole. Mixing mass units would scale the answer incorrectly.