U
UseCalcForge Free Online Calculators
Science & Engineering

Molarity Calculator.

Molarity from mass and volume, or the mass or volume needed for a target concentration.

Reviewed by the UseCalcForge editorial desk | Last updated

Amount of substance

Runs entirely in your browser. The values you enter never leave your device — there is no request to our server and nothing is stored. How we handle data

The molarity equation

Molarity is the number of moles of solute in one litre of finished solution. Moles link the mass you weigh on a balance to the number of molecules, through the molar mass.

moles = mass (g) ÷ molar mass (g/mol)
M = moles ÷ volume (L)
mass = M × volume (L) × molar mass

The volume is the final volume of the solution, not the volume of water you start with. Dissolving a solid changes the volume, which is why solutions are made up to the mark in a volumetric flask.

Worked examples

Mass to weigh

250 mL of 0.1 M glucose: 0.1 × 0.250 × 180.16 = 4.504 g.

Molarity

10.0 g of NaOH made up to 500 mL: 10.0 ÷ 40.00 = 0.250 mol, and 0.250 ÷ 0.500 L = 0.500 M.

Volume

You have 29.22 g of NaCl and want 0.5 M: 29.22 ÷ 58.44 = 0.500 mol, and 0.500 ÷ 0.5 = 1.00 L of solution.

In the lab

  • Hydrates. Copper sulfate pentahydrate (CuSO₄·5H₂O, 249.69 g/mol) and anhydrous copper sulfate (159.61 g/mol) give different masses for the same molarity. Use the molar mass printed on the bottle you are weighing from.
  • Acids from stock bottles. Concentrated HCl and H₂SO₄ are liquids sold by percentage strength, not as pure solids. Dilute from the stock concentration with C₁V₁ = C₂V₂ instead of weighing. Always add acid to water.
  • Hygroscopic solids. NaOH and CaCl₂ absorb water from the air while you weigh them, so the true concentration comes out slightly low. Titrate if you need an exact value.
Knowledge Base

Molarity and Solution Preparation Methodology.

Molarity, written M or mol/L, is the most common way to state the concentration of a solution in chemistry and biology. Given a compound's molar mass, this calculator works out how much to weigh for a target concentration, what concentration a known mass gives, or how much solution a mass will make.

The Calculation Branch

M = (mass ÷ molar mass) ÷ volume in litres | mass = M × L × molar mass | volume = (mass ÷ molar mass) ÷ M

Industrial Standards.

Volumes in millilitres are converted to litres and millimolar concentrations to molar before calculating. The calculator divides mass by molar mass to get moles, then relates moles, volume and concentration. Results are shown in the most readable unit: milligrams below 1 g, millimolar below 0.1 M, and millilitres below 1 L. Molar masses for the listed compounds are from standard atomic weights, rounded to two decimal places.

In-Depth Analysis & Reference Data

To prepare a solution: weigh the solute, dissolve it in roughly 80% of the final volume of solvent, transfer it to a volumetric flask, rinse the beaker into the flask, then add solvent until the bottom of the meniscus sits on the mark. Mix by inverting the stoppered flask several times.

For accurate work at temperatures far from 20 °C, remember that volumetric glassware is calibrated at a stated temperature and that solutions expand when warm.

Frequently asked questions.

How do I convert molarity to g/L or percent?

Multiply molarity by molar mass to get grams per litre: 0.5 M NaCl is 29.22 g/L. Divide g/L by 10 for an approximate weight-per-volume percentage, so 29.22 g/L is about 2.9% w/v.

What does 1 mM mean?

One millimolar is one thousandth of a mole per litre, or one millimole per litre. Biological buffers and media are usually described in mM.

Estimates for planning. Always confirm against an authoritative source.