Convert between moles and grams using m = n × M, either by typing a chemical formula and letting the calculator work out the molar mass, or by entering the molar mass yourself. Enter any two of mass, amount and molar mass and it returns the third, along with the number of formula units that amount c...
molar mass 18.0150 g/mol — brackets and hydrates understood
Solving for mass.
solved: 18.0150 g
COMMON COMPOUNDS
MASS
18.0150 g
MASS
18.015 g
AMOUNT
1.000 mol
PARTICLES
6.022e+23
Mass
18.0150 g
In milligrams
18,015.00 mg
Amount
1.000000 mol
In millimoles
1,000.0000 mmol
Molar mass
18.0150 g/mol
Mass of one unit
2.991e-23 g
STEPS
H2O has a molar mass of 18.0150 g/mol — the mass of one mole.
Multiply by the number of moles: m = n × M.
m = 1.000000 × 18.0150 = 18.0150 g
WHAT A MOLE ACTUALLY DOES
The mole is a counting unit, not a mass. A balance measures grams, but reactions happen between individual particles, and those two things are only connected through the molar mass. Dividing a weighed mass by the molar mass converts something you can measure into a count of particles you never could.
Equal moles are equal counts, never equal masses. Every bar above holds exactly the same number of formula units, yet the heaviest weighs more than a hundred times the lightest. That is precisely why chemical equations are balanced in moles rather than grams — a reaction consumes particles, and it has no way of knowing what they weigh.
Type a chemical formula into the top box and the molar mass fills in automatically. Brackets and hydrates are understood — try Ca(OH)2, K4[Fe(CN)6] or CuSO4·5H2O. Leave it blank if you would rather enter the molar mass yourself.
Enter the amount in moles to get the mass, or the mass to get the amount. Units run from micrograms to kilograms and from nanomoles to moles, and everything converts before the arithmetic runs.
With no formula given, enter any two of mass, amount and molar mass and the calculator returns the third — including working backwards to find a molar mass from a weighed sample.
Look at the comparison on the right. It shows what your number of moles weighs for eight different substances, all containing exactly the same number of particles.
Last updated: July 29, 2026 · IUPAC 2021 atomic weights · Eagle-eyed accuracy for every calculation.