Molarity Calculator

Enter mass, molar mass, and volume to calculate moles, mass concentration, and molarity.
Inputs
g
g/mol
L
Results
Moles
Mass Concentration
Molarity
Step-by-Step

Enter values and click Calculate.

  • n = m / Mr
  • c = m / V
  • M = n / V = m / (Mr × V)

Use this Molarity Calculator to calculate moles, mass concentration, and molarity from the solute mass, molar mass, and final solution volume.

Molarity Formulas

Moles = mass ÷ molar mass

Mass concentration = mass ÷ solution volume

Molarity = moles ÷ solution volume

The direct molarity formula is:

Molarity = mass ÷ (molar mass × solution volume)

Enter mass in grams, molar mass in grams per mole, and final solution volume in litres.

Example

Suppose a solution contains 10 g of solute with a molar mass of 50 g/mol in a final volume of 2 L.

Moles = 10 ÷ 50 = 0.2 mol

Mass concentration = 10 ÷ 2 = 5 g/L

Molarity = 0.2 ÷ 2 = 0.1 mol/L

The solution therefore contains 0.2 mol of solute and has a molarity of 0.1 M.

Important Notes

  • Use the final volume of the complete solution, not only the amount of solvent added.
  • Convert millilitres to litres before calculating manually: 1,000 mL = 1 L.
  • Use the molar mass of the exact compound, ion, or hydrate being measured.
  • This calculator does not calculate molar mass from a chemical formula.
  • It does not account for reagent purity, density, temperature effects, or laboratory measurement uncertainty.

Sources

More of our calculators...

Ideal Gas Law Calculator

Use our Ideal Gas Law Calculator to solve pressure, volume, moles, or temperature with PV = nRT. Supports SI and L·atm gas constants with unit conversion.

Avogadro’s number calculator

Use our Avogadro Number Calculator to find molar mass and number of particles from mass, moles, and Avogadro’s constant.

Atom Calculator

Use our Atom Calculator to find protons, neutrons, electrons, atomic number, mass number, and ionic charge quickly from standard atomic relationships.

Half-Life Calculator

Use our Half-Life Calculator to find remaining quantity, half-life, total time, decay constant, and mean lifetime for exponential decay.

PPM to Molarity Calculator

PPM to Molarity Calculator to convert parts per million into molarity using molar mass and solution assumptions.

Percent Yield Calculator

Use our Percent Yield Calculator to calculate chemistry percent yield from actual yield and theoretical yield in mg, g, or kg.

pH Calculator

Free pH calculator that syncs [H+], [OH−], pOH, concentration, and mass/volume. Supports strong/weak acids and bases, unit options, steps, and PDF.

Theoretical Yield Calculator

Theoretical Yield Calculator to find the maximum product yield from stoichiometry, limiting reagent, and molar relationships.