Molarity Calculator
The three questions this answers
Almost every molarity problem is one of three shapes. What did I make? — you weighed a mass and made it up to a volume; the calculator divides mass by molar mass to get moles, then by litres. What do I weigh? — you know the target concentration and volume; the same relation runs backwards to a mass in grams. How do I dilute the stock? — moles are conserved, so C1V1 = C2V2 trades concentration against volume. All three live in the one card above; worked examples with the arithmetic shown are below. A word on significant figures, because the calculator shows four decimals and your balance probably does not: the honest precision of a molarity is set by the least precise input — a mass weighed to 0.01 g and a school volumetric flask justify two or three significant figures, not five. Report what the inputs earn.
Worked examples
58.44 g of NaCl made up to 1 litre. Moles = 58.44 ÷ 58.44 = 1.000 mol. Molarity = 1.000 ÷ 1.000 L = 1.000 M — the definition made visible.
Weighing out 250 mL of 0.5 M NaCl. Mass = 0.5 × 0.250 × 58.44 = 7.305 g, dissolved and made up to the 250 mL mark.
Diluting 100 mL of 2 M stock to 500 mL. C2 = C1V1 ÷ V2 = 2 × 100 ÷ 500 = 0.40 M.
Frequently asked questions
What is molarity, in one sentence?
Molarity is the number of moles of solute dissolved in one litre of finished solution, written mol/L or M — so a 1 M sodium chloride solution holds 58.44 grams of NaCl (one mole) in every litre. The word finished matters: you dissolve the solid and then add solvent up to the litre mark, because volumes are not additive — 58.44 g of salt plus a litre of water makes slightly more than a litre of solution. That is why laboratory instructions say 'dissolve and make up to volume' rather than 'add a litre of water', and why molarity is temperature-sensitive (the litre expands as it warms) while its cousin molality, per kilogram of solvent, is not.
How much solid do I weigh out for a given molarity?
Mass = molarity × volume in litres × molar mass. For 250 mL of 0.5 M NaCl: 0.5 × 0.250 × 58.44 = 7.305 g. The calculator's 'mass needed' mode runs exactly this, and the same three numbers rearranged answer the reverse question (what molarity did I actually make?) — the two questions students and technicians ask all day. Practical notes the formula cannot give you: weigh to the precision your balance and your purpose justify (7.31 g is fine for most teaching work; analytical work wants 7.305), use the molar mass of the form you actually have — a hydrate like CuSO4·5H2O at 249.69 g/mol is a very different weighing from anhydrous CuSO4 at 159.61 — and check the purity on the bottle: a 98% reagent needs its mass divided by 0.98.
How does the dilution formula C1V1 = C2V2 work?
Dilution adds solvent without adding or removing solute, so the moles before equal the moles after — and moles are concentration times volume, hence C1V1 = C2V2. Know any three and the fourth follows: diluting 100 mL of a 2 M stock to 500 mL gives C2 = 2 × 100/500 = 0.40 M; wanting 250 mL of 0.1 M from a 1 M stock means measuring V1 = 0.1 × 250/1 = 25 mL of stock and making up to 250 mL. The calculator solves for whichever variable you leave to it. Two habits keep dilutions honest: volumes must share units on both sides (mL with mL is fine), and 'make up to' the final volume beats 'add' that volume of water, for the same non-additivity reason as in the molarity definition — the error is small for dilute aqueous work and large for concentrated acids and alcohols.
What is the difference between molarity, molality and percent solutions?
Three different rulers for the same idea. Molarity counts moles per litre of solution — convenient for reactions and titrations, slightly temperature-dependent. Molality counts moles per kilogram of solvent — temperature-proof, and the unit behind freezing-point and boiling-point calculations. Percent solutions dodge moles entirely: weight/weight (grams per 100 g), weight/volume (grams per 100 mL — the pharmacist's convention, so '0.9% saline' is 0.9 g NaCl per 100 mL), and volume/volume for liquids like ethanol. None is more correct; they serve different work. The trap is converting carelessly between them: molarity to molality needs the solution's density, and a percent figure without its basis (w/w, w/v or v/v) is only half a specification — the calculator sticks to molarity and dilution, where the definitions are unambiguous.
How accurate are the molar masses in the presets?
They are computed from the standard atomic weights published by the CIAAW (the international body for atomic weights) and rounded the way working chemists round them: NaCl 58.44, NaOH 40.00, HCl 36.46, glucose 180.16 and sucrose 342.30 g/mol. For any other compound, add the atomic weights from a periodic table — remembering waters of crystallisation — and type the result into the molar-mass field; the preset list is a shortcut, not a boundary. One subtlety: a few elements (notably sulphur, chlorine and carbon in some sources) have atomic-weight ranges rather than single values because their isotopes vary by source; the conventional values used here are the ones textbooks and exam boards use, and at bench precision the difference never reaches the balance.
Related tools
Formulae, presets and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.