About this tool
Molarity, or molar concentration, is the amount of a dissolved substance in moles per liter of solution. A 1 M sodium chloride solution contains one mole of NaCl, 58.44 g, in every liter of the finished solution. Chemists use molarity because reactions happen between numbers of particles, and moles count particles regardless of how heavy each one is.
To make a solution you usually know the concentration you need and the volume you want, and you need the mass to weigh out. In the lab you often dilute a concentrated stock instead, which is what the dilution mode is for.
How it works
Choose Molarity to work with a weighed solid: enter any three of molarity, mass of solute, volume of solution and molar mass, and the calculator finds the fourth. It uses with , so . Concentrations can be entered in mol/L (M), mmol/L (mM), µmol/L (µM) or nmol/L (nM), masses in g, mg, µg or kg and volumes in L, mL or µL.
Choose Dilution to prepare a weaker solution from a stock: enter three of , , and and solve for the last one with . The result also shows the dilution factor and how much solvent to add. Every answer lists the substituted formula step by step and the value in the other units.
Example
To prepare 250 mL of 0.5 M glucose (molar mass 180.16 g/mol), the mass to weigh is g. Dissolve it and make the solution up to 250 mL in a volumetric flask.
To make 500 mL of 0.1 M solution from a 1 M stock, the stock volume is mL. Measure 50 mL of stock and add water to a final volume of 500 mL, about 450 mL of solvent, a tenfold dilution.
Molar masses of common compounds
Molar masses from the IUPAC standard atomic weights
| Compound | Formula | Molar mass (g/mol) |
|---|---|---|
| Sodium chloride | NaCl | 58.44 |
| Potassium chloride | KCl | 74.55 |
| Calcium chloride | CaCl₂ | 110.98 |
| Sodium hydroxide | NaOH | 40.00 |
| Hydrogen chloride (hydrochloric acid) | HCl | 36.46 |
| Sulfuric acid | H₂SO₄ | 98.07 |
| Acetic acid | CH₃COOH | 60.05 |
| Sodium bicarbonate | NaHCO₃ | 84.01 |
| Sodium carbonate | Na₂CO₃ | 105.99 |
| Ammonium chloride | NH₄Cl | 53.49 |
| Magnesium sulfate (anhydrous) | MgSO₄ | 120.36 |
| Copper(II) sulfate pentahydrate | CuSO₄·5H₂O | 249.68 |
| Potassium dihydrogen phosphate | KH₂PO₄ | 136.08 |
| Glucose | C₆H₁₂O₆ | 180.16 |
| Sucrose | C₁₂H₂₂O₁₁ | 342.30 |
| Ethanol | C₂H₅OH | 46.07 |
| Tris (TRIS base) | C₄H₁₁NO₃ | 121.14 |
Calculated from the IUPAC (CIAAW) abridged standard atomic weights and rounded to 0.01 g/mol, which matches most reagent labels. Hydrated salts include their water of crystallization.
Assumptions and limits
Volume means the volume of the finished solution, not the volume of solvent you start with. Dissolving a solid changes the volume, so add solvent up to the mark of a volumetric flask instead of measuring the water separately. Molarity also changes slightly with temperature because liquids expand; molality (moles per kilogram of solvent) does not.
The molar masses come from the IUPAC standard atomic weights. For a hydrated salt, use the molar mass of the hydrate you actually weigh, such as copper(II) sulfate pentahydrate rather than the anhydrous salt. The dilution equation assumes the solute stays dissolved and that the volumes you measure are accurate. Follow your laboratory's safety rules for concentrated acids and bases.
Frequently asked questions
What is molarity?
Molarity is the number of moles of solute per liter of solution, written M or mol/L. A 0.25 M solution has 0.25 mol of solute in each liter.
How do I calculate molarity from grams?
Divide the mass by the molar mass to get moles, then divide by the volume in liters: . For example, 5.844 g of NaCl in 100 mL gives M.
What is the C1V1 C2V2 dilution formula?
It is the dilution equation . The amount of solute does not change when you add solvent, so the stock concentration times the stock volume equals the final concentration times the final volume.
What is the difference between molarity and molality?
Molarity is moles per liter of solution; molality is moles per kilogram of solvent. Molality does not change with temperature, so it is preferred for colligative properties such as freezing-point depression.
What do mM and µM mean?
They are millimolar and micromolar: 1 mM is 0.001 mol/L and 1 µM is 0.000001 mol/L. Biological buffers and drug concentrations are often given in these units.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
solve_for | what to calculate: concentration, mass, volume, molar_mass, stock_concentration, stock_volume, final_concentration, final_volume; give the other values of its formula | default concentration |
compoundFill in the molar mass of a compound | one of: sodium_chloride, potassium_chloride, calcium_chloride, sodium_hydroxide, hydrochloric_acid, sulfuric_acid, acetic_acid, sodium_bicarbonate, sodium_carbonate, ammonium_chloride, magnesium_sulfate, copper_sulfate, potassium_dihydrogen_phosphate, glucose, sucrose, ethanol, tris | optional |
concentration_mol_per_lMolarity (c) | number; any unit in the name: _mol_per_l, _mmol_per_l, _umol_per_l, _nmol_per_l; allowed > 0 mol_per_l | give 3 of concentration_mol_per_l, mass_g, volume_ml, molar_mass_g_per_mol |
mass_gMass of solute (m) | number; any unit in the name: _mg, _g, _kg, _oz, _lb, _st, _ug, _t; allowed > 0 g | give 3 of concentration_mol_per_l, mass_g, volume_ml, molar_mass_g_per_mol |
volume_mlVolume of solution (V) | number; any unit in the name: _ml, _l, _m3, _tsp, _tbsp, _fl_oz, _fl_oz_uk, _cup, _pt, _qt, _gal, _gal_uk, _in3, _ft3, _yd3, _ul, _cm3; allowed > 0 ml | give 3 of concentration_mol_per_l, mass_g, volume_ml, molar_mass_g_per_mol |
molar_mass_g_per_molMolar mass (M) | number; any unit in the name: _g_per_mol, _kg_per_mol; allowed > 0 g_per_mol | give 3 of concentration_mol_per_l, mass_g, volume_ml, molar_mass_g_per_mol |
stock_concentration_mol_per_lStock concentration (c₁) | number; any unit in the name: _mol_per_l, _mmol_per_l, _umol_per_l, _nmol_per_l; allowed > 0 mol_per_l | give 3 of stock_concentration_mol_per_l, stock_volume_ml, final_concentration_mol_per_l, final_volume_ml |
stock_volume_mlVolume of stock (V₁) | number; any unit in the name: _ml, _l, _m3, _tsp, _tbsp, _fl_oz, _fl_oz_uk, _cup, _pt, _qt, _gal, _gal_uk, _in3, _ft3, _yd3, _ul, _cm3; allowed > 0 ml | give 3 of stock_concentration_mol_per_l, stock_volume_ml, final_concentration_mol_per_l, final_volume_ml |
final_concentration_mol_per_lFinal concentration (c₂) | number; any unit in the name: _mol_per_l, _mmol_per_l, _umol_per_l, _nmol_per_l; allowed > 0 mol_per_l | give 3 of stock_concentration_mol_per_l, stock_volume_ml, final_concentration_mol_per_l, final_volume_ml |
final_volume_mlFinal volume (V₂) | number; any unit in the name: _ml, _l, _m3, _tsp, _tbsp, _fl_oz, _fl_oz_uk, _cup, _pt, _qt, _gal, _gal_uk, _in3, _ft3, _yd3, _ul, _cm3; allowed > 0 ml | give 3 of stock_concentration_mol_per_l, stock_volume_ml, final_concentration_mol_per_l, final_volume_ml |
Examples
?solve_for=concentration&mass_g=2.922&volume_ml=250&molar_mass_g_per_mol=58.44?compound=glucose&concentration_mol_per_l=0.1&volume_ml=500?stock_concentration_mol_per_l=2&final_concentration_mmol_per_l=250&final_volume_ml=100
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="molarity_calculator"]