Molarity Calculator

View results · 1 mol/L

Inputs

Equation
Solve for

Choose what to solve for and enter the other values. Molarity is in moles per liter (1 M is 1 mol/L). Pick a compound from the list to fill in its molar mass.

Result

Molarity (c)
Amount of solute (n)
0.1 mol

In other units

  • 1,000 mmol/L
  • 1,000,000 µmol/L
  • 1 × 10⁹ nmol/L
c=nV=mM Vc=\frac{n}{V}=\frac{m}{M\,V}

Step by step

  1. Convert the value to the working unit
    V=100 mL=0.1 LV=100\,\text{mL}=0.1\,\text{L}
  2. Rearrange the formula for the unknown
    c=mM Vc=\frac{m}{M\,V}
  3. Substitute the values
    c=5.84458.44×0.1=1 mol/Lc=\frac{5.844}{58.44\times0.1}=1\,\text{mol/L}

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 c=n/Vc = n / V with n=m/Mn = m / M, so c=m/(M V)c = m / (M\,V). 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 c1c_1, V1V_1, c2c_2 and V2V_2 and solve for the last one with c1V1=c2V2c_1 V_1 = c_2 V_2. 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.

c=nV=mM Vc1V1=c2V2\begin{gathered}c=\frac{n}{V}=\frac{m}{M\,V}\\[0.6em]c_1V_1=c_2V_2\end{gathered}

Example

To prepare 250 mL of 0.5 M glucose (molar mass 180.16 g/mol), the mass to weigh is m=c M V=0.5×180.16×0.25=22.52m = c\,M\,V = 0.5 \times 180.16 \times 0.25 = 22.52 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 V1=c2V2c1=0.1×5001=50V_1 = \frac{c_2 V_2}{c_1} = \frac{0.1 \times 500}{1} = 50 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

CompoundFormulaMolar mass (g/mol)
Sodium chlorideNaCl58.44
Potassium chlorideKCl74.55
Calcium chlorideCaCl₂110.98
Sodium hydroxideNaOH40.00
Hydrogen chloride (hydrochloric acid)HCl36.46
Sulfuric acidH₂SO₄98.07
Acetic acidCH₃COOH60.05
Sodium bicarbonateNaHCO₃84.01
Sodium carbonateNa₂CO₃105.99
Ammonium chlorideNH₄Cl53.49
Magnesium sulfate (anhydrous)MgSO₄120.36
Copper(II) sulfate pentahydrateCuSO₄·5H₂O249.68
Potassium dihydrogen phosphateKH₂PO₄136.08
GlucoseC₆H₁₂O₆180.16
SucroseC₁₂H₂₂O₁₁342.30
EthanolC₂H₅OH46.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: c=mM Vc = \frac{m}{M\,V}. For example, 5.844 g of NaCl in 100 mL gives 5.84458.44×0.1=1\frac{5.844}{58.44 \times 0.1} = 1 M.

What is the C1V1 C2V2 dilution formula?

It is the dilution equation c1V1=c2V2c_1 V_1 = c_2 V_2. 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.

ParameterValueIf omitted
solve_forwhat to calculate: concentration, mass, volume, molar_mass, stock_concentration, stock_volume, final_concentration, final_volume; give the other values of its formuladefault concentration
compoundFill in the molar mass of a compoundone 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, trisoptional
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_lgive 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 ggive 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 mlgive 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_molgive 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_lgive 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 mlgive 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_lgive 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 mlgive 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"]