molecalculator

Moles & Molar Mass

Calculating Molarity: Formula, Examples, and Calculator

Calculator No. 01-5958 · Updated · Formula and assumptions shown below

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Calculate molarity by dividing the moles of dissolved solute by the final volume of the solution in liters. Enter the solute’s mass in grams, its molar mass in grams per mole, and the final solution volume in milliliters to get molarity in mol/L and millimolar concentration.

Formula

Molarity is the amount of solute in moles divided by the final solution volume in liters:

M = n / V, where M is molarity in mol/L, n is the amount of solute in moles, and V is the total solution volume in liters.

When the solute amount is given as mass, calculate moles as n = m / MM. Combining the equations and converting milliliters to liters gives:

M = m / [MM × (VmL / 1000)]

  • m is solute mass in grams.
  • MM is molar mass in grams per mole.
  • VmL is final solution volume in milliliters. Divide by 1000 to convert milliliters to liters.

The calculator’s second result converts mol/L to millimolar: mM = M × 1000, because one mole per liter equals 1000 millimoles per liter. Molarity is also called amount concentration and is commonly written with the unit M; for example, 0.20 M means 0.20 mol/L.

Worked Example

For the calculator’s defaults, the solute mass is 2.922 g, molar mass is 58.44 g/mol, and final solution volume is 250 mL.

  1. Convert the volume: 250 mL / 1000 = 0.25000 L.
  2. Find the amount of solute: 2.922 g / (58.44 g/mol) = 0.050000 mol.
  3. Divide amount by final volume: 0.050000 mol / 0.25000 L = 0.2000 mol/L.
  4. Convert to millimolar: 0.2000 mol/L × 1000 = 200.00 mM.

The answer is 0.2000 mol/L, or 200.00 mM, at the calculator’s displayed precision. The example’s molar mass is that of sodium chloride, calculated from the standard atomic weights Na = 22.990 and Cl = 35.45 g/mol, giving 58.44 g/mol at the shown precision.

Assumptions

  • The entered mass is the mass of the solute, and its molar mass matches the substance’s chemical form and composition.
  • The volume is the final volume of the solution, not the volume of solvent used before dissolving the solute.
  • The solution is treated as having a defined, uniform final volume. The calculator does not correct for temperature-related volume changes, purity, or chemical reactions.
  • This is study and lab-planning arithmetic. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.

How to Use Molarity

Molarity describes how much solute is present in a given volume of solution. It is useful for comparing solution concentrations, planning dilution calculations, and relating solution volume to moles in reaction and stoichiometry problems. For example, if a reaction calculation calls for 0.010 mol of a substance from a 0.20 mol/L solution, the required volume follows from V = n / M: 0.010 mol / 0.20 mol/L = 0.050 L, or 50 mL.

To calculate a solution’s molarity from a weighed solid, you need the substance’s correct molar mass. For a pure compound, calculate it by adding the atomic masses of every atom in its formula. Pay attention to the formula: a hydrate includes its waters of crystallization, and different salts or chemical forms can have different molar masses. For a liquid reagent, the mass-based calculator applies only if you know the mass of the solute itself; a label giving a percentage or density requires additional information and a suitable conversion.

In practical solution preparation, the final volume matters. Dissolving a solid can change the volume, so the solvent volume alone is not the solution volume. A target volume of 250 mL means the completed solution has a total volume of 250 mL. Keep enough significant figures during intermediate calculations, then round the reported result to match the precision of the measurements and molar mass.

Molarity and Other Concentration Measures

Molarity is not the only way to describe concentration. Mass concentration reports mass per solution volume, such as g/L. Molality reports moles of solute per kilogram of solvent, not per liter of solution. Mole fraction compares the moles of one component with the total moles of all components. These quantities are not interchangeable without the extra data needed for conversion.

Because molarity uses solution volume, it can vary with temperature as a liquid expands or contracts. Molality uses solvent mass and is generally less affected by temperature-driven volume changes. For many routine aqueous calculations, molarity is convenient because volumes are easy to measure, but the intended concentration definition should match the problem or experimental method.

Common Errors and Limits

  • Using solvent volume instead of solution volume: use the final volume after the solute is dissolved.
  • Forgetting the milliliter conversion: 250 mL is 0.250 L, not 250 L. The calculator explicitly divides by 1000.
  • Entering the wrong molar mass: check subscripts, waters of hydration, and whether the stated mass refers to the compound or an ion.
  • Confusing molarity with millimolar: 1 mol/L equals 1000 mM, so 0.20 mol/L equals 200 mM.
  • Reporting too many digits: calculator precision does not make imprecise measurements more accurate. Round according to the least precise relevant input.

This simple formula calculates analytical concentration from the amount added and total volume. It does not determine how much material remains chemically unchanged, whether a substance dissociates into ions, or the activity of ions in a non-ideal solution. In reactions, the stoichiometric amount of a particular species may differ from the formula-unit concentration. For exact experimental work, use the concentration definition and preparation method specified for the application.

Frequently Asked Questions

What is the formula for molarity?
Molarity is moles of solute divided by liters of solution: M = n/V. If you have mass instead of moles, first calculate moles by dividing mass in grams by molar mass in g/mol.

How do I calculate molarity from grams?
Divide the solute’s mass by its molar mass to get moles, convert the final solution volume to liters, then divide moles by liters. For a volume in milliliters, divide it by 1000 first.

Is molarity the same as mol/L?
Yes. Molarity is expressed in moles per liter, written mol/L. The symbol M is also commonly used for this unit, as in 0.5 M.

How do I convert molarity to millimolar?
Multiply molarity in mol/L by 1000. For example, 0.025 mol/L is 25 mM.

Does temperature affect molarity?
It can. Molarity is based on solution volume, and volume can change with temperature. For precise work, use the temperature and preparation conditions specified by the relevant method.

Related

Formula used
in m | Mass of solute | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in v | Final solution volume | mL | 250 | 0.001
out c | Molarity | mol/L | m / mm / (v / 1000) | 4
out cmm | Concentration in millimolar | mM | c * 1000 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →