Molarity Calculator – Mass, Volume, Concentration & Molality

Calculate the mass of solute needed for a solution of a given molarity, the molarity of a solution you made, or the volume needed, plus molality and % w/v.

Updated · Free · Runs in your browser

Find the
mL
kg
Answer —
Mass of solute —
Amount —
Molarity —
Mass concentration —
Volume —
Molality —
    Was this calculator helpful?

    The formula

    Molarity M = moles of solute ÷ litres of solution
    Moles n = mass ÷ molar mass
    Mass needed (g) = M (mol/L) × V (L) × molar mass (g/mol)
    Molality m = moles of solute ÷ kg of solvent
    Mass concentration (g/L) = M × molar mass;  % w/v = g per 100 mL

    Worked example

    1. To make 250 mL of 0.5 M sodium chloride (58.44 g/mol):
    2. Moles = 0.5 × 0.250 = 0.125 mol.
    3. Mass = 0.125 × 58.44 = 7.31 g.
    4. Dissolve 7.31 g of NaCl in about 200 mL of water, then make up to exactly 250 mL. The solution is 29.22 g/L, or 2.92% w/v.

    What molarity means

    Molarity is the most common way to express the concentration of a solution in chemistry and biology. A 1 molar (1 M) solution contains one mole of solute in every litre of solution. A mole is 6.022 × 10²³ particles, and one mole of a substance has a mass in grams equal to its molar mass, so one mole of sodium chloride weighs 58.44 g. Lab work often uses smaller units: millimolar (mM, thousandths of a molar) for buffers and salts, and micromolar (µM) or nanomolar for drugs, hormones and enzymes.

    Calculating the mass to weigh out

    To make a solution of a given molarity, multiply the target concentration by the volume in litres to get the moles needed, then multiply by the molar mass to get the grams. For 500 mL of 100 mM Tris, that's 0.1 × 0.5 × 121.14 = 6.06 g. Always use the molar mass of the exact form you're weighing: hydrated salts such as CaCl₂·2H₂O (147.01 g/mol) are heavier than the anhydrous form (110.98 g/mol). The molar mass is usually printed on the bottle, or use our molar mass calculator.

    Making the solution correctly

    Molarity is defined per litre of final solution, not per litre of solvent. So dissolve the solute in less solvent than the final volume, then add solvent until the solution reaches the mark in a volumetric flask or measuring cylinder. Adding 7.31 g of NaCl to exactly 250 mL of water would give slightly more than 250 mL and a slightly lower concentration. For buffers, adjust the pH before making up to the final volume. Use a calibrated balance and record the actual mass weighed.

    Molarity versus molality

    Molality is moles of solute per kilogram of solvent, rather than per litre of solution. Because it's based on mass, molality doesn't change with temperature, while molarity does slightly as solutions expand and contract. Molality is used in physical chemistry for colligative properties such as boiling point elevation and freezing point depression. For dilute aqueous solutions, molarity and molality are almost equal, since a litre of dilute solution contains about a kilogram of water. Enter the solvent mass to see both.

    Other concentration units

    The calculator also shows the mass concentration in g/L and the percentage weight per volume (% w/v, grams per 100 mL). Normal saline used in medicine is 0.9% w/v NaCl, which is 9 g/L or 154 mM. Other units you might meet include parts per million (ppm, about mg/L for dilute water solutions), normality (equivalents per litre, for acids and bases) and % w/w. To dilute a concentrated stock to a working solution, use our dilution calculator.

    Quick reference

    Some handy figures: 1 M NaCl is 58.44 g/L, PBS contains 137 mM NaCl, and 1 M Tris is 121.14 g/L. Concentrated hydrochloric acid (37%) is about 12 M, and concentrated sulfuric acid (98%) about 18 M.

    Lab safety and accuracy

    Some common reagents need special care. Sodium hydroxide releases heat when dissolved and absorbs moisture and carbon dioxide from the air, so its solutions are usually standardised by titration. Concentrated acids should always be added to water, never the other way round. Hygroscopic solids should be weighed quickly. For pH-related calculations, including buffers, use our pH and buffer calculator, and for nucleic acid concentrations from absorbance readings, the DNA concentration calculator.

    Frequently asked questions

    How do I calculate molarity?
    Divide the moles of solute by the volume of solution in litres. Moles are the mass in grams divided by the molar mass. 10 g of NaOH (40 g/mol) in 500 mL is 0.25 mol ÷ 0.5 L = 0.5 M.
    How many grams do I need for a 1 M solution?
    The molar mass in grams for each litre. For 1 L of 1 M NaCl, weigh 58.44 g; for 100 mL, 5.844 g.
    What is the difference between molarity and molality?
    Molarity is moles per litre of solution; molality is moles per kilogram of solvent. Molality doesn't change with temperature.
    How do I convert mM to M?
    Divide by 1,000. 150 mM is 0.15 M. To convert µM to mM, also divide by 1,000.
    Why do I need the molar mass of the hydrate?
    Water of crystallisation adds mass. If you weigh a hydrated salt but use the anhydrous molar mass, your solution will be more dilute than intended.

    ↑↓ to navigate · Enter to open