Skip to content

Molarity Calculator

Moles per litre of solution — not of solvent.

Work out Molarity. Moles per litre of solution — not of solvent. Says which constants are exact and which are conventions.

Written and maintained by Mohit PatelLast checked August 4, 2026How we build these
g
g/mol

58.44 for NaCl, 180.16 for glucose.

L

Molarity (mol/L)

1

1,000 mM · 1 mol

Molarity1 M
In millimolar1,000 mM
Moles of solute1
Mass58.44 g
Volume1 L

Molarity is moles per litre of solution — not of solvent, which is the distinction that trips people. Dissolving something changes the volume, so a 1 M solution is made by dissolving the solute and then topping up to the mark, never by adding it to a full litre of water.

How the Molarity Calculator works

Molarity is moles of solute per litre of solution, and that word matters: dissolving something changes the volume, so a 1 M solution is made by dissolving the solute and topping up to the mark, never by adding it to a full litre of water.

Also known as: molar concentration calculator · moles per litre calculator · how to calculate molarity · molarity formula

Of solution, not of solvent

Molarity is moles per litre of the finished solution. Dissolving something changes the volume, so adding one mole to one litre of water does not give a 1 M solution — it gives slightly more than a litre of something slightly weaker.

The correct method is to dissolve the solute in less than the target volume, then top up to the mark. That is what a volumetric flask is for, and why its neck is narrow.

Molarity against molality

Molality is moles per kilogram of solvent, and the difference matters when temperature changes. Volume expands with heat; mass does not.

So a solution's molarity drifts as it warms while its molality stays fixed. For work at a single temperature molarity is more convenient; across a range, molality is the honest measure.

Frequently asked questions

How do I calculate molarity?

Divide the moles of solute by the litres of solution. 58.44 g of sodium chloride is one mole, so in one litre it makes a 1 M solution.

What is the difference between molarity and molality?

Molarity is per litre of solution and molality is per kilogram of solvent. Molality does not change with temperature, since mass does not expand, which is why it is preferred for work across a temperature range.

How do I find moles from grams?

Divide the mass by the molar mass. 29.22 g of a substance with a molar mass of 58.44 g/mol is 0.5 moles.

What does mM mean?

Millimolar — thousandths of a mole per litre. It is the working unit for most of biology, where concentrations are far below 1 M.

Put this calculator on your own site

Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.

The one-line version
<iframe src="https://www.thecalclibrary.com/embed/molarity-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Molarity Calculator"></iframe>

The only condition is that the credit line stays visible. It sits inside the frame, so you do not have to do anything to keep it.

Related calculators