MathIsimple
Molarity Calculator

Molarity Calculator

Calculate molarity, moles, volume, mass, solution dilution, mixing, and gas solubility with step-by-step solutions and detailed explanations.

100% FreeStep-by-Step SolutionsChemistry Calculations
Molarity Calculator
Select calculation mode and enter values to calculate molarity, moles, volume, mass, dilution, mixing, or gas solubility

Number of moles of solute

Volume of solution

Key Concepts

Amount of Substance (n)

The amount of substance, measured in moles (mol), represents the number of particles (atoms, molecules, ions) in a sample. One mole contains 6.022×10236.022 \times 10^{23} particles (Avogadro's constant).

Molarity (c)

Molarity is defined as the number of moles of solute per liter of solution: c=nVc = \frac{n}{V}. It's the most common concentration unit in chemistry laboratories.

Molar Volume

At standard temperature and pressure (STP: 273.15 K, 101.325 kPa), one mole of any ideal gas occupies 22.4 L22.4 \text{ L}. This is useful for converting between gas volumes and moles.

Practical Applications
  • Laboratory preparation: Calculate exact amounts needed to prepare solutions of specific concentrations.
  • Chemical reactions: Use molarity to determine stoichiometric relationships in reactions.
  • Quality control: Verify solution concentrations in manufacturing and pharmaceutical industries.
  • Dilution protocols: Prepare working solutions from stock solutions efficiently.
Important Notes
  • Always ensure units are consistent (convert mL to L when necessary).
  • Molarity depends on temperature - volume changes with temperature.
  • For gas solubility, actual results may differ if the gas reacts with water (e.g., HCl, NH₃).
  • When mixing solutions, ensure they contain the same solute to avoid precipitation.
How to Use This Calculator

Select a calculation mode, enter the required values, and click "Calculate" to get step-by-step solutions with detailed explanations.

Molarity: Calculate concentration from moles and volume using c=nVc = \frac{n}{V}.
Moles: Find the number of moles from molarity and volume using n=c×Vn = c \times V.
Volume: Determine the volume needed using V=ncV = \frac{n}{c}.
Mass: Convert between moles and mass using m=n×Mm = n \times M.
Dilution: Calculate using C1V1=C2V2C_1 V_1 = C_2 V_2.
Mixing: Find final concentration using C=C1V1+C2V2V1+V2C = \frac{C_1 V_1 + C_2 V_2}{V_1 + V_2}.
Gas Solubility: Calculate molarity when gas dissolves in water.
Solution Concentration Visual
Dot density in beakers represents dilute versus concentrated mixtures.
Dilute solutionConcentrated solution

My Professor Said "Make a 0.5 M Solution" Like It Was Obvious

My chemistry professor said "make a 0.5 M NaCl solution" like it was obvious. I stared at the lab bench for ten minutes before asking my partner what M meant. She said "molar" like that explained anything.

Molarity is just a recipe. Seriously. It tells you how much stuff (solute) is dissolved in how much liquid (solvent). A 0.5 M NaCl solution means 0.5 moles of sodium chloride per liter of solution. The hard part isn't the concept — it's remembering what a "mole" is and how to convert grams to moles.

Moles: Chemistry's Counting Unit

A mole is 6.022 × 10²³ of anything. That's Avogadro's number. It's absurdly large because molecules are absurdly small. One mole of water molecules weighs about 18 grams — roughly a tablespoon.

The molar mass of a substance tells you how many grams equal one mole. For NaCl: sodium is 22.99 g/mol, chlorine is 35.45 g/mol. Add them: 58.44 g/mol. So one mole of table salt weighs 58.44 grams — about 4 tablespoons.

That's the bridge between the scale in your lab and the formula on the board. Weigh grams, convert to moles, divide by volume. Done.

The Formula: Three Steps, One Division

Your professor wants 500 mL of 0.5 M NaCl. How many grams of salt do you weigh out?

Work backwards from the molarity formula:

M=nV=mass/molar massvolume in LM = \frac{n}{V} = \frac{\text{mass} / \text{molar mass}}{\text{volume in L}}

Rearrange to find mass:

mass=M×V×molar mass=0.5×0.5×58.44=14.61 g\text{mass} = M \times V \times \text{molar mass} = 0.5 \times 0.5 \times 58.44 = 14.61 \text{ g}

Weigh 14.61 grams of NaCl, dissolve it in water, and bring the total volume to 500 mL in a volumetric flask. That's your 0.5 M solution. The whole process is three multiplications.

Common mistake: adding 500 mL of water to the salt. That gives you more than 500 mL of solution (the salt takes up volume). You dissolve the salt in less than 500 mL of water, then top off to the 500 mL mark. The final volume of the solution is what matters, not the volume of water you added.

A Step-by-Step Molarity Calculation

You need 250 mL of 1.0 M glucose (C₆H₁₂O₆) solution. Walk through it:

StepWhat You DoResult
1. Find molar mass6(12.01) + 12(1.008) + 6(16.00)180.16 g/mol
2. Convert volume to L250 mL ÷ 10000.250 L
3. Find moles neededM × V = 1.0 × 0.2500.250 mol
4. Convert to grams0.250 × 180.1645.04 g

Weigh 45.04 g of glucose, dissolve, bring to 250 mL. Done. Every molarity problem follows these same four steps. The numbers change; the process doesn't.

Dilution: The Shortcut Formula

You have a 6.0 M HCl stock solution and need 100 mL of 0.5 M HCl. How much stock do you use?

M1V1=M2V2V1=M2V2M1=0.5×1006.0=8.33 mLM_1 V_1 = M_2 V_2 \quad \Rightarrow \quad V_1 = \frac{M_2 V_2}{M_1} = \frac{0.5 \times 100}{6.0} = 8.33 \text{ mL}

Take 8.33 mL of the concentrated acid, add it to water (never the reverse — always acid to water), and bring the total to 100 mL. The dilution formula works because the total moles of solute stay the same — you're just spreading them across more volume.

The connection to density is direct: concentrated solutions are denser because there's more solute packed into the same volume. Diluting reduces the concentration and the density simultaneously.

Molarity vs. Molality: The Confusion That Costs Exam Points

Molarity (M) = moles of solute per liter of solution. Molality (m) = moles of solute per kilogram of solvent. The difference: molarity uses total solution volume; molality uses solvent mass.

For dilute aqueous solutions, they're nearly identical (because 1 L of water ≈ 1 kg). For concentrated solutions or non-water solvents, they diverge. Molality doesn't change with temperature (mass doesn't expand); molarity does (volume expands when heated). That's why physical chemistry problems about boiling point elevation and freezing point depression use molality.

For general chemistry lab work? Molarity is what you'll use 95% of the time. Just remember which one your professor asked for.

Frequently Asked Questions

What is molarity?

Molarity (M) is the number of moles of solute dissolved in one liter of solution. A 1.0 M NaCl solution contains 1 mole (58.44 grams) of sodium chloride per liter. It's the most common way to express concentration in chemistry.

What's the difference between molarity and molality?

Molarity (M) = moles per liter of solution. Molality (m) = moles per kilogram of solvent. Molarity depends on temperature (because volume changes with temperature); molality doesn't. For dilute water-based solutions, the values are nearly identical. Use molarity for lab prep; use molality for colligative property calculations.

How do you dilute a solution to a specific molarity?

Use the dilution formula: M₁V₁ = M₂V₂. Multiply the desired molarity by the desired volume, then divide by the stock concentration to find how much stock solution you need. Add the stock to water (not water to acid) and bring to the final volume. Always add acid to water for safety.

Calculate Molarity, Mass, or Volume

Know any two and we'll find the third. Works for solution prep, dilutions, and concentration conversions.

Frequently Asked Questions

What is molarity?
Molarity (M) is moles of solute per liter of solution: M = n/V. A 1 M solution has 1 mole of solute in enough solvent to make 1 L of solution.
How do I calculate moles from mass?
moles = mass / molar mass. Example: 58.44 g of NaCl (molar mass 58.44 g/mol) = 1 mole.
What is the dilution formula?
M1V1 = M2V2, where M1 and V1 are the concentrated stock solution and M2 and V2 are the diluted solution. Rearrange to solve for the unknown.
What is the difference between molarity and molality?
Molarity (mol/L) uses solution volume and changes with temperature. Molality (mol/kg) uses mass of solvent and is temperature-independent — useful for colligative properties.
How do I prepare a solution of a specific molarity?
Compute required moles from M × V, convert to mass (mass = moles × molar mass), dissolve in a fraction of the final volume, then dilute to the final mark.
Advertisement