molecalculator

Moles & Molar Mass

How to Get Molarity from mL (Step-by-Step)

Calculator No. 01-13020 · 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 guide shows you how to calculate molarity (mol/L) when you know the mass of a solute, its molar mass, and the final solution volume in milliliters. You’ll get the concentration in mol/L (and also in millimolar) using the standard formula. You’ll need the mass of the solute in grams, its molar mass in g/mol (you can look this up from the periodic table or use a molar mass calculator), and the final volume of the solution in milliliters.

Formula

Molarity (M) is defined as moles of solute per liter of solution:

Molarity (mol/L) = (mass of solute in grams ÷ molar mass in g/mol) ÷ (volume in mL ÷ 1000)

In symbols: M = m / (mm × V_L), where V_L = v / 1000.

  • m = mass of solute in grams (g)
  • mm = molar mass of solute in grams per mole (g/mol)
  • v = final solution volume in milliliters (mL)
  • M = molarity in moles per liter (mol/L, often written as M)

Notice the volume must be converted from mL to liters by dividing by 1000, because molarity is defined per liter, not per milliliter.

Worked Example

Using the default values from the calculator: mass of solute = 2.922 g, molar mass = 58.44 g/mol (this is NaCl), final volume = 250 mL.

Step 1: Convert volume from mL to L.
250 mL ÷ 1000 = 0.250 L

Step 2: Calculate moles of solute.
Moles = mass ÷ molar mass = 2.922 g ÷ 58.44 g/mol = 0.05000 mol (rounded to 5 significant figures)

Step 3: Divide moles by volume in liters.
Molarity = 0.05000 mol ÷ 0.250 L = 0.2000 mol/L

So the molarity is 0.2000 mol/L (or 0.2000 M). The calculator rounds to 4 decimal places, giving 0.2000. In millimolar, that is 0.2000 × 1000 = 200.00 mM, which matches the calculator’s second output.

Assumptions

  • The solute is pure and fully dissolves without changing the solution volume.
  • The volume used is the final volume of the solution (after mixing), not the volume of solvent added.
  • The molar mass is accurate for the exact compound used (including any hydrates).
  • Temperature is not considered; molarity is based on volume, which can change slightly with temperature.

When to Use This Calculation

You use this when you need to prepare a solution of a known concentration from a solid reagent, or when you want to find the concentration of an existing solution where you know the mass of solute and the total volume. It is a fundamental calculation in chemistry labs, biology buffers, and many industrial processes.

How to Read the Result

The molarity tells you how many moles of solute are in each liter of solution. A result of 0.2000 mol/L means that if you took 1 liter of that solution, it would contain 0.2000 moles of the solute. The millimolar output is simply molarity × 1000, which is convenient for dilute solutions.

Common Mistakes

  • Forgetting to convert mL to L: This is the most common error. Using mL directly in the formula gives a result that is off by a factor of 1000.
  • Using solvent volume instead of final volume: If you add solute to a graduated cylinder and then top up to the mark, that’s fine. But if you add solute to 250 mL of solvent and then the total volume becomes more than 250 mL, you must use the final volume.
  • Wrong molar mass: Using the molar mass of the anhydrous compound when you have a hydrate, or misreading the periodic table, will give a wrong answer.
  • Rounding too early: Rounding intermediate steps can introduce errors. Keep at least 4-5 significant figures until the end.

Tips

  • Always write the units in each step. If the units don’t cancel to give mol/L, you’ve made a mistake.
  • For precise work, use a volumetric flask. Add the solute, dissolve in a small amount of solvent, then fill to the mark with solvent. This ensures the final volume is exactly as intended.
  • If you are preparing a solution from a stock, remember that molarity is not the same as molality (which uses kg of solvent).
  • Use a calculator that handles scientific notation for very small or large numbers.

Troubleshooting

If your result seems too high or too low: Check that you used the correct molar mass. For example, NaCl is 58.44 g/mol, but if you accidentally used 58.44 g for a different salt, the answer will be wrong. Also verify the volume is in mL and not in L already.

If the calculator gives an error: Make sure all inputs are positive numbers. Mass cannot be zero or negative, molar mass must be greater than zero, and volume must be positive.

If you get a negative molarity: This should never happen with real inputs. If it does, you likely entered a negative mass or volume. Recheck your entries.

If your manual calculation doesn’t match the calculator: Recheck your unit conversions. For instance, 250 mL divided by 1000 is 0.25 L, not 2.5 L.

Frequently Asked Questions

Q: Can I use this formula if the solute is a liquid?
A: Yes, but you need the mass of the liquid solute. If you have a volume of liquid, you must first convert to mass using density (mass = volume × density).

Q: What if I only have the volume in liters, not mL?
A: You can skip the division by 1000. Just use the volume in liters directly in the denominator.

Q: Does temperature affect molarity?
A: Yes, because temperature changes the volume of the solution. Molarity is temperature-dependent. For very precise work, control the temperature or use molality instead.

Q: How do I find the molar mass of a compound?
A: Add the atomic masses of all atoms in the formula. For example, NaCl: 22.99 + 35.45 = 58.44 g/mol. Use the periodic table or a molar mass calculator.

Q: What is the difference between molarity and molality?
A: Molarity is moles per liter of solution. Molality is moles per kilogram of solvent. Molality is temperature-independent because it uses mass, not volume.

Q: Can I use this to dilute a solution to a certain molarity?
A: No, this formula is for preparing from solid. For dilution, use the dilution equation M1V1 = M2V2.

Remember to follow your lab method, the safety data sheet (SDS), and your supervisor when working with chemicals.

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 →