Molarity Calculator

Calculate the molarity (concentration) of a solution using moles of solute and volume of solution. Essential for chemistry experiments and laboratory work.

mol
L

Quick Facts

Definition
M = mol / L
Moles per liter of solution
Standard Unit
M or mol/L
Also written as mol/dm3
Common Range
0.001 - 10 M
For most lab solutions
Milli-Molar (mM)
1 mM = 0.001 M
Used for dilute solutions

Your Results

Calculated
Molarity
0 M
Concentration
Moles of Solute
0 mol
Amount of substance
Volume
0 L
Solution volume

Frequently Asked Questions

How do I convert milliliters to liters for molarity?

To convert milliliters (mL) to liters (L), divide by 1000. For example, 500 mL = 0.5 L. Our calculator can handle both units - just select the appropriate option from the dropdown menu.

What is a 1 molar (1M) solution?

A 1 molar (1M) solution contains exactly 1 mole of solute per 1 liter of solution. For example, a 1M NaCl solution contains 58.44 grams of NaCl (its molar mass) dissolved in enough water to make 1 liter of solution.

How do I calculate moles from mass?

Use the formula: moles = mass (g) / molar mass (g/mol). For example, if you have 10g of NaCl (molar mass = 58.44 g/mol), you have 10 / 58.44 = 0.171 moles.

Why is molarity important in chemistry?

Molarity is essential because chemical reactions occur between molecules, not masses. Knowing the molarity allows chemists to calculate exactly how many molecules will react, predict products, and control reaction rates. It's the standard way to express concentration in stoichiometric calculations.

Does molarity change with temperature?

Yes, molarity can change with temperature because it depends on volume, and liquids expand or contract with temperature changes. For precise work at varying temperatures, molality (moles per kilogram of solvent) is sometimes preferred as it remains constant.

What is molarity and how is it calculated?
Molarity (M) is a measure of concentration defined as the number of moles of solute dissolved per liter of solution. Formula: Molarity (M) = Moles of Solute (mol) ÷ Volume of Solution (L). Or equivalently: M = n / V. Where: n = moles of solute (which you can calculate from mass using: n = mass ÷ molar mass). V = volume of solution in liters. Example 1 — Find molarity: You dissolve 5.85 g of NaCl (molar mass = 58.5 g/mol) in water to make 1.00 L of solution. Moles of NaCl = 5.85 g ÷ 58.5 g/mol = 0.100 mol. Molarity = 0.100 mol ÷ 1.00 L = 0.100 M NaCl. Example 2 — Find grams needed for a target molarity: You need 500 mL of 2.00 M HCl. How many grams of HCl (molar mass = 36.46 g/mol) do you need? Moles needed = 2.00 M × 0.500 L = 1.00 mol HCl. Mass = 1.00 mol × 36.46 g/mol = 36.46 g HCl. Example 3 — Find volume for a given moles: You have 0.250 mol of NaOH. What volume of 0.500 M NaOH does this represent? V = n ÷ M = 0.250 mol ÷ 0.500 mol/L = 0.500 L = 500 mL. The rearranged formulas: n = M × V (moles). V = n ÷ M (volume in liters). M = n ÷ V (molarity). All three are from the same relationship. Units always: M = mol/L. Ensure volume is in liters (convert mL by dividing by 1,000).
What is the difference between molarity and molality?
Molarity (M) and molality (m) are both concentration measures, but they use different denominators — solution volume vs. solvent mass. Molarity (M): Moles of solute ÷ Liters of solution. Temperature-dependent: as temperature changes, solution volume changes, so molarity changes. Most commonly used in general chemistry and laboratory work. Units: mol/L. Molality (m): Moles of solute ÷ Kilograms of solvent (not solution — just the solvent). Temperature-independent: mass doesn't change with temperature. Used when temperature variations matter: boiling point elevation, freezing point depression (colligative properties), vapor pressure calculations. Units: mol/kg. Numerical comparison: for dilute aqueous solutions (like most lab solutions), molarity and molality are approximately equal because 1 L of water weighs approximately 1 kg. As concentration increases or when using non-aqueous solvents, the difference becomes significant. Example: for a 1.00 M NaCl solution: density of the solution ≈ 1.04 g/mL. 1 L of solution weighs 1,040 g. 58.4 g of NaCl is dissolved in it. Solvent mass = 1,040 − 58.4 = 981.6 g = 0.9816 kg. Molality = 1.00 mol ÷ 0.9816 kg = 1.019 m. So 1.00 M NaCl ≈ 1.02 m NaCl — very close for dilute aqueous solutions, but the distinction matters in precise physical chemistry calculations. When to use each: use molarity (M) for: making solutions in the lab, reaction stoichiometry, titrations, most general chemistry. Use molality (m) for: colligative properties (boiling point elevation, freezing point depression, osmotic pressure), thermodynamics, any situation where temperature varies significantly.
How do you dilute a solution to a specific molarity?
Diluting a solution uses the dilution equation, which states that the number of moles of solute remains constant before and after dilution. The dilution equation: M₁V₁ = M₂V₂. Where: M₁ = initial (stock) molarity. V₁ = volume of stock solution used. M₂ = final (desired) molarity. V₂ = final total volume of the diluted solution. Example 1: You have a 6.0 M HCl stock solution. How much do you need to make 500 mL of 0.50 M HCl? M₁V₁ = M₂V₂. 6.0 M × V₁ = 0.50 M × 0.500 L. V₁ = (0.50 × 0.500) ÷ 6.0 = 0.042 L = 42 mL. Procedure: measure 42 mL of the 6.0 M HCl stock. Add to a 500 mL volumetric flask. Fill to the 500 mL mark with deionized water. You now have 500 mL of 0.50 M HCl. Important: always add acid to water, never add water to acid. The heat generated by the dilution is absorbed by the larger volume of water. Adding water to concentrated acid can cause a violent boil and splash. Example 2: Serial dilution. You want to make a 1:10 dilution of a 1.0 M solution: take 1 mL of the 1.0 M solution. Add 9 mL of water. Result: 10 mL of 0.1 M solution (1:10 dilution). To go further to 0.01 M: take 1 mL of the 0.1 M solution. Add 9 mL of water. Result: 10 mL of 0.01 M solution. Key points to remember: V₂ is the FINAL volume (not the volume of water added). V₁ is how much stock you take; the water volume added = V₂ − V₁. Volume should be in the same units for both sides (both in mL, or both in L).
What is the difference between molarity and normality?
Normality (N) is a concentration unit used specifically in acid-base reactions and redox (oxidation-reduction) reactions. It's related to molarity through the "n-factor" (also called equivalents factor). Relationship: N = M × n. Where n = number of reactive units per molecule (protons for acids, hydroxide ions for bases, electrons for redox). For acids and bases: n-factor for acids = number of H⁺ ions the acid donates. HCl: n = 1 (donates 1 H⁺); so 1 M HCl = 1 N HCl. H₂SO₄: n = 2 (donates 2 H⁺); so 1 M H₂SO₄ = 2 N H₂SO₄. H₃PO₄: n = 3 (donates 3 H⁺); so 1 M H₃PO₄ = 3 N H₃PO₄. n-factor for bases = number of OH⁻ ions the base donates. NaOH: n = 1; so 1 M NaOH = 1 N NaOH. Ca(OH)₂: n = 2; so 1 M Ca(OH)₂ = 2 N Ca(OH)₂. For redox reactions: n = number of electrons transferred. The usefulness of normality: in an acid-base reaction at equivalence point: N₁V₁ = N₂V₂. This works regardless of the specific acid or base — 1 equivalent of any acid neutralizes 1 equivalent of any base. This simplifies titration calculations. However, normality has largely been replaced in modern chemistry by molarity plus explicit stoichiometry, because: normality is context-dependent (the n-factor can change depending on the reaction). Many chemistry educators and journals now discourage its use. Modern approach: use molarity + stoichiometric ratios in balanced equations for all reactions. Normality is still encountered in older literature and some clinical/industrial settings.
How do I get moles if I only know the mass of my solute?
Divide mass by molar mass: moles = mass (g) / molar mass (g/mol). For example, 29.22 g of NaCl (molar mass 58.44 g/mol) gives 0.5 mol. You need this conversion step before you can use the molarity formula if your starting data is in grams, not moles.
Does it matter if I use mL or L for volume?
Yes — molarity is defined per liter, so volume in mL needs to be divided by 1000 first (500 mL = 0.5 L). This calculator's unit dropdown handles that conversion for you, but if you're checking the math by hand, forgetting this step is a common way to be off by a factor of 1000.
Why is my molarity different from the molality I calculated for the same solution?
They're not the same thing on purpose. Molarity is per liter of total solution (a volume); molality is per kilogram of solvent only (a mass, excluding the solute). For dilute aqueous solutions the two are numerically close, but they diverge more as concentration increases — this isn't an error, it's the actual difference between the two units.

Key Takeaways

  • Molarity (M) = moles of solute divided by liters of solution
  • It measures concentration - how much solute is dissolved in a given volume
  • Standard unit is M (molar) or mol/L
  • Essential for preparing solutions in chemistry labs
  • Different from molality, which uses mass of solvent

What Is Molarity?

