← All blog posts

How to use a molarity calculator

WhiteUI · A plain-English guide to the Molarity Calculator

The Molarity Calculator needs two numbers: the moles of solute and the volume of the solution in litres. Type them in, and the answer appears at once — no button to press, no page to reload. It opens with a worked example already filled in: 2 moles of solute in 4 litres of solution, giving a molarity of 0.5 M.

The four steps below take you from that starting point to your own answer, and show you how to read the result line and the bar underneath it.

A flask holding 2 moles of solute in 4 litres of solution
The calculator opens with 2 mol in 4 L, giving 2 ÷ 4 = 0.5 M — half a mole in every litre.

Step 1: enter the moles of solute

The first box is labelled “Moles of solute”. Type the amount of the dissolved substance, in moles. A slider sits underneath the box and moves with it — drag the slider or type the number, and the other follows. If you know grams instead of moles, convert first: divide the mass by the molar mass. For table salt the molar mass is 58.44 g/mol, so 5.844 g is 0.1 mol.

Step 2: enter the volume of solution

The second box is “Volume of solution”, in litres. This is the volume of the finished solution, after the flask is topped up — not the water you started with. If your volume is in millilitres, divide by 1,000 first: 500 mL is 0.5 L. The volume must be above zero: if you enter 0, the page shows a dash and asks for a volume above zero, because dividing by zero has no answer.

Step 3: read the answer

The big number on the right is the molarity in mol/L. Underneath it, the page shows what each litre holds — for the defaults, “Each litre holds 0.5 mol of solute” — and a bar shows the answer on a scale of 0 to 2 M, so you can see at a glance whether the number is small, like saline at 0.154 M, or large, like a strong bench solution near 2 M.

Worked example: try it yourself

Change the two boxes to 0.1 mol and 0.5 L. The sum is 0.1 ÷ 0.5 = 0.2 M. Check it by hand: each litre holds 0.2 mol, so half a litre holds half of that, 0.1 mol — which is what you started with. The calculator and the hand sum agree, which is the point of trying it. To reach those same numbers from grams, weigh 5.844 g of table salt, dissolve it, and top the flask up to 500 mL.

M = n ÷ V
M = 0.1 ÷ 0.5
M = 0.2 M

The common mistake

The calculator expects litres, and the most common mistake is typing in millilitres. Entering 0.1 mol and 500 gives 0.1 ÷ 500 = 0.0002 M — a thousand times too small, and plainly wrong for a solution you can taste. Convert first: 500 mL is 0.5 L, and 0.1 ÷ 0.5 = 0.2 M. Divide millilitres by 1,000 before you type, every time.

Frequently asked questions

Frequently asked questions

Is the calculator free?

Yes. It runs in your browser and costs nothing. No account, no download, and nothing is uploaded.

Does it store my numbers?

No. Everything runs in your browser. Closing the page clears the numbers.

What if I only know the grams?

Divide the mass by the molar mass to get moles, then enter the moles. For table salt, divide grams by 58.44.

Why does the answer show a dash?

The volume is zero or missing. Enter a volume above zero and the answer appears.

More guides on the Molarity Calculator

Try it yourself

Try the Molarity Calculator — free, in your browser.

Open the Molarity Calculator