Molarity Calculator

Compute moles and molarity from a mass, a molar mass and a solution volume.

  • Runs locally in your browser
  • No upload required

Try it

Amount
0.1 mol
Molarity
0.1 mol/L
Formula
c = n / V = (m / M) / V = (5.844 g / 58.44 g/mol) / 1 L = 0.1 mol/L

Supported formats

Input
number
Output
number, text

Privacy

Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.

Processing
In your browser
Privacy level
Browser only

5.844 g of a solute with molar mass 58.44 g/mol in 1 L gives 0.1 mol and a molarity of 0.1 mol/L.

How it works

  • Divided the solute mass by its molar mass to get the amount in moles (n = m / M).
  • Divided the moles by the solution volume in litres to get the molarity (c = n / V).
textSelect to copy
c = n / V = (m / M) / V = (5.844 g / 58.44 g/mol) / 1 L = 0.1 mol/L
  • Molarity is moles of solute per litre of solution, not per litre of solvent.
  • The result assumes the volume is the final solution volume at the measurement temperature.

Methodology

  1. Convert the solute mass to moles: n = m / M, where M is the molar mass in g/mol.
  2. Divide the moles by the solution volume in litres: c = n / V, giving mol/L.
  3. Round the result to 12 significant digits.

Usage

  1. Enter the solute mass in grams.
  2. Enter the molar mass in g/mol.
  3. Enter the solution volume in litres and read the moles and molarity.

Examples

These are examples, not current values: they use fixed inputs, while the interactive tool computes live results in your browser.

0.1 mol/L sodium chloride

jsonSelect to copy
{
  "mass": 5.844,
  "molarMass": 58.44,
  "volume": 1
}

Glucose solution

jsonSelect to copy
{
  "mass": 18.016,
  "molarMass": 180.16,
  "volume": 0.5
}

Concentrated stock

jsonSelect to copy
{
  "mass": 98.08,
  "molarMass": 98.08,
  "volume": 0.25
}

Limitations

The mole

The mole is the SI unit of amount of substance and links a mass to a count of entities through the molar mass. Molarity is the derived concentration unit mol/L, used across chemistry for solution preparation and dilution.

Frequently asked questions

What is the difference between molarity and molality?
Molarity (mol/L) is moles of solute per litre of solution; molality (mol/kg) is moles per kilogram of solvent. This tool computes molarity.
Why is the molarity c = n / V?
By the IUPAC definition, amount-of-substance concentration is the amount of solute divided by the volume of the solution; n is the amount in moles from m / M.

Sources

  1. The International System of Units (SI Brochure), 9th edition — BIPM (accessed 2026-10-11)
  2. NIST Special Publication 330: The International System of Units (SI) — NIST (accessed 2026-10-11)
  3. IUPAC colour books (Quantities, Units and Symbols in Physical Chemistry) — IUPAC