molecalculator

Moles & Molar Mass

How to Find Molarity of a Solution

Calculator No. 01-12764 · Updated · Formula and assumptions shown below

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

To find the molarity of a solution, divide the moles of solute by the volume of the solution in liters. You can also calculate it from mass and molar mass using the formula M = (mass in grams ÷ molar mass) ÷ volume in liters.

Formula

The molarity (M) of a solution is defined as the number of moles of solute dissolved in one liter of solution. The formula is:

M = n / V

Where:

  • M = molarity in mol/L (also written as M)
  • n = amount of solute in moles (mol)
  • V = volume of the final solution in liters (L)

If you start with the mass of the solute instead of moles, use the molar mass to convert:

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

Then combine the two equations:

M = [mass (g) / molar mass (g/mol)] / volume (L)

In the calculator above, you enter the mass of solute, its molar mass, and the final volume in milliliters. The calculator converts mL to L by dividing by 1000, then applies the formula.

Worked Example

Using the default values from the calculator: 2.922 g of sodium chloride (NaCl, molar mass 58.44 g/mol) dissolved to a final volume of 250 mL.

  1. Convert volume to liters: 250 mL ÷ 1000 = 0.250 L
  2. Calculate moles of NaCl: 2.922 g ÷ 58.44 g/mol = 0.05000 mol (rounded to 5 significant figures)
  3. Divide moles by liters: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L

The molarity is 0.2000 M (or 200.0 mM). This matches the calculator’s output for the defaults.

Assumptions

  • The solute is pure and completely dissolves without chemical reaction.
  • Volume is the final solution volume, not the volume of solvent added. This means you dissolve the solute first, then add solvent up to the mark.
  • Temperature is not specified; molarity changes slightly with temperature because liquids expand, but for most lab work at room temperature the change is negligible.
  • The molar mass is the formula weight of the solute (e.g., NaCl = 58.44 g/mol).

How to Choose the Right Method

There are three common ways to arrive at molarity, depending on what you know:

  • From mass and molar mass: Use when you weigh a solid solute on a balance. This is the most common in a teaching lab.
  • From moles directly: If you already know the number of moles (e.g., from a reaction calculation), just divide by volume in liters.
  • From a dilution: If you have a concentrated stock solution and dilute it, use the dilution equation M1V1 = M2V2, not the mass-based formula.

For a solid that is a hydrate (e.g., CuSO₄·5H₂O), include the water of hydration in the molar mass. For a liquid solute like concentrated HCl, you usually measure volume and use density to find mass, then moles.

Common Mistakes and How to Avoid Them

  • Using solvent volume instead of final volume: Molarity is moles per liter of solution, not solvent. Always dissolve the solute first, then add solvent to the final mark.
  • Forgetting to convert mL to L: A 250 mL volume is 0.250 L, not 250 L. This is the most frequent unit error.
  • Using the wrong molar mass: Check the formula of the compound. For NaCl, it’s 58.44 g/mol, but for CaCl₂ it’s 110.98 g/mol. For hydrates, add the water mass.
  • Rounding too early: Keep at least 4-5 significant figures during intermediate steps. Round only at the end.
  • Confusing molarity with molality: Molality is moles of solute per kilogram of solvent, not per liter of solution. They are equal only for dilute aqueous solutions near room temperature.

Reading the Result and Using It

The molarity value tells you how concentrated the solution is. A 1 M solution contains 1 mole of solute per liter. For example, a 0.200 M NaCl solution contains 0.200 moles of NaCl in every liter.

Molarity is used to calculate:

  • How much solute to weigh for a desired concentration (reverse the formula).
  • Dilutions: M1V1 = M2V2 to make a weaker solution from a stock.
  • Stoichiometry: moles = M × V (in L) to find how much reactant is present.
  • Preparing buffers or reagents for experiments.

Always label the solution with its molarity and the date. Molarity does not change if you take a portion of the solution, but it does change if you add more solvent or solute.

Limitations of the Formula

The simple formula assumes ideal behavior and complete dissolution. In reality:

  • Some solutes dissociate only partially (weak acids, weak bases). Molarity gives the total formula units, not the concentration of individual ions. For ionic strength or pH calculations, you may need to account for dissociation.
  • At very high concentrations, the volume of solute itself contributes to the final volume, so measuring final volume by a volumetric flask is essential.
  • Temperature changes the volume of the solution. A solution made at 20 °C will have a slightly different molarity at 30 °C because the liquid expands. For precise work, control temperature.
  • For non-ideal solutions, activity (effective concentration) differs from molarity, but for most teaching and routine lab work, molarity is sufficient.

Frequently Asked Questions

How do I make a 1 M solution?

Weigh out 1 mole of the solute (mass in grams equal to its molar mass), dissolve it in a beaker with less than the final volume of solvent, then transfer to a volumetric flask and add solvent up to the 1 L mark. For example, to make 1 L of 1 M NaCl, weigh 58.44 g of NaCl and fill to 1 L.

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution. Molality (m) is moles of solute per kilogram of solvent. Molarity depends on temperature because volume changes, while molality does not depend on temperature because mass is constant. For dilute aqueous solutions, the numerical values are close but not identical.

Can I use molarity for gases?

Yes, but for gases it’s more common to use partial pressure or concentration in mol/L from the ideal gas law. The molarity of a gas in a liquid (e.g., oxygen in water) is a different concept and depends on solubility, not just the gas’s own molarity.

How do I find molarity from a dilution?

Use the dilution equation M1V1 = M2V2, where M1 and V1 are the molarity and volume of the stock solution, and M2 and V2 are the final molarity and volume after dilution. Solve for the unknown. For example, if you have 50 mL of 2 M HCl and dilute to 200 mL, M2 = (2 M × 50 mL) / 200 mL = 0.5 M.

What if my solute is a liquid, like concentrated sulfuric acid?

You need the density and mass percent of the stock solution. Calculate the mass of the liquid needed using the desired moles, then convert mass to volume using density. For example, concentrated H₂SO₄ is about 96% by mass and has a density around 1.84 g/mL. You would compute the mass of pure H₂SO₄ needed, then divide by 0.96 to get the mass of the stock, then divide by density to get volume.

Why does molarity change with temperature?

Because volume changes with temperature. When a liquid warms, it expands, so the same amount of solute in a larger volume gives a lower molarity. For precise work, make solutions at the temperature you will use them, or use molality instead.

Safety and Lab Practice

When preparing solutions, always add acid to water (not water to acid) for exothermic dilutions, and wear appropriate personal protective equipment (goggles, gloves, lab coat). Follow your lab method, the safety data sheet (SDS) and your supervisor. For any hazardous chemical, check the SDS before handling. The calculator here is for study and lab planning arithmetic only; it is not a substitute for a qualified professional in clinical or industrial settings.

Related

Formula used
in m | Mass of solute | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in v | Final solution volume | mL | 250 | 0.001
out c | Molarity | mol/L | m / mm / (v / 1000) | 4
out cmm | Concentration in millimolar | mM | c * 1000 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →