Molarity Calculator
Calculate molarity, mass, volume, or moles with mass, volume, concentration unit conversion and purity-adjusted solution prep math.
- molar concentration
- moles per liter
- chemistry concentration
- solution concentration
- molar mass
Choose the missing value to calculate.
Solute or compound amount in the selected mass unit.
Choose the unit used for the mass amount.
Molar mass in grams per mole.
Final solution volume in the selected volume unit.
Choose the unit used for final solution volume.
Molar concentration in the selected concentration unit.
Choose the concentration unit.
Amount of substance in moles. Optional when mass and molar mass are known.
Optional compound purity percentage for weighing-mass adjustment.
Status: initial
Results
Awaiting calculation
Solution preparation quantities
Explore the molarity calculator result visually while keeping this page's detailed guidance and examples.
Use this result well
- 1Verify the calculator inputs.
- 2Compare the key result relationships.
- 3Review the page guidance before acting.
Check chemical formula, hydration state, purity, and final solution volume.
Introduction
The Molarity Calculator helps students, teachers, and lab users calculate molarity, mass, volume, or moles for solution chemistry. It supports common mass, volume, and concentration units and can adjust weighing mass for compound purity.
What is molarity?
Molarity is molar concentration: the number of moles of solute per liter of total solution. It is commonly written as M, where 1 M equals 1 mol/L.
How this molarity calculator works
Choose the missing value, enter any three related values, and select the units you are using. The calculator converts units to grams, liters, and mol/L internally, then shows the result with practical conversions such as mM, uM, mg, and mL.
Variable explanations
Understand what each input and result means before calculating.
Calculate
The missing value: molarity, mass, volume, or moles.
Mass amount
Solute or compound amount in g, mg, or ug.
Molar mass
Mass of one mole of the compound in grams per mole.
Volume amount
Final solution volume in L, mL, or uL.
Concentration amount
Molar concentration in M, mM, uM, or nM.
Moles
Amount of substance in moles. This can be entered directly.
Purity
Optional compound purity percentage used to adjust weighing mass.
Reviewed by the Calculator.org.in Editorial Team
Formula behavior, validation cases, explanatory examples, and cited sources are checked before publication. This review supports educational accuracy and is not a substitute for qualified professional advice.
Last reviewed: 2026-08-03
Formula guide
See the calculation logic, variable definitions, and practical meaning.
Molarity
M = moles / liters
- M is molarity in mol/L.
- Moles are amount of solute.
- Liters are final solution volume.
Use this when moles and solution volume are known.
Moles from mass
Moles = pure mass / molar mass
- Mass is in grams.
- Molar mass is in g/mol.
Use this when the amount is entered as mass instead of moles.
Mass required
Pure Mass = molarity x volume x molar mass
- Molarity is mol/L.
- Volume is in liters.
- Molar mass is g/mol.
Use this to estimate the pure solute needed for a target concentration and volume.
Purity-adjusted weighing mass
Weighing Mass = Pure Mass / (Purity % / 100)
- Purity is the assay or product purity percentage.
This estimates how much material to weigh when the compound is less than 100% pure.
Volume required
Volume = moles / molarity
- Moles are mol solute.
- Molarity is mol/L.
Use this when amount and target concentration are known.
Unit conversions
1 M = 1000 mM = 1,000,000 uM; 1 L = 1000 mL; 1 g = 1000 mg
- The calculator converts selected units before solving.
This helps match chemistry homework, supplier labels, and lab notes.
Worked examples
Follow realistic inputs through the calculation step by step.
Worked example
Calculate molarity
- 1Mass is 58.44 g.
- 2Molar mass is 58.44 g/mol.
- 3Volume is 1 L.
- 4Molarity is 1 M.
Worked example
Calculate mass for a solution
- 1Target concentration is 0.5 M.
- 2Final volume is 2 L.
- 3Molar mass is 58.44 g/mol.
- 4Pure solute mass is 58.44 g.
Worked example
Use mM and mL
- 1Target concentration is 50 mM.
- 2Final volume is 100 mL.
- 3Molar mass is 180.16 g/mol.
- 4The calculator converts to 0.05 M and 0.1 L before solving.
Worked example
Adjust for purity
- 1Pure mass needed is 1 g.
- 2Compound purity is 95%.
- 3Weighing mass is about 1.0526 g.
Worked example
Calculate volume
- 1Moles are known.
- 2Target molarity is known.
- 3Volume equals moles divided by molarity.
Common mistakes
Avoid these common input and interpretation errors.
Using solvent volume instead of final solution volume
Molarity is based on total final solution volume, not only the volume of solvent before solute is added.
Mixing mL and L
The calculator converts selected units, but the formula itself uses liters internally.
Mixing mM and M
1 mM is 0.001 M. A unit mismatch can change the result by a factor of 1,000.
Using the wrong molar mass
Hydrates, salts, free bases, and different product forms can have different formula weights.
Ignoring purity
If purity is below 100%, the weighed material needed is higher than the pure solute mass.
Assuming this is a dilution calculator
This page solves mass-molarity-volume relationships. Dilution problems use C1V1 = C2V2.
Treating math output as a lab protocol
Real solution preparation also requires safety, compatibility, equipment, and procedural checks.
Frequently asked questions
Quick answers to the questions users ask most often.
What does this Molarity Calculator calculate?
What is the molarity formula?
What unit is molarity measured in?
How do I calculate moles from mass?
How do I calculate mass for a target molarity?
How does purity affect weighing mass?
Can this calculate volume?
Can I enter moles directly?
Does this support milliliters?
Does this support millimolar and micromolar?
Does this support milligrams?
Is molarity the same as molality?
Is molarity the same as normality?
Does temperature matter?
Does this account for hydrate form?
Can this solve dilution problems?
Can this be used for lab safety decisions?
Why is molar mass required for mass calculations?
What is 1 M?
What is 1 mM?
What should I check before preparing a real solution?
References
Sources used to support the calculator guidance.
Related calculators
Continue with calculators that solve nearby problems.
Version history
A transparent record of calculator content updates.
- 1.0.0 · 2026-07-05
Initial molarity calculator release.
- 1.1.0 · 2026-08-03
Added mass, volume, and concentration unit conversion, purity-adjusted weighing mass, conversion outputs, and solution-prep guidance.
