Home / All calculators / Biology & Chemistry

Grams to Moles Calculator

Convert a sample mass in grams to amount of substance in moles using its molar mass.

Enter your values

Formula

Amount (mol) = mass (g) ÷ molar mass (g/mol).

How to use this calculator

  1. Enter each value in the unit shown.
  2. Check that isotope abundances, masses or formula inputs are consistent.
  3. Select Calculate to view the result and intermediate values.

Worked example

The pre-filled values are an illustrative example. Change the inputs to explore how the formula responds.

Assumptions and limitations

Convert a sample mass in grams to amount of substance in moles using its molar mass. The output is an educational estimate based on the displayed formula and included atomic-weight data. Unknown elements are not inferred; verify important chemistry work independently.

Updated: 17 November 2026. Inputs are processed in your browser.

Frequently asked questions

What formula does this calculator use?

Amount (mol) = mass (g) ÷ molar mass (g/mol).

Are my inputs uploaded?

The calculation runs in your browser; form values are not submitted to Friendly Calculator.