Everyday · FREE ONLINE TOOL

Molarity Calculator

Calculate molarity, solute mass or solution volume, and convert concentration units with explicit density for mass-fraction ppm or ppb.

What would you like to calculate?

Your inputs

How it works

Molarity

Molarity = mass/(molar mass×solution volume).

Use final solution volume, not solvent volume before dissolving.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Molarity
0.1 mol/L
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Molarity Calculator: a laboratory flask; a ruler and scales.
MolarityMolarity = mass/(molar mass×solution volume).
A useful distinction

Dilution preserves the solute amount

For the same dissolved solute mass and molar mass, doubling final solution volume halves molarity. Compare two volume entries to see dilution clearly; changing the concentration does not mean the original amount of solute has disappeared.

What happens to the same solute in a larger final volume?

Amount of solute
0.1 mol
Molarity. A (0.5 L) → 0.2 mol/L. B (2 L) → 0.05 mol/L.
What happens to the same solute in a larger final volume?
Final volumeCalculationMolarity
A 0.5 L0.1 ÷ 0.50.2 mol/L
B 2 L0.1 ÷ 20.05 mol/L

Use moles of solute and the final solution volume

Molarity is amount of solute divided by final solution volume: c = n/V. With solute mass m and molar mass M, n = m/M, so c = m/(MV). The basic mode uses grams, grams per mole and liters to produce mol/L.

Enter the final solution volume, not the volume of solvent before dissolving. The calculation assumes the entered mass refers to the stated solute and molar mass.

Worked example: 5.844 grams at 58.44 grams per mole

Using an illustrative molar mass of 58.44 g/mol, 5.844 g represents 0.100 mol. In a final volume of 1.000 L, the concentration is 0.100 mol/L, or 100 mM. Halving the final volume while keeping the same solute amount doubles the concentration.

Same solute amount, different final volumes
Solute massMolar massFinal volumeMolarity
5.844 g58.44 g/mol1 L0.1 M
5.844 g58.44 g/mol0.5 L0.2 M
5.844 g58.44 g/mol2 L0.05 M

Find the mass required for a chosen concentration

Rearrange the equation to m = cMV. At 0.100 mol/L, molar mass 58.44 g/mol and final volume 0.250 L, the required pure-solute mass is 1.461 g. Required mass mode performs this arithmetic directly.

Purity, hydration state and the correct chemical species matter. For example, a hydrate has a different molar mass from its anhydrous form. This calculator does not infer those details from a generic compound name.

Do not equate molarity, mass concentration and ppm automatically

Molar concentration and mass concentration are linked by molar mass. For the stated 58.44 g/mol example, 0.1 mol/L corresponds to 5.844 g/L. A concentration of 1 M is not a universal number of grams per liter.

Mass-fraction ppm and ppb additionally need solution density when converting to a volume-based concentration. The unit-aware mode asks for density instead of assuming every solution has the density of water.

Keep the chemical and measurement assumptions explicit

Use positive, compatible volume and molar-mass inputs. A rounded molecular mass, uncertain purity or inaccurate final volume affects the resulting concentration even when the arithmetic is exact.

The result is a composition calculation. It is not a laboratory procedure, a stability prediction or a medication-dosing instruction. Follow the appropriate validated protocol for an actual preparation.

Molarity: formula and assumptions

Molarity = mass/(molar mass×solution volume).

Use final solution volume, not solvent volume before dissolving.

Use Molarity

Required mass: formula and assumptions

Mass = molarity×molar mass×volume.

Assumes pure solute and the specified molar mass.

Use Required mass

Find volume or molar mass: formula and assumptions

Volume=mass/(molar mass×molarity); molar mass=mass/(molarity×volume).

Use final solution volume and a known pure-solute mass.

Use Find volume or molar mass

Concentration & solution units: formula and assumptions

Molarity = mass / (molar mass × final solution volume). Mass concentration = mass / volume.

Prefixes and units are converted independently. Mass-fraction ppm/ppb require entered solution density; water density is not assumed. Mass concentration alone cannot identify molar mass.

Use Concentration & solution units

Worked example

Using the Molarity example:

Inputs
Solute mass (g)
5.844
Molar mass (g/mol)
58.44
Solution volume (L)
1
Method

Molarity = mass/(molar mass×solution volume).

Result

Example result

Molarity: 0.1 mol/L

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

What is the molarity formula from grams?

Divide solute mass by molar mass to obtain moles, then divide by final solution volume in liters.

Do I enter solvent volume or solution volume?

Enter the final solution volume. The solvent volume before adding solute may differ from the final volume.

How many mM are in 0.1 M?

0.1 M equals 100 mM because one mole is 1,000 millimoles.

Can I find grams needed for a solution?

Yes. Required mass uses m = concentration × molar mass × final volume with compatible units.

Is ppm always the same as mg/L?

No. A mass-fraction ppm value requires density to convert to mass per volume. The unit-aware mode requires that density where needed.

Can I use an anhydrous molar mass for a hydrate?

No. Include the hydrate’s water and other formula components so the molar mass matches the weighed substance.

See our methodology and editorial policy.