molecalculator

Moles & Molar Mass

Gram Load Calculator: Mass to Moles & More

Calculator No. 01-9052 · Updated · Formula and assumptions shown below

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A gram load calculator converts a mass of a substance (in grams) into the amount of substance (in moles) using its molar mass, and it can also work backward from moles to grams. You enter the mass and the molar mass (or the chemical formula to compute it), and the calculator returns the number of moles, which is the bridge between the lab balance and chemical equations. This page provides a simple, accurate tool for that conversion, plus the formula, worked examples, and the common pitfalls to avoid.

Formula

The core relationship is: moles = mass / molar mass. In symbols: n = m / M, where n is the amount in moles (mol), m is the mass in grams (g), and M is the molar mass in grams per mole (g/mol). The calculator above also computes molarity, which is moles per liter of solution: c = n / V, where V is the volume in liters (L). Because you often measure volume in milliliters, the expression divides by 1000 to convert mL to L.

Worked Example

Using the default values from the calculator: you have 2.922 g of sodium chloride (NaCl) and want to prepare 250 mL of a solution. The molar mass of NaCl is 58.44 g/mol (22.99 for Na + 35.45 for Cl).

  1. Convert volume to liters: 250 mL = 250 / 1000 = 0.250 L.
  2. Calculate moles of NaCl: n = 2.922 g / 58.44 g/mol = 0.05000 mol (rounded to 5 significant figures).
  3. Calculate molarity: c = 0.05000 mol / 0.250 L = 0.2000 mol/L.
  4. Convert to millimolar: 0.2000 mol/L × 1000 = 200.0 mM.

The calculator returns 0.2000 mol/L (or 200.0 mM) as the concentration, matching the step-by-step result.

Assumptions

  • The molar mass used is for the pure, anhydrous substance (no water of hydration unless specified).
  • The mass is measured accurately on a calibrated balance.
  • When calculating molarity, the volume is the final volume of the solution after adding solute and solvent, not the volume of solvent alone.
  • For dilute solutions, the density change upon adding solute is ignored.

Why Convert Grams to Moles?

Chemical reactions proceed according to mole ratios, not mass ratios. For example, the balanced equation 2 H2 + O2 → 2 H2O tells you that 2 moles of hydrogen react with 1 mole of oxygen. If you weigh out 4.0 g of hydrogen (H2, molar mass 2.016 g/mol), that is about 1.98 moles. To know how much oxygen you need, you must convert that mass to moles first. In the lab, you always measure mass on a balance, but you think in moles when writing equations and calculating yields. The gram load calculator automates that conversion, saving time and reducing arithmetic errors.

How to Choose the Right Molar Mass

The molar mass must match the exact chemical formula you are using. For a hydrated salt like copper(II) sulfate pentahydrate (CuSO4·5H2O), the molar mass includes the five water molecules: 63.55 + 32.07 + 4×16.00 + 5×(2×1.008 + 16.00) = 249.69 g/mol. Using the anhydrous value (159.61 g/mol) would give a 36% error in moles. Always check the label on the reagent bottle—it states whether the compound is hydrated. For acids and bases, remember that the molar mass is for the whole molecule; for H2SO4, it is 98.08 g/mol, not 49.04 g/mol (which is the equivalent weight for a diprotic acid).

Common Mistakes and How to Avoid Them

  • Unit mix-ups: Forgetting to convert mL to L when calculating molarity. Always divide mL by 1000.
  • Using the wrong molar mass: Using the anhydrous mass for a hydrate, or using the mass of an ion instead of the whole compound.
  • Rounding too early: Rounding the molar mass to 58 g instead of 58.44 g can introduce a 0.7% error. Keep at least four significant figures.
  • Confusing mass and volume: A gram is a unit of mass, a liter is a unit of volume. You cannot convert directly without density.
  • Ignoring significant figures: The result should have the same number of significant figures as the least precise input. If you weigh 2.9 g (two sig figs), the moles should be reported as 0.050 mol, not 0.05000 mol.

Limits of the Formula

The simple formula n = m/M assumes the substance is pure and the molar mass is known exactly. In reality, reagents have purity less than 100% (e.g., 99.5% pure). If you need high accuracy, divide the mass by the purity fraction (e.g., 0.995) before converting. Also, for gases, the molar mass is the same, but you might prefer to use the ideal gas law to find moles from pressure, volume, and temperature. For solutions, the molarity calculation assumes the volume is measured after dissolving the solute; if you mix solvent and solute and the volume changes, you must adjust. The calculator is intended for planning and study, not for clinical or pharmaceutical dosing—always follow your lab method and safety data sheets.

Frequently Asked Questions

How do I convert grams to moles without a calculator?
Divide the mass in grams by the molar mass in g/mol. For example, 10 g of water (molar mass 18.015 g/mol) is 10 / 18.015 = 0.555 mol. You can do this by hand or with a basic calculator; the key is to know the molar mass.

What is the difference between molar mass and molecular weight?
They are numerically the same, but molar mass has units of g/mol and is used for converting mass to moles. Molecular weight is a dimensionless quantity (often in daltons) that is the sum of atomic weights in a molecule. In practice, you use the same number.

Can I convert grams to moles for any substance?
Yes, as long as you know the chemical formula and can calculate the molar mass. For elements, it is the atomic weight from the periodic table. For compounds, sum the atomic weights of all atoms. For mixtures, you cannot—you need the molar mass of each component.

Why is the molar mass of NaCl 58.44 and not 58?
58.44 is the sum of the standard atomic weights: Na = 22.99 and Cl = 35.45. The value 58 is a rounded approximation. Using the precise value matters in quantitative work; a 0.7% error can be significant in analytical chemistry.

How do I find the molar mass of a hydrate?
Add the molar mass of the anhydrous compound to the molar mass of water (18.015 g/mol) multiplied by the number of water molecules. For example, for CuSO4·5H2O, add 5 × 18.015 = 90.075 to 159.61 to get 249.69 g/mol.

What if I have the mass in milligrams?
Convert milligrams to grams first by dividing by 1000. For instance, 500 mg = 0.500 g. Then divide by the molar mass to get moles. The calculator accepts grams, so enter 0.500, not 500.

Related

Formula used
in m | Mass of solute | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in v | Final solution volume | mL | 250 | 0.001
out c | Molarity | mol/L | m / mm / (v / 1000) | 4
out cmm | Concentration in millimolar | mM | c * 1000 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →