molecalculator

Moles & Molar Mass

How to Calculate Concentration: Molarity Formula

Calculator No. 01-3773 · 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.

This calculator finds molar concentration (molarity) from a solute’s mass, its molar mass, and the final volume of the solution. Enter those three values to get concentration in mol/L and mM; use the final solution volume, not the amount of solvent added.

Formula

Molarity is the amount of solute in moles divided by the total solution volume in liters:

C = n / V = (m / M) / (VmL / 1000)

  • C is molarity, in mol/L.
  • n is the amount of solute, in mol, calculated as mass divided by molar mass.
  • m is solute mass, in g.
  • M is solute molar mass, in g/mol.
  • V is final solution volume, in L. Convert a volume in mL to L by dividing by 1000.

To express the result in millimolar, use concentration (mM) = C (mol/L) × 1000. One mol/L equals 1000 millimol/L. The calculator treats the entered solute as a pure compound and assumes the stated volume is the final volume of a homogeneous solution.

Worked Example

Using the calculator’s default values: 2.922 g solute, a molar mass of 58.44 g/mol, and 250 mL final solution volume.

  1. Find the amount in moles: n = 2.922 g / 58.44 g/mol = 0.050000 mol.
  2. Convert the final volume to liters: 250 mL / 1000 = 0.25000 L.
  3. Divide moles by liters: C = 0.050000 mol / 0.25000 L = 0.2000 mol/L.
  4. Convert to millimolar: 0.2000 mol/L × 1000 = 200.00 mM, displayed to two decimal places.

Assumptions

  • The entered mass is the mass of the solute, and its molar mass is appropriate for the compound and form used.
  • The volume is the final solution volume, measured after the solute has dissolved and the solution has reached the specified volume.
  • The solution is homogeneous, and the solute is treated as pure. This calculation reports analytical molarity; it does not account for chemical reaction, degradation, or activity effects.

What You’ll Need

  • The mass of the solute, measured in grams.
  • The solute’s molar mass in g/mol. Calculate it from the formula and standard atomic weights, or check a reliable chemical reference. For example, NaCl has a molar mass of 58.44 g/mol using Na 22.990 and Cl 35.45.
  • The final volume of the solution in mL or L, plus a calculator or the fields above.
  • For bench work, suitable measuring equipment and the approved procedure for the substance. Follow your lab method, the safety data sheet (SDS) and your supervisor.

Step-by-Step

  1. Identify the substance and its formula. Confirm exactly which compound is being counted, including its hydration state or salt form. These can change molar mass. Do not assume a value for a compound with a similar name.
  2. Find the molar mass. Add the atomic masses for every atom in the chemical formula. Keep units in g/mol. If the formula is NaCl, add 22.990 g/mol for sodium and 35.45 g/mol for chlorine to obtain 58.44 g/mol.
  3. Record the solute mass. Enter the mass that was actually weighed, in grams. Convert other units first: 1 mg = 0.001 g, and 1 kg = 1000 g. Avoid entering the mass of a stock solution or container as though it were pure solute.
  4. Enter the final solution volume. Use the volume of the complete solution, not the volume of solvent before adding solute. The calculator accepts mL and converts it to liters using V (L) = V (mL) / 1000.
  5. Calculate moles. Divide solute mass by molar mass: n (mol) = m (g) / M (g/mol). The gram units cancel, leaving moles.
  6. Calculate molarity. Divide the moles by final volume in liters: C (mol/L) = n / V. Check that the volume has been converted before dividing.
  7. Read and report the result. Use mol/L for molarity or the accompanying mM value for millimolar concentration. Include the compound, units, and relevant conditions in notes or a lab record. Keep unrounded values during calculation and round the final figure to a precision supported by the measurements.

Common Mistakes

  • Using solvent volume instead of final volume: adding solute can change the volume. Molarity uses the volume of the finished solution.
  • Mixing up mass and moles: grams are not moles. Divide mass by molar mass before using the volume.
  • Leaving volume in mL: molarity is expressed per liter. A 250 mL volume is 0.250 L, not 250 L.
  • Using the wrong molar mass: hydrates and different chemical forms may have different formula masses. Check the exact formula on the material record or reference.
  • Confusing molarity with mass concentration: g/L is mass per volume; mol/L is moles per volume. Convert using molar mass if you need to switch between them.
  • Rounding too early: retain extra digits in the mole and volume calculations, then round the final answer. A calculator’s displayed digits do not make the original measurements more precise.

Tips

  • Write units beside every number. They make errors such as dividing grams by milliliters easier to spot.
  • Estimate the answer before calculating. More solute should increase concentration; more final volume should decrease it.
  • For small concentrations, use mM (10-3 mol/L), µM (10-6 mol/L), or another clearly stated unit. Convert explicitly rather than changing the number without changing the unit.
  • If preparing a solution, follow the approved method for that substance and bring the mixture to its final volume as directed. The calculation itself does not specify safe handling or a preparation procedure.
  • Report enough significant figures to reflect the input measurements. If mass or volume is only known to three significant figures, a long calculator output is not evidence of greater accuracy.

Troubleshooting

The result is 1000 times too high or low: check whether the volume was entered in mL as requested, and whether a separate value was first converted from L. The formula divides the entered mL by 1000.

The result seems chemically implausible: verify the mass units, formula, molar mass, and final volume. Check for a hydrate, a purity correction, or a transcription error. If purity is not 100%, this calculator does not correct the weighed mass; an appropriate calculation needs the actual purity fraction.

The solution did not reach the intended volume or dissolve fully: the computed value describes the entered mass and stated final volume, not necessarily what is present in the container. Follow the approved lab method and do not assume the nominal volume is accurate when the final solution differs.

You need concentration from a liquid stock: this calculator is designed for solute mass, molar mass, and final volume. If the stock concentration and transferred volume are known, use the dilution relationship C1V1 = C2V2, with consistent units and compatible concentration definitions.

Frequently Asked Questions

What is the basic formula for concentration?
Molarity is moles of solute divided by liters of solution: C = n/V. If starting with mass, first calculate moles as mass divided by molar mass.

How do I calculate concentration from grams?
Divide grams by molar mass in g/mol to get moles, then divide those moles by the final solution volume in liters.

Is molarity the same as concentration?
Molarity is one type of concentration: amount of substance per solution volume, measured in mol/L. Concentration can also be reported as mass per volume, mass fraction, or other quantities.

How do I convert mol/L to mM?
Multiply mol/L by 1000. For example, 0.20 mol/L equals 200 mM.

Can I use the volume of water I added?
Not generally. Use the final volume of the complete solution. The volume after dissolving may differ from the starting solvent volume.

Does this calculate the concentration of every chemical species?
No. It calculates formal molarity from the amount of compound added and total volume. Reactions, dissociation, complex formation, or non-ideal behavior may affect the concentrations or activities of individual species.

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 →