Molar Mass & Molarity Calculator

Type any chemical formula to get its molar mass, then find exactly how many grams to weigh out for your target concentration and volume — every step shown.

Molar mass
Weigh out

How to figure out grams for a solution

First find the molar mass by adding the atomic mass of every atom in the formula — for glucose, C₆H₁₂O₆, that is 6 carbons + 12 hydrogens + 6 oxygens. Then work in three steps: moles needed = molarity × volume in liters; grams = moles × molar mass. So for 0.5 M glucose in 250 mL: 0.5 × 0.25 = 0.125 mol, then 0.125 × 180.16 = about 22.5 g. Weigh that out, dissolve, and bring to the final volume.

Atomic masses use standard IUPAC values; molar mass is in g/mol. Formulas support parentheses and multipliers like Ca(OH)₂.

Related tools: Dilution calculator · Buffer calculator · all biochem tools.