Skip to main content
Calctrove Calctrove

Grams to Moles Calculator

Grams to moles calculator

Convert sample mass to mol, mmol, and smaller amount units.

InputsFormula massg to molLive

Quick mass

Chemical amount

1.0000 mol

Formula mass

1.0000 mol

Sodium chloride - NaCl

Mass

58.440 g

Molar mass

58.440 g/mol

Entities

6.0222e23

Equation

58.440 g / 58.440 g/mol = 1.0000 mol

Molar mass is calculated from conventional standard atomic weights.

Element composition and molar-mass provenance

Formula parsing supports nested groups and hydrates.

Cl x 1

35.45000 g/mol, 60.661%

Na x 1

22.98977 g/mol, 39.339%

Formula
n = m / M

Symbol legend

Symbol Meaning Unit Copy
n Amount of substance mol
m Mass of sample g
M Molar mass of compound g/mol
  • Convert the entered g, mg, ug, or kg sample mass to grams.
  • Calculate molar mass from the case-sensitive formula or use a supplied custom value.
  • Divide grams by g/mol, then convert moles to the selected amount unit.
Example

Worked example: 58.44 mg NaCl

  1. 1 Mass m = 58.44 mg = 0.05844 g
  2. 2 NaCl molar mass M is approximately 58.44 g/mol
  3. 3 n = m / M = 0.05844 / 58.44 = 0.001 mol

58.44 mg of NaCl is approximately 1.00 mmol.

How
  1. Choose Chemical formula for a compound lookup or custom formula, or Known molar mass for an external value.
  2. Enter sample mass and choose g, mg, ug, or kg.
  3. Choose the output amount unit and significant figures.
  4. Read moles, normalized mass, molar mass, entity count, and the equation used.
Avoid
  • Using an anhydrous formula for a hydrated reagent.
  • Ignoring case sensitivity in element symbols.
  • Mixing mg and g before dividing by molar mass.
  • Treating average atomic weights as exact for isotopically labeled material.
  • Using measured gross mass without accounting for assay or purity.

Ref only. Verify values. Follow lab safety.

FAQ
Do I need molar mass to convert grams to moles?

Yes, but this calculator can derive it from a supported chemical formula or use a custom g/mol value.

Can it parse parentheses and hydrate formulas?

Yes. It supports nested parentheses or brackets and hydrate notation such as CuSO4.5H2O.

Can I use this for solution concentration directly?

Use the mole result with solution volume in liters in the Molarity Calculator. Verify formula, hydration state, purity, and units first.

Switch
Switch12