Molarity Calculator

Solve molarity, moles, solution volume, mass and dilution with explicit units.

Choose the calculation first; only its required inputs are shown. Educational arithmetic only. No chemical compatibility, reaction, dosing or laboratory safety guidance.

Try a worked example

Loads example values in place of your current inputs. Choose one, then calculate. Examples are hypothetical; your inputs stay in this browser.

  • 0.5 mol in 1 L = 0.5 mol/L
  • 0.2922 g at 58.44 g/mol in 100 mL = 0.05 mol/L
  • 100 mL at 2 mol/L diluted to 0.5 mol/L: 0.4 L final, 0.3 L added
Required for mass conversions; enter your substance’s value.
Volume of the complete solution, not solvent alone.
Cannot exceed the initial concentration.

About this tool

Choose what to solve, then enter solution volume, solute amount and a molar mass when mass is involved. Dilution mode keeps solute moles constant while changing concentration. Litres and millilitres are explicit to prevent a thousand-fold unit error.

Start with the quantity you need

  1. Choose what to calculate. The form shows only the inputs used by that calculation; do not enter a guessed answer in a concentration or volume field.
  2. For molarity or volume, choose whether the known solute amount is in moles or grams. Grams also require your substance’s molar mass in g/mol.
  3. Use the complete solution volume and select litres or millilitres. The main calculator uses mol/L for concentration. The trial-average worksheet below accepts readings in one selected unit.
  4. For dilution, enter initial concentration, initial solution volume and the lower target concentration. Compare final solution volume with solvent added; they are different outputs.

How the calculation works

Molarity c=n/V in mol/L. Moles n=cV. Mass m=nM where M is molar mass in g/mol. Dilution uses c₁V₁=c₂V₂; solvent added is V₂−V₁.

Worked example

0.5 mol in 1 L gives 0.5 mol/L. At 58.44 g/mol, that amount has a mass of 29.22 g. Diluting 1 L of 0.5 M solution to 0.1 M gives 5 L final volume, adding 4 L.

Which inputs does each calculation need?

Molar mass is used for gram-to-mole conversions, not for dilution.
CalculateKnown quantitiesReported result
MolaritySolute moles, or grams plus molar mass; solution volumeConcentration in mol/L
Moles and massConcentration, solution volume and molar massAmount in mol and mass in g
VolumeSolute moles, or grams plus molar mass; concentrationVolume in L and mL
MassConcentration, solution volume and molar massMass in g and amount in mol
DilutionInitial concentration and volume; target concentrationFinal volume and solvent added in L; conserved moles

How do I calculate average molarity from repeated trials?

For repeated readings of the same solution, express every concentration in one unit and give each trial equal weight. Add the readings and divide by the number of trials. For 0.101, 0.099 and 0.100 mol/L, the arithmetic mean is (0.101 + 0.099 + 0.100) / 3 = 0.100 mol/L. The trailing zeros here show the example's input precision; a mean does not establish measurement accuracy.

Enter 2 to 2,000 readings in the selected unit. Separate values with spaces or new lines. Use decimal points or scientific notation and omit commas.

Select the unit that matches the readings you enter. To inspect the spread of repeated results as well, paste the same readings in one unit into the Standard Deviation Calculator under Related tools.

Averaging repeated measurements is different from combining solutions. Do not average concentrations to predict a mixture, particularly when volumes differ. Concentration is solute amount divided by final solution volume; reactions, volume changes and compatibility need separate assessment. This example provides arithmetic only, not laboratory preparation or safety instructions.

Check why 0.100 has three significant figures

Convert molarity to g/L or mg/mL

Multiply concentration in mol/L by the entered molar mass in g/mol to obtain solute mass concentration in g/L. The same numerical value is expressed in mg/mL: one gram per litre equals one milligram per millilitre because both numerator and denominator change by a factor of 1,000.

For an illustrative concentration of 0.05 mol/L and molar mass of 58.44 g/mol, 0.05 × 58.44 = 2.922 g/L = 2.922 mg/mL. To check this here, choose Solute mass, enter concentration 0.05, molar mass 58.44, solution volume 1 and volume unit L. The result is 2.922 g in that one litre.

For the reverse conversion, divide a value in g/L (or the numerically equal mg/mL) by molar mass in g/mol to obtain mol/L. You cannot convert molarity to mass concentration without the substance’s molar mass. This is a unit relationship, not a preparation or dosing instruction.

Grams and millilitres need separate conversions

For 0.2922 g with an entered molar mass of 58.44 g/mol, the amount is 0.005 mol. A complete solution volume of 100 mL is 0.1 L, so concentration is 0.005 / 0.1 = 0.05 mol/L. Entering 100 as litres instead would produce a result one thousand times smaller.

Molar mass is your input, not an automatic chemical lookup. This calculator does not adjust for purity, hydrates, reactions or how a solution should be prepared.

Final volume is not the amount of solvent to add

Starting with 100 mL at 2 mol/L gives 0.2 mol. At a target of 0.5 mol/L, final volume is 0.2 / 0.5 = 0.4 L. Subtract the initial 0.1 L to obtain 0.3 L solvent added under the additive-volume assumption. Adding 0.4 L instead would make 0.5 L total, a different concentration.

An equal target needs no added solvent. A higher target is rejected because this mode models dilution only. These are idealised arithmetic relationships, not mixing, compatibility or safety instructions.

Assumptions and limitations

Molar mass is supplied by the user. Dilution assumes additive volumes and no reaction or solute loss. Zero amount is permitted where applicable; solution volume and concentration divisors must be positive.

Educational calculation only. This tool does not assess compatibility, reaction hazards, safe mixing order, dosing, purity or laboratory practice.

Sources and editorial responsibility

Maintained by Renvoro Pty Ltd. Sources inform the methods and assumptions shown here; outputs have the limitations described on this page.

Common questions

How do I calculate molarity from moles and millilitres?

Convert the final solution volume to litres, then divide moles by litres. For example, 0.25 mol in 500 mL of final solution gives 0.50 mol/L.

How do I calculate molarity when I know mass?

Divide mass in grams by molar mass in grams per mole to find moles. Divide that amount by final solution volume in litres.

Does the dilution calculator account for a reaction?

It assumes the amount of solute is conserved. Use the stated final solution volume and account separately for reactions or losses that change the solute amount.

Guide updated 2026-11-11. Calculation method and source dates remain separate.

Method reviewed 2026-10-13. Calculation standards · Report an issue