Science & engineering

Mass & moles calculator

Convert a mass and molar mass into amount of substance, or back.

Mass & moles calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Moles = mass in grams ÷ molar mass in g/mol. In the other direction, mass = moles × molar mass. You supply the molar mass and purity is assumed to be 100%; chemical composition is not inferred.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Amount
18
Molar mass (g/mol)
18.01528
Input amount is
Mass in grams

Example result

Amount (mol)
0.999151831112