Common Laboratory Solution Concentrations Reference
Solution Molarity (M) Molar Mass (g/mol) Grams per Liter Common Use
NaCl (saline, 0.9%)0.154 M58.44 g/mol9.0 g/LIV fluids, biological buffers
NaCl (physiological saline)0.154 M58.44 g/mol9.0 g/LCell culture, electrolyte standard
HCl (1 M)1.0 M36.46 g/mol36.46 g/LAcid standardization, titration
NaOH (1 M)1.0 M40.00 g/mol40.0 g/LBase standardization, titration
H₂SO₄ (1 M)1.0 M98.08 g/mol98.08 g/LAcid titration
Glucose (5%, D5W)0.278 M180.16 g/mol50 g/LIV dextrose solution
PBS (phosphate-buffered saline)~0.15 M total saltsMultiple~8 g/L NaCl + buffersCell biology; ELISA; immunoassays
Ethanol (70%)~12 M46.07 g/mol~553 g/LDisinfectant (note: 70% v/v, not molar)
Note: Molarity (M) = moles of solute per liter of solution. This differs from molality (m) = moles per kilogram of solvent, and mass/volume percent (% w/v) = grams per 100 mL. For dilute aqueous solutions, molarity and molality are approximately equal. For clinical solutions like IV fluids, concentrations are typically expressed as mg/dL or mEq/L rather than molarity.
Molar Mass Reference for Common Compounds
Compound Formula Molar Mass (g/mol) Common Use
WaterH₂O18.02Universal solvent
Sodium chloride (table salt)NaCl58.44Electrolyte, saline solutions
Glucose (dextrose)C₆H₁₂O₆180.16Energy; IV dextrose
Sodium hydroxide (lye)NaOH40.00Strong base; titration
Hydrochloric acidHCl36.46Strong acid; titration
Sulfuric acidH₂SO₄98.08Strong acid; battery acid
Calcium carbonateCaCO₃100.09Antacid; limestone
Ethanol (alcohol)C₂H₅OH46.07Solvent; disinfectant
Acetic acid (vinegar)CH₃COOH60.05Weak acid; food
Aspirin (acetylsalicylic acid)C₉H₈O₄180.16Analgesic
AmmoniaNH₃17.03Base; fertilizer; cleaner
Carbon dioxideCO₂44.01Greenhouse gas; dry ice
Note: Molar mass is calculated by summing the atomic masses of all atoms in the formula. For example, NaCl: Na (22.99) + Cl (35.45) = 58.44 g/mol. Atomic masses are found on the periodic table. For hydrates (e.g., CuSO₄·5H₂O), add the mass of water molecules: CuSO₄ (159.61) + 5 × H₂O (5 × 18.02 = 90.10) = 249.71 g/mol.
Concentration Units Comparison Reference
Unit Symbol Definition Formula When Used
MolarityMMoles of solute per liter of solutionM = n / V(L)Most common in chemistry
MolalitymMoles of solute per kilogram of solventm = n / mass(kg)Colligative properties; doesn't change with temperature
NormalityNEquivalents of solute per literN = M × n-factorAcid-base and redox titrations
Mole fractionχMoles of component / total molesχ = n_A / n_totalVapor pressure; gas mixtures
Mass percent (% w/w)%Mass of solute / total mass × 100g/g × 100Industrial; concentrated acids
Volume percent (% v/v)%Volume of solute / total volume × 100mL/mL × 100Alcohol beverages; gasoline blends
ppm / ppbppm, ppbParts per million/billion by mass or volumemg/L or µg/L (aqueous)Environmental analysis; trace contaminants
mg/dLmg/dLMilligrams per decilitermg per 100 mLClinical blood tests (glucose, cholesterol)
Note: For dilute aqueous solutions at room temperature, 1 M ≈ 1 m (molarity ≈ molality) and 1 mg/L ≈ 1 ppm (by mass). The conversion between concentration units requires knowing the solution density and/or solute molar mass. Molarity is temperature-dependent (solution volume changes with temperature); molality is not.

Molarity is one of the most common ways to express the concentration of a solution in chemistry. It represents the number of moles of solute (the substance being dissolved) per liter of solution. Molarity is denoted by the symbol M and is expressed in units of mol/L or simply "molar."

Understanding molarity is essential for anyone working in a chemistry lab, as it allows scientists to prepare solutions with precise concentrations for reactions, experiments, and analyses.

The Molarity Formula

M = n / V
M = Molarity (mol/L)
n = Moles of solute (mol)
V = Volume of solution (L)

Example Calculation

If you dissolve 0.5 moles of NaCl in 2 liters of water, what is the molarity?

Moles (n) 0.5 mol
Volume (V) 2 L
Molarity (M) 0.25 M

M = 0.5 mol / 2 L = 0.25 mol/L or 0.25 M

How to Use This Calculator

1

Enter Moles of Solute

Input the number of moles of the substance you're dissolving. This can be calculated from mass using: moles = mass / molar mass.

2

Enter Volume of Solution

Input the total volume of your solution. Select liters or milliliters from the dropdown menu.

3

Click Calculate

Press the Calculate button to see the molarity of your solution, displayed in M (mol/L).

Understanding the Result

The molarity tells you how concentrated your solution is. A higher molarity means more solute is dissolved per unit volume. Common concentrations in laboratory settings range from millimolar (mM, 0.001 M) for dilute solutions to several molar for concentrated solutions.

Molarity vs. Molality

While molarity uses the volume of solution, molality uses the mass of the solvent. Molarity changes with temperature (since volume changes), while molality remains constant. For most laboratory work at room temperature, molarity is the preferred unit.

What if my reagents aren't 100% pure?
Account for purity in your mass calculation: actual mass needed = theoretical mass / (purity fraction). For example, 95% pure NaCl: if you need 10g of pure NaCl, weigh out 10/0.95 = 10.53g. Always check the Certificate of Analysis for the actual purity of each lot.