Molarity calculator
Prepare solutions of a known molar concentration. Enter the molar mass of the compound (molecular weight, in g/mol) and choose what to work out: the mass to weigh out for a given volume and concentration, the concentration you get from a mass in a volume, or the volume to dissolve a mass in. Units cover M, mM, µM and nM, litres to microlitres, and kilograms to micrograms.
Calculate
Mass unit
Concentration unit
Volume unit
Enter the molar mass and the two other values.
How to use the Molarity Calculator
- 1
Enter the molar mass
From the label or the formula, in g/mol (for example NaCl is 58.44).
- 2
Choose what to calculate
Mass, concentration or volume.
- 3
Enter the other two values
Pick units for mass, concentration and volume.
- 4
Read the result
In the units you chose.
How molarity is calculated
Molarity is moles of solute per litre of solution, and moles are mass divided by molar mass.
- molarity (mol/L) = mass (g) ÷ molar mass (g/mol) ÷ volume (L)
- mass = molarity × volume × molar mass
When to use it
- Weigh out reagents for buffers and media.
- Check the concentration of a solution you made.
- Prepare stock solutions for dilution.
Limits
- Volume is the final solution volume, not the volume of solvent added.
- For hydrated salts, use the molar mass of the hydrate you actually weigh.
Privacy
Everything is calculated in your browser. Nothing you enter is sent anywhere or stored.
Frequently asked questions
What is molarity?
The number of moles of a substance per litre of solution, written M or mol/L.
Where do I find the molar mass?
On the reagent bottle or data sheet, or add up atomic masses from the chemical formula.
What is the difference between molarity and molality?
Molarity is per litre of solution; molality is per kilogram of solvent.
How do I make 1 L of 1 M NaCl?
Dissolve 58.44 g of NaCl in water and make the volume up to 1 L.
How do I dilute the solution afterwards?
Use the dilution calculator with C1V1 = C2V2.
Related tools
People also use
- GPA CalculatorSemester GPA, CGPA and degree class with editable grade points.
- Typing Speed TestWords per minute and accuracy with live highlighting.
- Citation GeneratorCite from a URL, DOI or ISBN in APA, MLA, Harvard, Chicago, IEEE, Vancouver and AMA.
- Grade CalculatorWeighted course grade and the final-exam score needed for the grade you want.
Last updated November 22, 2026 · How we build and test our tools