Moles to Grams Calculator
Convert moles to mass, or grams back to moles, using the molar mass of any chemical formula. See a full mole-to-mass scaling table, the number of particles, and a step-by-step solution using m = n × M.
Choose a direction, give a formula (or molar mass), then enter the known quantity.
Mass
Formula used: m = n × M
180.156 g/mol
Molar mass used
90.078 g
Mass
0.5 mol
Amount of substance
3.011e+23
Number of particles
Mole-to-mass scaling table
| Moles | Mass needed |
|---|---|
| 0.1 mol | 18.0156 g |
| 0.25 mol | 45.039 g |
| 0.5 mol | 90.078 g |
| 1 mol | 180.156 g |
| 2 mol | 360.312 g |
| 5 mol | 900.78 g |
| 10 mol | 1,801.56 g |
Handy for scaling a lab prep, recipe, or reagent order up or down without redoing the math each time.
Moles ↔ Grams ↔ Particles Pathway
See how amount of substance, mass, and the number of particles connect through the molar mass.
Moles
0.5 mol
Mass
90.078 g
Particles
3.011e+23
Molar mass in use: 180.156 g/mol · Avogadro’s number: 6.02214076 × 10²³ /mol
Step-by-Step Moles to Grams Calculation
Here's exactly how this answer was calculated, one step at a time.
Given: moles = 0.5 mol, molar mass = 180.156 g/mol
Step 1: Find the molar mass of C6H12O6
Add up the atomic mass of every atom in the formula to get the molar mass.
M = 180.156 g/molStep 2: Convert the given amount to moles
0.5 mol = 0.5 molStep 3: Apply m = n × M
m = 0.5 × 180.156 = 90.078 gStep 4: Convert to number of particles (optional)
Multiplying moles by Avogadro's number gives the number of atoms, molecules, or formula units present.
0.5 mol × 6.02214076 × 10²³ = 3.0111e+23 formula units
Result:
90.078 g
Moles to Grams Calculator: Convert Moles to Mass Online
This moles to grams calculator turns an amount of substance, given in moles, into the mass you'd actually weigh out on a balance. Type in how many moles you have, give it a chemical formula like C6H12O6 or NaOH, and it works out the molar mass automatically and hands you the grams. It runs in reverse too, so if you already know the mass and want the moles, just flip the direction.
It's built for the situation that comes up constantly in a chemistry class or a lab: a procedure, a worksheet, or a recipe for a reaction tells you the number of moles you need, but your scale reads out in grams. Rather than reaching for a periodic table and doing the multiplication by hand, this tool gives you the answer instantly, along with the working shown step by step so you can follow along or check your own calculation.
The Moles to Grams Formula
The formula for converting moles to grams is m = n × M, where m is the mass in grams, n is the number of moles, and M is the molar mass of the substance in grams per mole. It's a simple multiplication, but getting the molar mass right is where most of the actual work happens, since that number depends entirely on which atoms are in the formula and how many of each.
Take baking soda, NaOH, as an example. Its molar mass works out to roughly 40.0 g/mol. If a lab step calls for 0.75 mol of it, the mass needed is 0.75 × 40.0, which comes out to 30.0 grams. This calculator does that multiplication for you automatically, and it also shows the molar mass calculation underneath it, atom by atom, so nothing is a black box.
How to Convert Moles to Grams, Step by Step
Start by finding the molar mass of whatever you're working with. You can type a chemical formula into this calculator and it'll add up the atomic masses for you, or you can enter a molar mass directly if you've already got it from a bottle label or a textbook table. Next, make sure the number of moles you're starting with is actually in moles — convert millimoles or micromoles first if that's what you were given.
After that, it's just one multiplication: moles times molar mass gives grams. If you need the result in milligrams or kilograms instead, this calculator lets you pick the output unit so you're not doing a second conversion by hand. And if you want to know how many individual particles that mass represents, it multiplies by Avogadro's number automatically and shows that too.
Why Go From Moles to Grams in the First Place?
Chemical equations and reaction stoichiometry are written in moles, because moles are how chemists count particles that are far too small and far too numerous to count directly. But nobody can weigh out 0.5 mol of something on a scale — a scale reads mass, not amount of substance. So converting moles to grams is the step that turns a theoretical, calculated quantity into something you can physically measure and pour into a flask.
This shows up everywhere outside the classroom too. A pharmacist converting a molar dosage into a weighable tablet mass, a materials scientist scaling a synthesis from a few millimoles in a test tube up to a full batch, or a food scientist working out how much of an additive hits a target molar concentration — all of these depend on the same m = n × M relationship this calculator handles.
Grams to Moles: The Reverse Calculation
Sometimes you're working the other way — you've already weighed out a sample and you need to know how many moles that mass represents. That uses the same relationship rearranged: n = m ÷ M, dividing the mass in grams by the molar mass in grams per mole. Switch the mode in this calculator to Grams → Moles and it handles this direction just as easily, including converting your mass into grams first if you entered it in milligrams or kilograms.
This is the direction you'll use most often at the start of a stoichiometry problem: you know the mass of a reactant you're starting with, and the first thing you need is how many moles of it you actually have before you can use a balanced equation to predict how much product will form.
Scaling a Reaction Up or Down
One thing that trips people up is scaling. If a recipe or a published procedure was written for 1 mol of a reagent but you only need a tenth of that batch, you can't just guess the mass — you need to multiply the molar mass by the new mole amount. This calculator includes a built-in scaling table that shows the mass needed for several common mole amounts side by side, from 0.1 mol up to 10 mol, for whatever formula you've entered.
That table is genuinely useful for planning: if you're prepping several batches at different sizes, or you just want to sanity-check that your scaled-down mass looks reasonable, you can see the whole range at a glance instead of running the same multiplication over and over by hand.
Moles, Grams, and the Number of Particles
Once this calculator knows how many moles you're working with, it can also tell you how many actual atoms, molecules, or formula units that represents, by multiplying by Avogadro's number, 6.02214076 × 10²³. It's a genuinely enormous number — even a fraction of a mole contains a quantity of particles that's hard to picture, more than the number of stars in the observable universe, many times over.
Seeing that number next to the mass helps connect two very different ways of thinking about the same sample: a mass you can hold and weigh, and a mole amount that's really just a stand-in for an unimaginably large count of individual particles.
Common Mistakes When Converting Moles to Grams
The easiest mistake to make is mixing up the formula's direction — dividing by molar mass instead of multiplying, which gives you a number nowhere close to the right answer, often off by a factor of thousands. If your result looks strangely tiny or strangely huge for the substance you're working with, that's usually the first thing to check.
The other common slip is a unit mismatch. Molar mass is always in grams per mole, so if your mole amount is actually in millimoles or micromoles, you need to convert it to moles first, or your final mass will be off by a factor of a thousand or a million. This calculator's unit selectors are there specifically to avoid that kind of manual conversion error creeping into a lab weigh-out.
Molar Mass: The Number That Makes This Conversion Work
Every conversion between moles and grams runs through molar mass, which is the mass of one mole of a substance, expressed in grams per mole. It's calculated by adding together the atomic mass of every atom in the formula — so water, H2O, has a molar mass built from two hydrogen atoms and one oxygen atom, while something like calcium carbonate, CaCO3, adds up one calcium, one carbon, and three oxygens.
This calculator parses the formula you type in, including nested brackets and multi-digit subscripts, and calculates that molar mass automatically using standard atomic weights. If you'd rather skip that step because you already have a molar mass from a reagent bottle or a reference table, the manual entry option lets you type that number straight in.
Worked Examples: Moles to Grams in Practice
Say a titration procedure calls for exactly 0.1 mol of potassium permanganate, KMnO4. Its molar mass adds up to about 158.03 g/mol, so the mass needed is 0.1 × 158.03, which is 15.80 grams. Weigh that out on an analytical balance, dissolve it in the specified volume of water, and you've prepared the solution the procedure actually asked for, starting from a mole amount that a scale can't read directly.
Or say you're told a reaction produces 2.4 mol of carbon dioxide and you want to know what that looks like as a mass. CO2 has a molar mass of about 44.01 g/mol, so 2.4 × 44.01 works out to roughly 105.6 grams of gas. That's a big number for something you can't hold in your hand, which is part of why converting to a familiar unit like grams makes a mole amount so much easier to reason about.
One more: a supplement label states 0.02 mol of ascorbic acid (vitamin C, C6H8O6) per serving. With a molar mass of about 176.12 g/mol, that comes to 0.02 × 176.12, or about 3.52 grams — a number you could actually check against the milligram amount printed on the same label.
Moles to Grams vs. Grams to Moles: Which Direction Do You Need?
It's worth pausing to figure out which direction a problem is actually asking for, because plugging numbers into the wrong formula is the single most common source of wrong answers in this topic. If the question, procedure, or equation gives you an amount in moles and asks for a mass — something you'd weigh — you want moles to grams, using m = n × M.
If instead you're handed a mass, perhaps from a weighed sample or a bottle label, and the question wants to know how many moles that represents, you want grams to moles, using n = m ÷ M. A simple way to keep this straight: multiplying by molar mass always takes you from a mole count toward a mass, since molar mass carries units of grams per mole and multiplying by moles cancels the 'per mole' part, leaving grams. Dividing by molar mass runs that same cancellation the other way.
Using This Calculator for Lab Prep, Recipes, and Dosing
Beyond homework, this kind of mole-to-mass conversion shows up anywhere a formula, recipe, or standard is written in moles but the actual preparation happens with a scale. Preparing a molar solution for a titration, weighing out a reagent for a synthesis, or matching a pharmaceutical formulation to a target molar dose all start with exactly this calculation.
That's also why the scaling table on this page is built the way it is — instead of giving you a single answer and leaving you to redo the math for every batch size, it lays out the mass needed across a spread of mole amounts for the substance you've entered, so you can compare a small test batch against a full-size one at a glance without opening a separate spreadsheet.
Molar Mass of a Few Common Substances
A handful of substances come up so often in chemistry problems that it helps to have a rough sense of their molar mass without looking it up every time. Water, H2O, comes to about 18.02 g/mol. Table salt, NaCl, is about 58.44 g/mol. Glucose, C6H12O6, is about 180.16 g/mol. Carbon dioxide, CO2, is about 44.01 g/mol. Sodium hydroxide, NaOH, is about 40.00 g/mol, and calcium carbonate, CaCO3, is about 100.09 g/mol.
You don't need to memorise any of these — the quick-pick buttons on this calculator's formula field fill them in for you, and typing any other formula recalculates the molar mass instantly from standard atomic weights, including compounds with brackets, multi-digit subscripts, and water-of-crystallisation notation like CuSO4·5H2O.
Moles to Grams Calculator FAQ and Quick Reference
To convert moles to grams, multiply the number of moles by the molar mass: m = n × M. To convert grams back to moles, divide the mass in grams by the molar mass: n = m ÷ M. To find the number of particles in a given amount, multiply the moles by Avogadro's number, 6.02214076 × 10²³.
This free online moles to grams calculator is meant to help with homework, lab planning, and everyday chemistry problems. For regulated, clinical, or safety-critical work, always double-check the substance's identity, purity, and exact molar mass against a certified reference before relying on any calculation for a real procedure.
Frequently Asked Questions
What is the formula to convert moles to grams?
Multiply the number of moles by the molar mass: m = n × M.
How many grams are in 0.5 mol of glucose?
Glucose (C6H12O6) has a molar mass of about 180.156 g/mol, so 0.5 mol × 180.156 g/mol is about 90.08 grams.
How do I convert grams to moles?
Divide the mass in grams by the molar mass in g/mol: n = m ÷ M.
Do I need Avogadro's number to convert moles to grams?
No, you only need the molar mass. Avogadro's number is only needed if you also want to know the number of individual atoms or molecules.
Do I need the chemical formula to convert moles to grams?
You need the molar mass. This calculator can work it out from a formula automatically, or you can type the molar mass in directly if you already know it.