Molarity & Solution Preparation Calculator

How many grams of NaCl for a 0.5 M solution in 250 mL? Pick the compound (or type your own molar mass), enter any two of mass / moles / volume — get the missing value.

—
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/molarity-calculator" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/molarity-calculator" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Molarity & Solution Preparation Calculator</a></div>

Molarity in one formula

Molarity is M = moles ÷ volume (L). Moles come from mass: moles = mass ÷ molar mass. So the combined formula is M = mass ÷ (molar mass × volume in L) — enter any two of mass/moles/volume and the calculator fills the third.

Example: 5.84 g of NaCl (58.44 g/mol) in 0.25 L gives 5.84 ÷ 58.44 = 0.1 mol, and 0.1 ÷ 0.25 = 0.4 M.

Lab habits that save mistakes

Frequently asked questions

What is the formula for molarity?

Molarity M = moles of solute ÷ litres of solution, in mol/L.

How do I get moles from a mass?

moles = mass (g) ÷ molar mass (g/mol), so molarity = mass ÷ (molar mass × volume in litres).

How do I convert a percentage concentration to molarity?

For a w/v percentage, M = (% × 10 × density) ÷ molar mass. For exact work use the measured density of the solution rather than 1 g/mL.

What is the difference between molarity and molality?

Molarity is moles per litre of solution and changes slightly with temperature; molality is moles per kilogram of solvent and does not.

How do I dilute a solution to a target molarity?

Use M₁V₁ = M₂V₂ — the moles of solute stay the same, only the volume changes.