Molarity Calculator

Calculate the molarity of a solution, the mass of solute you need, the volume of solution, or how to dilute a stock using M1V1 = M2V2.

Molarity calculator
Calculate
Result

    Molarity is moles of solute per litre of final solution, not per litre of solvent. Always follow your laboratory's safety procedures when preparing solutions, especially acids and bases.

    On this page

    The molarity calculator works out the concentration of a solution in moles per litre, the mass of solute you need to make a solution of a given strength, the volume a given mass will make, and how to dilute a stock solution using M₁V₁ = M₂V₂. Dissolving 5.844 g of sodium chloride (molar mass 58.44 g/mol) to make 500 mL of solution gives a 0.2 M solution. To make 250 mL of 0.1 M sodium hydroxide, you need exactly 1 g of NaOH. And to make 100 mL of 0.1 M solution from a 1 M stock, you take 10 mL of stock and add 90 mL of water.

    It’s built for chemistry and biology students, laboratory technicians and anyone preparing solutions, with unit choices for grams, milligrams, litres, millilitres, molar, millimolar and micromolar concentrations.

    How to use the molarity calculator

    1. Choose what to calculate: molarity, the mass needed, the volume of solution, or a dilution.
    2. Enter the molar mass of the solute in grams per mole, or pick a common compound from the list. The molecular weight calculator can work out the molar mass of any formula.
    3. Enter the other two values with their units. For dilutions, enter three of the four values and leave the one you want blank.
    4. Select Calculate. The result shows each step of the working, so you can check it against your notes.

    What is molarity?

    Molarity, written M or mol/L, is the number of moles of solute dissolved in one litre of solution. A mole is a fixed number of particles, about 6.022 × 10²³, known as Avogadro’s number. Using moles rather than grams lets chemists compare amounts of different substances by the number of particles, which is what matters in chemical reactions.

    Molarity = moles of solute ÷ litres of solution

    Moles = mass in grams ÷ molar mass in g/mol

    Combining the two gives the formula most people use in the lab: mass = molarity × volume × molar mass.

    Worked examples

    Finding molarity

    You dissolve 5.844 g of NaCl and make the solution up to 500 mL. Moles of NaCl = 5.844 ÷ 58.44 = 0.1 mol. Volume = 0.5 L. Molarity = 0.1 ÷ 0.5 = 0.2 M, which is also 200 mM or 11.69 g/L.

    Finding the mass needed

    You want 250 mL of 0.1 M NaOH. Mass = 0.1 mol/L × 0.25 L × 40.00 g/mol = 1.00 g. Weigh out 1.00 g, dissolve it in less than 250 mL of water, then make it up to exactly 250 mL in a volumetric flask.

    Finding the volume

    You have 10 g of glucose (180.16 g/mol) and want a 0.5 M solution. Moles = 10 ÷ 180.16 = 0.0555 mol. Volume = 0.0555 ÷ 0.5 = 0.111 L, so make the solution up to about 111 mL.

    Diluting a stock solution

    When you dilute a solution, the number of moles of solute stays the same; only the volume changes. That gives the dilution equation:

    M₁ × V₁ = M₂ × V₂

    M₁ and V₁ are the concentration and volume of the stock you take, and M₂ and V₂ are the concentration and volume of the diluted solution you make. Both volumes must be in the same unit.

    • Volume of stock needed: to make 100 mL of 0.1 M solution from a 1 M stock, V₁ = 0.1 × 100 ÷ 1 = 10 mL. Add 90 mL of solvent to reach 100 mL. That’s a 10-fold dilution.
    • Final concentration: diluting 25 mL of 2 M stock to 500 mL gives M₂ = 2 × 25 ÷ 500 = 0.1 M, a 20-fold dilution.

    When diluting concentrated acids, always add the acid slowly to water, never water to acid, because the mixing releases heat and can cause dangerous splashing.

    Serial dilutions

    When you need a very dilute solution, it’s more accurate to dilute in several steps than to measure a tiny volume of stock. In a serial dilution, you repeat the same dilution several times. Three successive 1-in-10 dilutions, each taking 1 mL of the previous solution and making it up to 10 mL, give an overall 1,000-fold dilution: a 1 M stock becomes 0.1 M, then 0.01 M, then 1 mM. Serial dilutions are widely used in microbiology, for standard curves in analytical chemistry and for preparing drug doses in research.

    Molarity in titrations

    Molarity makes reaction calculations straightforward. In a titration, 20.0 mL of 0.100 M sodium hydroxide exactly neutralises 25.0 mL of hydrochloric acid. The moles of NaOH used are 0.100 × 0.0200 = 0.00200 mol. Because NaOH and HCl react in a 1:1 ratio, the acid also contained 0.00200 mol, so its concentration is 0.00200 ÷ 0.0250 = 0.0800 M. For reactions with other ratios, such as sulfuric acid with sodium hydroxide (1:2), adjust the moles using the balanced equation before dividing by the volume.

    Molarity, molality and other units

    • Molarity (M): moles per litre of solution. The most common unit in labs. It changes slightly with temperature because liquids expand when warmed.
    • Millimolar (mM) and micromolar (µM): one thousandth and one millionth of a molar. Common in biology and medicine, where concentrations are low.
    • Molality (m): moles per kilogram of solvent, not solution. It doesn’t change with temperature, so it’s used in physical chemistry for properties such as boiling point elevation.
    • Mass concentration (g/L): grams of solute per litre. Multiply molarity by molar mass to convert.
    • Percent solutions: % w/v means grams per 100 mL. A 0.9% saline solution contains 9 g of NaCl per litre, which is about 0.154 M.

    How to prepare a solution accurately

    1. Calculate the mass of solute needed with this calculator.
    2. Weigh it accurately on an analytical balance, using a weighing boat or paper and the tare function.
    3. Dissolve it in about two thirds of the final volume of solvent, stirring until it’s fully dissolved.
    4. Transfer to a volumetric flask and rinse the beaker into it so no solute is lost.
    5. Make up to the mark with solvent, adding the last few drops carefully so the bottom of the meniscus sits on the line at eye level.
    6. Stopper and invert the flask several times to mix, then label it with the compound, concentration, date and your initials.

    Common mistakes

    • Dividing by the volume of solvent: molarity uses the final volume of solution, so dissolving 1 mol in exactly 1 L of water gives slightly more than 1 L of solution.
    • Forgetting water of crystallisation: hydrated salts such as copper sulfate pentahydrate (CuSO₄·5H₂O, 249.68 g/mol) have a higher molar mass than the anhydrous form (159.60 g/mol). Use the molar mass of the form you’re actually weighing.
    • Mixing millilitres and litres: 250 mL is 0.25 L. The calculator converts for you, but it’s a common slip in hand calculations.
    • Ignoring purity: if a reagent is 98% pure, divide the calculated mass by 0.98 to get the amount to weigh.

    Molarity in real life

    Concentrations in molar units appear far beyond the chemistry classroom. Blood glucose is often measured in millimoles per litre, with typical fasting levels around 4 to 6 mM in healthy adults. Seawater contains roughly 0.5 M sodium chloride. Laboratory buffers, cell-culture media and IV fluids are all specified by molar or millimolar concentrations, and getting them right is essential for reliable experiments and safe treatment.

    Related calculations

    Two other tools work well alongside this one: the density calculator, to calculate density from mass and volume, and the mass calculator, to calculate mass from density, force or weight.

    Frequently asked questions

    Divide the moles of solute by the litres of solution. Moles are the mass in grams divided by the molar mass. 5.844 g of NaCl in 0.5 L is 0.2 M.

    For 1 litre, the molar mass in grams. For other volumes, multiply molarity × volume in litres × molar mass. One litre of 1 M NaCl needs 58.44 g.

    M₁V₁ = M₂V₂. The moles of solute stay the same when you add solvent, so concentration × volume is constant.

    Take 10 mL of the 1 M stock and add 90 mL of solvent.

    Molarity is moles per litre of solution; molality is moles per kilogram of solvent. Molality doesn't change with temperature.

    Multiply the molarity by the molar mass. 0.2 M NaCl is 0.2 × 58.44 = 11.69 g/L.

    Millimolar, one thousandth of a mole per litre. 0.2 M is 200 mM.

    The final volume of solution. Dissolve the solute, then add solvent up to the final volume.

    About 0.154 M, because 0.9% w/v is 9 g of NaCl per litre, and 9 ÷ 58.44 ≈ 0.154.

    Add up the atomic masses of the atoms in the formula, or use the molecular weight calculator. It's also printed on reagent bottle labels.

    A series of repeated dilutions, such as three 1-in-10 steps, which together give a large overall dilution, here 1,000-fold, more accurately than a single step.

    Work out the moles of base used from its molarity and volume, convert to moles of acid using the balanced equation, then divide by the acid volume in litres.