Boneyard Tools

Molarity Calculator

Find the molarity of a solution or rearrange the formula to solve for moles or volume, all from the relation M = moles / volume. When you know the solute by weight instead, switch the amount input to mass plus molar mass and the tool derives the moles for you. Results are shown as moles, litres and molarity together so you can check the whole solution at a glance.

How to calculate molarity

  1. Pick Molarity, Moles or Volume in the 'Solve for' menu so that field becomes the answer.
  2. For the amount of solute, choose the Moles radio button, or choose Mass plus molar mass to enter grams and g/mol instead.
  3. Type the volume of solution in litres.
  4. Fill in the remaining known value, such as the molarity in mol/L.
  5. Read the three result cards and click Copy to save moles, volume and molarity as text.

Examples

Molarity from moles and volume

Solve for Molarity, 0.5 mol in 2 L
0.25 M

Molarity from mass and molar mass

Solve for Molarity, 58.44 g NaCl (molar mass 58.44 g/mol) in 1 L
1 M

Volume from moles and molarity

Solve for Volume, 0.5 mol at 0.25 M
2 L

Frequently asked questions

What is molarity?

Molarity is the concentration of a solution measured in moles of solute per litre of solution, written mol/L or M. A 1 M solution holds one mole of dissolved substance in every litre.

What is the molarity formula?

Molarity equals moles of solute divided by volume of solution in litres, M = n / V. Rearranged, n = M times V and V = n / M, and the calculator uses whichever form solves for your chosen unknown.

How do I find moles from a mass?

Divide the mass in grams by the molar mass in grams per mole. Select the Mass plus molar mass option and the tool computes n = mass / molarMass automatically before finding the concentration.

Do I use the volume of solution or solvent?

Use the total volume of the finished solution, not the volume of solvent you started with, because the dissolved solute also takes up space. This matters most for concentrated solutions.

How do I convert millilitres to litres?

Divide millilitres by 1000, so 250 mL becomes 0.25 L. The volume field expects litres, so convert first and then type the litre value.

Why does the molar mass have to be greater than zero?

Moles are found by dividing mass by molar mass, so a molar mass of zero would be a division by zero. If you leave it at zero the tool reports that molar mass must be greater than zero.

What happens if I enter the wrong number of values?

The engine needs exactly two of moles, volume and molarity, counting a mass plus molar mass pair as the moles. If you supply too few or too many it asks you to provide exactly two so the equation stays solvable.

Is molarity the same as molality?

No. Molarity is moles per litre of solution and changes slightly with temperature as volume expands, while molality is moles per kilogram of solvent and does not. Use a molality calculator when temperature stability matters.

Does anything I type get uploaded?

No. All the arithmetic runs locally in your browser, so your masses, volumes and concentrations stay on your own device.

Learn more

Related tools