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
Supported formats
Privacy
Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.
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).
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
- Convert the solute mass to moles: n = m / M, where M is the molar mass in g/mol.
- Divide the moles by the solution volume in litres: c = n / V, giving mol/L.
- Round the result to 12 significant digits.
Usage
- Enter the solute mass in grams.
- Enter the molar mass in g/mol.
- 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
{
"mass": 5.844,
"molarMass": 58.44,
"volume": 1
}Glucose solution
{
"mass": 18.016,
"molarMass": 180.16,
"volume": 0.5
}Concentrated stock
{
"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
- The International System of Units (SI Brochure), 9th edition — BIPM (accessed 2026-10-11)
- NIST Special Publication 330: The International System of Units (SI) — NIST (accessed 2026-10-11)
- IUPAC colour books (Quantities, Units and Symbols in Physical Chemistry) — IUPAC
Send feedback
Tell us if this tool helped, report a problem, or suggest a tool. Only the message you type is sent — never the input you used in the tool.
Was this tool useful?
Prefer to write to us directly? See the contact page.