Mass from Molarity Calculator Formula

Understand the math behind the mass from molarity calculator. Each variable explained with a worked example.

Formulas Used

Mass of Solute Needed

mass_needed = molarity * volume_liters * molar_mass

Moles Needed

moles_out = molarity * volume_liters

Variables

VariableDescriptionDefault
molarityDesired Molarity(M)0.5
volume_litersDesired Volume(L)0.5
molar_massMolar Mass of Solute(g/mol)58.44

How It Works

How to Calculate Mass from Molarity

Formula

mass = M × V × Mw

First find moles (M × V), then convert to grams by multiplying by molar mass.

Worked Example

How many grams of NaCl (58.44 g/mol) for 500 mL of 0.5 M solution?

molarity = 0.5volume_liters = 0.5molar_mass = 58.44
  1. 01Moles = 0.5 × 0.5 = 0.25 mol
  2. 02Mass = 0.25 × 58.44 = 14.61 g

Frequently Asked Questions

How do I find molar mass?

Add atomic masses of all atoms in the formula. For NaCl: Na (22.99) + Cl (35.45) = 58.44 g/mol.

What if my volume is in mL?

Divide mL by 1000 to get liters. For example, 250 mL = 0.25 L.

Can I use this for buffer preparation?

Yes. Calculate each buffer component separately using its own molar mass.

Ready to run the numbers?

Open Mass from Molarity Calculator