Grams to Moles Calculator
ChemistryConvert grams to moles using the molar mass of any substance. Enter the mass in grams and the molar mass to get the number of moles instantly with working shown.
Moles (mol)
What is a g to mol?
The Grams to Moles Calculator converts the mass of a chemical substance in grams into the number of moles — the chemist's unit for counting particles in bulk. This single conversion step is the gateway to virtually every quantitative chemistry calculation: stoichiometry, concentration, gas law problems, and electrochemistry all require moles rather than grams as the starting quantity.
The relationship between grams and moles is defined by molar mass. The molar mass of a substance (measured in g/mol) is the mass of exactly one mole of that substance, and it equals the sum of the atomic masses of all atoms in one formula unit. For water (H₂O), the molar mass is 18.015 g/mol; for sodium chloride (NaCl), it is 58.44 g/mol. Dividing the mass in grams by the molar mass gives the number of moles directly.
Indian chemistry students first encounter this conversion in NCERT Class 11 Chapter 1 (Some Basic Concepts of Chemistry), where it is introduced alongside the mole concept and Avogadro's number. The calculation appears in CBSE board practicals, JEE Main Paper 1, JEE Advanced, and NEET — typically as the first step in multi-part problems on stoichiometry or solutions. Getting this step right sets up all subsequent calculations correctly.
In practical and industrial settings, grams-to-moles conversion is used whenever reagents must be weighed accurately for a reaction: a chemist synthesising a compound, a pharmacist compounding a medicine, or a food technologist preparing a flavour concentrate all rely on this calculation to ensure correct proportions. For the next step after finding moles — calculating the concentration of a solution — use the Molarity Calculator.
How to use this g to mol calculator
- Enter the Mass — type the mass of your substance into the Mass field, in grams (g). This is the actual mass you have measured or are given in a problem. For example, for 250 g of CaCO₃, enter 250.
- Enter the Molar Mass — type the molar mass of the substance into the Molar Mass field, in g/mol. For CaCO₃: Ca (40.078) + C (12.011) + 3 × O (15.999) = 100.086 g/mol. Look up atomic masses from the periodic table and sum them for the formula.
- Read Moles (mol) — the highlighted result shows the number of moles corresponding to your mass input. Use this value in balanced equation stoichiometry, concentration calculations, or gas law problems.
- Verify the Molar Mass Used — check that the Molar Mass Used (g/mol) output matches what you intended to enter. If it shows a different value, correct the input and recalculate.
- Expand the steps — click the steps panel to see the formula and arithmetic written out explicitly: moles = mass ÷ molar mass. This is the working you need for exam answers or lab reports.
- Proceed to the next calculation — use the moles value in whatever comes next: apply balanced equation ratios for stoichiometry, substitute into PV = nRT for gas problems, or input into the Molarity Calculator for concentration.
Formula & Methodology
Grams to moles formula: > n = m ÷ M_r Where: - n = number of moles (mol) - m = mass of substance (g) - M_r = molar mass of substance (g/mol) To reverse (moles to grams): > m = n × M_r Worked example 1 — Water: Convert 270 g of water (H₂O, M_r = 18.015 g/mol) to moles. - n = 270 ÷ 18.015 = 14.988 mol ≈ 15 mol 15 moles of water is the amount present in 270 g of water — a quantity that at 1 M concentration would fill 15 litres of solution. Worked example 2 — Calcium carbonate (CaCO₃): A chemistry student weighs out 50 g of CaCO₃ (molar mass = 100.086 g/mol) for a reaction. - n = 50 ÷ 100.086 = 0.4996 mol ≈ 0.5 mol From the balanced equation CaCO₃ → CaO + CO₂, 0.5 mol of CaCO₃ produces 0.5 mol of CO₂ — approximately 0.5 × 44.01 = 22 g of carbon dioxide gas at standard conditions.
Frequently Asked Questions