Category

Molarity Calculator — Convert Mass Concentration to Molar Concentration

Calculate the molarity (molar concentration) of any solution from mass concentration or mass and volume. Supports metric and imperial units.

0 calculations

Molarity Parameters

Enter Parameters

Fill in the form on the left and click "Calculate Molarity".

What Is Molarity?

Molarity, also called molar concentration, is one of the most fundamental concepts in chemistry. It expresses the amount of a substance (the solute) dissolved in a given volume of solution. The standard unit of molarity is the mole per liter (mol/L), commonly abbreviated as M. A 1 M solution contains exactly one mole of solute dissolved in one liter of solution.

Molarity is widely used in chemistry, biochemistry, pharmacology, and industrial processes whenever precise concentrations must be prepared or reported. Whether you are making a buffer for a molecular biology experiment, calculating the concentration of an acid for a titration, or preparing a saline solution, molarity is the language of quantitative chemistry.

What Is a Mole?

A mole is the SI unit for the amount of substance. One mole of any substance contains exactly 6.022 × 10²³ elementary entities (atoms, molecules, ions, or other particles) — a number known as Avogadro's number. This enormous constant is the bridge between the microscopic world of atoms and the macroscopic world of grams and liters.

The mass of one mole of a substance, expressed in grams, is called its molar mass (or molecular weight). For example, one mole of water (H₂O) has a molar mass of approximately 18.015 g/mol, while one mole of sulfuric acid (H₂SO₄) has a molar mass of approximately 98.079 g/mol. Molar masses can be calculated from the atomic weights listed on the periodic table by summing the contributions of each atom in the molecular formula.

The Molarity Formula

The relationship between molarity, amount of substance, and volume is described by a simple formula:

M = n / V

Where:

  • M — molarity in mol/L (moles per liter)
  • n — amount of solute in moles (mol)
  • V — volume of solution in liters (L)

When you know the mass concentration (mass per unit volume) rather than the number of moles directly, you can combine the definition of molar mass to get an equivalent formula:

M = ρ / Mw

Where:

  • ρ — mass concentration in g/L
  • Mw — molar mass in g/mol

This second form is especially useful when you know the density or concentration of a stock solution in mass-per-volume units and need to convert to molar units.

How to Use This Calculator

This Molarity Calculator supports two input modes:

  1. Mass Concentration → Molarity: Enter the mass concentration of your solution (for example, 10 g/mL or 1000 mg/L) and the molar mass of the solute. The calculator instantly converts to molarity in M, mM, μM, and nM.
  2. Mass + Volume → Molarity: Enter the mass of solute you have (in g, mg, kg, oz, or lb) and the total volume of solution (in L, mL, dL, fl oz, pint, quart, or gallon). The calculator first derives the mass concentration, then computes the molarity.

In both modes, you also specify the molar mass of your substance in g/mol, kg/mol, or Daltons (Da). The molar mass of common compounds can be found on the periodic table or calculated from the molecular formula. For example:

  • NaCl (table salt): 58.44 g/mol
  • H₂SO₄ (sulfuric acid): 98.079 g/mol
  • NaOH (sodium hydroxide): 39.997 g/mol
  • C₆H₁₂O₆ (glucose): 180.156 g/mol
  • H₂O (water): 18.015 g/mol

Step-by-Step Example

Problem: You have a sulfuric acid (H₂SO₄) solution with a mass concentration of 10 g/mL. The molar mass of H₂SO₄ is 98.079 g/mol. What is the molarity?

Step 1 — Convert mass concentration to g/L:

10 g/mL × 1000 mL/L = 10,000 g/L

Step 2 — Apply the molarity formula:

M = ρ / Mw = 10,000 g/L ÷ 98.079 g/mol ≈ 102.0 mol/L (M)

This means a 10 g/mL sulfuric acid solution has a molarity of approximately 102 M — an extremely concentrated solution (pure H₂SO₄ has a molarity of about 18 M, so 10 g/mL would represent a physically impossible concentration in practice, but the arithmetic illustrates the method).

Another example: You dissolve 5.85 g of NaCl (molar mass 58.44 g/mol) in enough water to make 500 mL of solution. What is the molarity?

n = mass / molar mass = 5.85 g ÷ 58.44 g/mol = 0.1001 mol

V = 500 mL = 0.500 L

M = n / V = 0.1001 mol ÷ 0.500 L = 0.2002 M

Molarity Units: M, mM, μM, nM

In practice, concentrations can span many orders of magnitude. Biochemists often work with very dilute solutions, while industrial chemists may deal with highly concentrated ones. The calculator automatically converts between:

  • M (mol/L) — the standard unit; a 1 M solution contains 1 mol per liter
  • mM (mmol/L) — millimolar; 1 mM = 10⁻³ M; common for enzyme substrates and physiological measurements
  • μM (μmol/L) — micromolar; 1 μM = 10⁻⁶ M; typical for drug concentrations and receptor binding studies
  • nM (nmol/L) — nanomolar; 1 nM = 10⁻⁹ M; used for hormones, antibodies, and highly potent compounds

Molarity vs. Molality

Molarity (M) and molality (m) are related but distinct concentration measures:

  • Molarity is defined as moles of solute per liter of solution. Because the volume of a liquid changes with temperature and pressure, molarity is temperature-dependent.
  • Molality is defined as moles of solute per kilogram of solvent. Since mass does not change with temperature, molality is temperature-independent and preferred for calculations involving boiling-point elevation, freezing-point depression, and osmotic pressure.

For dilute aqueous solutions at room temperature, molarity and molality are nearly equal because the density of water is approximately 1 kg/L. At higher concentrations or with solvents of different densities, the two values diverge significantly.

Real-World Applications

Molarity is the backbone of quantitative chemistry in countless real-world settings:

  • Laboratory titrations: The concentration of a titrant (e.g., 0.1 M HCl) must be known precisely to determine the amount of analyte in a sample.
  • Pharmaceutical manufacturing: Drug solutions are formulated to specific molar concentrations to ensure correct dosing.
  • Cell culture media: Nutrients and salts are added at defined molarities (e.g., 137 mM NaCl in phosphate-buffered saline) to maintain cell viability.
  • Environmental chemistry: Pollutant levels in water bodies are often reported in μM or nM to convey trace-level concentrations.
  • Food and beverage industry: Sugar and acid concentrations in products are controlled using mass concentration and converted to molar units when needed for fermentation or reaction calculations.

Use this calculator to quickly and accurately convert between mass concentration and molar concentration for any substance, supporting a wide range of metric and imperial units.

Calculation History

Loading...