molecalculator

Moles & Molar Mass

Molarity Calculation: Formula and Worked Example

Calculator No. 01-1026 · 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.

This calculator finds the molarity of a solution from the solute mass, its molar mass, and the solution’s final volume. Enter mass in grams, molar mass in grams per mole, and volume in milliliters; the results are molarity in mol/L and concentration in mM.

Formula

Molarity is the amount of solute, in moles, divided by the total volume of the solution, in liters. When the solute amount is supplied as a mass, first convert that mass to moles by dividing by the solute’s molar mass:

M = n / V = (m / MM) / (VmL / 1000)

  • M is molarity, in moles per liter (mol/L, also written M).
  • n is the amount of solute, in moles.
  • m is solute mass, in grams (g).
  • MM is molar mass, in grams per mole (g/mol).
  • V is final solution volume, in liters (L).
  • VmL is the same final volume in milliliters; divide it by 1000 because 1000 mL = 1 L.

The calculator’s first result is Molarity = m / MM / (v / 1000). Its second result converts mol/L to millimolar: mM = M × 1000. One millimole per liter is one millimolar, so 1 mol/L = 1000 mM.

Worked Example

Using the calculator’s default values—2.922 g solute, molar mass 58.44 g/mol, and final volume 250 mL—calculate the amount in moles, convert the volume to liters, then divide:

  1. Amount of solute: n = 2.922 g / 58.44 g/mol = 0.050000 mol.
  2. Volume in liters: V = 250 mL / 1000 = 0.250 L.
  3. Molarity: M = 0.050000 mol / 0.250 L = 0.2000 mol/L.
  4. Millimolar concentration: 0.2000 mol/L × 1000 = 200.00 mM, displayed as 200 mM.

The result is therefore 0.2000 mol/L, or 200 mM. The molar mass default, 58.44 g/mol, is a conventional value for sodium chloride based on standard atomic weights; small differences in atomic-weight conventions or displayed precision can affect the last digits.

Assumptions

  • The entered molar mass is appropriate for the exact solute form, including any hydrate or salt form.
  • The volume entered is the final solution volume, not the amount of solvent used.
  • The solute mass and volume are measured accurately, and the solute is included in the stated final volume.
  • This is a concentration calculation; it does not assume complete dissociation or calculate the concentration of individual ions.

When to Use Molarity

Molarity is a standard chemistry unit for expressing solution concentration. It is especially useful in reaction calculations because it relates the amount of dissolved substance to a measurable volume. For example, if a solution has a molarity of 0.200 mol/L, each liter of that solution contains 0.200 mol of the specified solute. A 25.0 mL portion contains 0.00500 mol, found by multiplying 0.200 mol/L by 0.0250 L.

The word molarity is standard scientific terminology, not slang or an informal expression. It names the amount concentration of a solute per volume of solution. A typical sentence is: “The molarity of the prepared solution is 0.200 mol/L.” The related symbol M is commonly used after a number, as in “0.200 M sodium chloride,” though writing mol/L can make the unit clearer.

Use molarity when the relevant quantity is amount per volume, such as when relating a solution volume to moles in a stoichiometric calculation. It is not the same as molality, which is moles of solute per kilogram of solvent, nor is it the same as mass concentration, such as grams per liter. Those measures use different denominators and cannot be substituted without the necessary information.

How to Calculate It from Different Information

If the number of moles is already known, use M = n / V directly, with volume in liters. If the solute is given by mass, use the calculator’s mass-based formula and a molar mass for the specific chemical formula. Molar mass can be obtained by adding the atomic masses in that formula, accounting for every atom and any waters of crystallization.

For example, a hydrate and its anhydrous compound do not have the same molar mass. Using the anhydrous molar mass for a weighed hydrate makes the calculated mole amount—and therefore the molarity—incorrect. Likewise, a compound’s acid, base, or salt form can change its formula mass. Check the substance’s identity and formula before calculating.

For a dilution, where no additional solute is added or removed, the common relation is M1V1 = M2V2. This is a different calculation: it uses initial and final concentrations and volumes, rather than mass and molar mass. Both volumes must use the same unit within that equation.

Common Errors and Limits

  • Leaving milliliters unconverted: dividing moles by milliliters gives mol/mL, not mol/L. Convert mL to L by dividing by 1000.
  • Using solvent volume: molarity uses the final volume of the whole solution. Adding 250 mL of solvent to a solute does not necessarily produce 250 mL of solution.
  • Mixing up mass and amount: grams are not moles. Divide grams by g/mol before dividing by volume.
  • Choosing the wrong molar mass: check the formula, hydration state, and chemical form; do not assume all forms of a substance have the same value.
  • Rounding too early: retain sensible digits in intermediate calculations and round the final answer to match the precision of the measurements.

Molarity is defined using solution volume, which can change with temperature as a liquid expands or contracts. A value is therefore tied to the temperature at which the volume applies, even though introductory calculations often treat the stated volume as fixed. At very high concentrations, interactions among dissolved particles also mean that molarity alone may not describe chemical behavior as simply as it does in a dilute solution.

The calculation reports analytical concentration of the specified solute. It does not by itself tell you how much of that solute dissociates, reacts, or remains in a particular chemical form. Those questions require information about the substance and conditions. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Frequently Asked Questions

What is the formula for molarity?
Molarity is moles of solute divided by liters of solution: M = n/V. If mass is known instead, calculate moles as mass divided by molar mass first.

How do I calculate molarity from grams?
Divide the solute mass in grams by its molar mass in g/mol to get moles. Then divide those moles by the final solution volume in liters.

Do I use the volume of solvent or solution?
Use the final volume of the solution, including both solvent and dissolved solute. The solvent volume alone is not the denominator in the molarity formula.

How do I convert molarity to mM?
Multiply mol/L by 1000. For example, 0.200 mol/L equals 200 mM.

Is molarity the same as molality?
No. Molarity is moles per liter of solution; molality is moles per kilogram of solvent. Their values can differ, particularly when temperature or solution composition affects volume.

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 →