Molar Concentration Calculator

Calculate molarity (mol/L), moles, solute mass, or solution volume.
Solve for any variable in the molarity formula, with unit conversions and worked examples.

Concentration Result

Molar Concentration (Molarity)

Molarity is the most common way to express the concentration of a solution in chemistry. It tells you how many moles of solute are dissolved in one liter of solution.

The Formula

M = n / V

Where:

  • M = Molarity in mol/L (written as M)
  • n = Moles of solute
  • V = Volume of solution in liters

Rearranging:

  • n = M × V (moles = molarity × volume)
  • V = n / M (volume = moles ÷ molarity)

Converting Between Moles and Grams

To find moles from mass, you need the molar mass (molecular weight) of the solute:

n = mass (g) / molar mass (g/mol)

mass = n × molar mass

Common Molar Masses

Compound Molar Mass (g/mol)
NaCl (table salt) 58.44
H₂O (water) 18.02
NaOH (sodium hydroxide) 40.00
HCl (hydrochloric acid) 36.46
H₂SO₄ (sulfuric acid) 98.08
Glucose (C₆H₁₂O₆) 180.16
NaHCO₃ (baking soda) 84.01
CaCO₃ (calcium carbonate) 100.09

Standard Solution Concentrations

Concentration Use
0.001 M (1 mM) Trace analysis, enzyme assays
0.1 M Titration standard, buffer preparation
1 M Common lab stock solutions
6 M Concentrated acids in lab
12 M Near-maximum for HCl

Preparing a Solution

  1. Calculate mass needed: mass = M × V × molar mass
  2. Weigh the solute accurately.
  3. Dissolve in about 80% of the target volume of solvent.
  4. Transfer to a volumetric flask and add solvent to exactly the target volume.
  5. Do not dissolve the solute directly at the final volume mark, because the volume shifts as it dissolves.

Worked Example: 250 mL of 0.5 M Sodium Chloride

Say you need 250 mL of 0.5 M NaCl, which is a common benchtop stock.

  • Volume in liters: 250 mL ÷ 1000 = 0.25 L
  • Moles needed: 0.5 mol/L × 0.25 L = 0.125 mol
  • Mass needed: 0.125 mol × 58.44 g/mol = 7.305 g
  • As a percentage by weight per volume: 7.305 g ÷ 250 mL × 100 = 2.92% w/v
  • Mass per liter, if you would rather think in those terms: 29.22 g/L

Weigh out 7.305 g, dissolve it in roughly 200 mL of water, then top up to the 250 mL mark. Not the other way round. Dissolving salt changes the volume of the water it goes into, so a solution made up to volume after dissolving is the only one that actually lands at 0.5 M.

A useful cross-check while you work: the mass and the molarity move together in a straight line. Half the mass gives half the molarity at the same volume, and double the volume halves the molarity for the same mass. If your answer does not scale that way, one of the three numbers went in wrong.

Safety Note

When diluting concentrated acids, always add acid to water. Never add water to acid.
The dissolution is exothermic, and water poured onto concentrated acid can flash-boil at the surface and spit acid back out of the container.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.