molecalculator

Moles & Molar Mass

How to Get Molarity from Molar Mass

Calculator No. 01-12776 · 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.

This calculator works out the molarity of a solution when you know the mass of solute, its molar mass, and the final solution volume. You enter those three values and get the concentration in mol/L (and also in mmol/L). Molarity is the standard way to express concentration in chemistry, and you can find it from molar mass because molar mass tells you how many moles are in a given mass.

Formula

The formula for molarity (M) is:

Molarity (mol/L) = Mass of solute (g) ÷ Molar mass (g/mol) ÷ Volume of solution (L)

In symbols: c = m / (Mr × V), where:

  • m = mass of solute in grams (g)
  • Mr = molar mass of the solute in grams per mole (g/mol)
  • V = final volume of the solution in liters (L). Note that the calculator takes volume in mL, so you divide by 1000 to convert to L.

The first step is to convert mass to moles: moles = mass ÷ molar mass. Then divide moles by volume in liters to get molarity.

Worked Example

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

Step 1: Convert volume to liters: 250 mL ÷ 1000 = 0.250 L

Step 2: Calculate moles of NaCl: 2.922 g ÷ 58.44 g/mol = 0.05000 mol (exactly, if you use the precise numbers)

Step 3: Divide moles by volume: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L

So the molarity is 0.2000 mol/L (or 0.2000 M). The calculator shows this as 0.2000 mol/L. The millimolar concentration is 0.2000 × 1000 = 200.00 mM.

Assumptions

  • The solute is pure and fully dissolves without changing volume.
  • The final volume is measured after the solute is dissolved and the solution is made up to the mark (not the volume of solvent added).
  • The molar mass is the formula weight of the compound as written (e.g., for NaCl, not including water of hydration).
  • Temperature is assumed to be around 25 °C; molarity does not change with temperature as much as molality, but volume does expand slightly with heat.

When to Use This

You use this calculation whenever you need to prepare a solution of a known concentration from a solid reagent. For example, making a 0.1 M solution of KCl, or diluting a stock solution. It is also used to convert between mass and concentration in stoichiometry problems. The key is that molar mass links the macroscopic mass you weigh on a balance to the number of moles that participate in reactions.

Common Mistakes

  • Forgetting to convert mL to L. Volume must be in liters for molarity. Using 250 instead of 0.250 will give an answer 1000 times too large.
  • Using the wrong molar mass. Check the formula of the compound. For hydrated salts (like CuSO4·5H2O), the molar mass must include the water molecules.
  • Confusing mass of solute with mass of solution. You only use the mass of the pure solute, not the total mass after adding solvent.
  • Rounding too early. Round only at the final step to avoid errors in intermediate calculations.
  • Using the volume of solvent instead of final solution volume. When you dissolve a solid, the volume changes; always make up to the final volume with solvent.

Tips

  • Always use a volumetric flask to make the solution to the exact final volume. Add the solute, dissolve in a small amount of solvent, then fill to the mark.
  • If you need to prepare a specific volume, rearrange the formula: mass needed (g) = molarity (mol/L) × molar mass (g/mol) × volume (L).
  • Double-check your molar mass by adding atomic masses from a periodic table. For NaCl, 22.99 + 35.45 = 58.44 g/mol.
  • For dilute solutions, molarity is approximately equal to molality, but not exactly. Use molarity for reactions and stoichiometry.

Troubleshooting

If your calculated molarity seems too high or too low, first check the units. Did you convert volume to liters? Did you use the correct molar mass? If you are getting a number like 0.0002 instead of 0.2, you likely forgot the mL to L conversion. If you are getting 200 instead of 0.2, you may have multiplied instead of divided by volume. Also, ensure that the solute actually dissolves completely; if it does not, the true concentration will be lower than calculated. If you are preparing a solution and the final volume is not exactly what you planned, measure the actual volume and recalculate.

Frequently Asked Questions

What is the difference between molarity and molality?

Molarity is moles of solute per liter of solution. Molality is moles of solute per kilogram of solvent. Molarity changes with temperature because volume changes, while molality does not.

Can I get molarity if I only know the mass and volume, not the molar mass?

No, you need the molar mass to convert mass to moles. Without it, you cannot determine the number of moles.

How do I find the molar mass of a compound?

Add the atomic masses of all atoms in the formula. For example, for H2O: 2×1.008 + 15.999 = 18.015 g/mol.

What if my solute is a liquid, not a solid?

For a liquid solute, you usually measure its volume and density to get mass, then use the same formula. Or you can use the liquid’s molarity directly if you know its concentration.

Does the calculator work for any solute?

Yes, as long as you enter the correct molar mass. The formula is universal for any solute that dissolves to form a homogeneous solution.

Why is my answer in mmol/L? How do I convert to mol/L?

The calculator shows both. To convert from mmol/L to mol/L, divide by 1000. For example, 200 mM = 0.200 M.

Follow your lab method, the safety data sheet (SDS) and your supervisor when preparing solutions.

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 →