Active experiment

Moles, Mass, and Molar Mass Calculator

Calculate moles, mass, and molar mass with validated inputs, formula substitution, and worked steps.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the moles, mass, and molar mass calculation mean?

Amount of substance in moles connects a sample’s mass to the number of chemical entities it contains. Molar mass supplies the bridge in grams per mole.

When to use it

Use it to convert between measured mass and chemical amount after determining the compound’s molar mass.

Formula

n = m / M

In plain text: n = m / M

Variables and units

SymbolMeaning
namount in moles
msample mass, commonly grams
Mmolar mass, commonly g/mol

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

Water has molar mass about 18.015 g/mol. A 36.03 g sample contains n = 36.03/18.015 = 2.000 mol.

Common mistakes

  • Distinguish lowercase m for mass from uppercase M for molar mass.
  • Include every atom indicated by subscripts.
  • Use compatible mass units.

Interpret the result

The unit check g ÷ (g/mol) leaves mol.