Grams to Moles Calculator
ChemistryConvert grams to moles using the molar mass of any substance. Enter the mass and molar mass to get the number of moles instantly with working shown.
Reviewed by the thecalcu.com team · Last updated July 5, 2026
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.
Why Use a Grams to Moles Calculator?
The conversion itself involves only one arithmetic operation (division), but errors still occur frequently, particularly when students forget to use molar mass rather than atomic mass, or confuse the formula unit mass of an ionic compound with the molecular mass. An off-by-one error in counting atoms when summing molar mass also propagates directly into the mole count.
This calculator eliminates arithmetic errors and lets you:
- Verify stoichiometry working: Quickly confirm the mole count for a reactant before applying balanced equation ratios.
- Prepare solutions: Find moles first, then use them in the Molarity Calculator or Molality Calculator to plan how much solvent to add.
- Cross-check lab measurements: After weighing out a substance, confirm how many moles you have before proceeding with a reaction.
- Speed through exam problems: The two-field input and instant output save time during timed tests where the grams-to-moles step is just the beginning of a longer problem.
Who Should Use This Calculator?
Class 11 and 12 students learning the mole concept need to perform grams-to-moles conversions dozens of times across different chapters. Having an instant, reliable tool to verify answers builds both speed and confidence before examinations.
JEE Main and Advanced aspirants encounter this conversion as the first step in stoichiometry questions, solution concentration problems, and electrochemistry (calculating mass deposited using Faraday's laws). Using this tool to check intermediate steps prevents compound errors in multi-part problems.
NEET students need grams-to-moles conversion for biological chemistry questions, for example, finding the moles of a substrate in a Michaelis-Menten problem or the concentration of a physiological saline solution.
Undergraduate chemistry and pharmacy students use this conversion daily in lab sessions and practicals. Pair it with the Mole Calculator when molecule counts are also needed, or with the Mole Fraction Calculator when preparing multi-component mixtures.
Laboratory technicians who weigh out reagents for quality control, synthesis, or analytical work benefit from a fast verification tool that removes the chance of a molar mass arithmetic error.
What Insights Does the g to mol Calculator Give You?
Moles (mol) is the primary output, the number of moles contained in your entered mass of substance. This is the value to carry forward into balanced-equation ratios, ideal gas calculations, and concentration formulas. A larger molar mass substance yields fewer moles per gram; a lighter substance yields more.
Molar Mass Used (g/mol) echoes back the molar mass you entered, confirming which value was applied to the calculation. This is particularly useful when working with multiple substances in sequence, preventing you from accidentally carrying over the molar mass from a previous calculation. If this number looks wrong, correct it before using the moles result downstream.
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.
Show formula & methodology ↓Show less ↑
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