Chemistry calculator
Mole Calculator
Convert between mass in grams, amount in moles, and molar mass in g/mol using the relationship moles = mass ÷ molar mass.
Calculated moles
2 mol
Three interdependent quantities: mass, moles, and molar mass
The fundamental relationship in chemistry is moles = mass ÷ molar mass. Rearranged, this becomes mass = moles × molar mass and molar mass = mass ÷ moles. Because all three equations are equivalent, knowing any two quantities allows you to calculate the third. The calculator provides a dropdown menu to select which quantity you are solving for, and displays only the input fields for the other two.
Mass is entered in grams for all calculations, a convention that ensures units cancel consistently. Amount is expressed in moles, the SI unit for quantity of substance. Molar mass is in grams per mole, numerically equal to the substance's molecular or atomic weight from the periodic table. When you select "Moles" from the dropdown, enter mass and molar mass; the calculator divides to find moles. For "Mass," enter moles and molar mass and the calculator multiplies. For "Molar mass," enter mass and moles and the calculator computes mass divided by moles.
Finding moles from mass and molar mass of water
Water has a molar mass of 18.015 g/mol, calculated from two hydrogen atoms at 1.008 u each and one oxygen atom at 15.999 u. If you have a sample of pure water weighing 36.03 grams on a balance, you can find how many moles that represents. Dividing the mass by the molar mass: 36.03 g ÷ 18.015 g/mol = 2.000 mol. The grams unit cancels with the grams in the denominator of molar mass, leaving only moles.
This same calculation scales to any starting amount. For example, 18.015 g of water is exactly 1.000 mol. A sample of 9.0075 g is 0.5 mol. A kilogram of water is 1000 ÷ 18.015 = 55.51 mol. The relationship between mass and moles depends entirely on molar mass: heavier molecules have fewer moles per gram, while lighter molecules have more moles per gram.
Converting between moles and mass in stoichiometric calculations
When a stoichiometry problem asks for the mass of product formed, you first calculate moles using the coefficient ratio, then convert those moles to grams. For instance, if 2.0 mol of H₂O₂ decomposes and the stoichiometric calculation shows 1.0 mol of O₂ forms, you need the molar mass of O₂ (32.00 g/mol) to find the mass: 1.0 mol × 32.00 g/mol = 32.00 g of oxygen gas. Similarly, if a problem gives you the mass of a reactant and asks for the mass of product, first convert the starting material to moles, apply stoichiometry to find the product's moles, then convert back to grams.
For laboratory work, this three-step process (mass to moles, stoichiometric ratio, moles to mass) is essential for planning reagent quantities, predicting yields, and verifying that reactions proceed as expected. Molar mass values are available from the periodic table or from the molecular weight calculator; molar masses for compounds are simply the sum of the constituent elements' standard atomic weights.
Common mass-to-mole conversions and their molar masses
- Sodium chloride (58.44 g/mol): 58.44 g is exactly 1.0 mol; this makes NaCl a convenient standard for many laboratory titrations and standardizations.
- Glucose (180.156 g/mol): 180.156 g represents 1.0 mol; a 1.0 M glucose solution contains 180 g per liter and is commonly used in biology and biochemistry.
- Sulfuric acid (98.072 g/mol): 98.072 g is 1.0 mol; concentrated sulfuric acid solutions are often labeled by mass percent because the density is high and varies with concentration.
- Acetone (58.08 g/mol): 1.0 mol weighs 58.08 g; a frequently used solvent whose volatility makes precise mole calculations important for reaction planning.
- Carbon dioxide (44.009 g/mol): 44.009 g is 1.0 mol; dry ice (solid CO₂) at 44 g per mole makes stoichiometric sublimation experiments straightforward to quantify.
Frequently asked questions
What if my sample is in milligrams instead of grams?
Divide milligrams by 1,000 to convert to grams. For example, 500 mg = 0.500 g. Always enter mass in grams so the calculation remains consistent.
Can a mass be zero?
Yes. Zero mass with a positive molar mass gives zero moles, which is mathematically valid and represents a thought experiment with no substance present.
How do I find the molar mass of a compound I don't recognize?
Use the Molecular Weight Calculator on this site. Enter the chemical formula and it will compute the molar mass by summing the standard atomic weights of all atoms.
Can molar mass be zero or negative?
No. Molar mass is always positive. It represents the mass of one mole of a real substance, and no substance has zero or negative mass.
Does this account for molecular weight of a solution or mixture?
No, the calculator assumes a pure substance with a well-defined molar mass. Solutions and mixtures require more detailed composition information.
How many atoms or molecules does one mole represent?
One mole contains Avogadro's constant, approximately 6.022 × 10²³ particles. To find the number of atoms or molecules, multiply the mole amount by this constant; that calculation is outside this tool's scope.