The molarity-and-volume formula is M = n/V, where M is molarity in moles per liter, n is the amount of solute in moles, and V is the final solution volume in liters. This calculator finds molarity from solute mass, molar mass, and final volume, and also reports the concentration in millimolar.
Formula
Molarity is the amount of solute in moles divided by the final volume of the solution in liters:
M = n / V
If the amount is supplied as a mass, first calculate moles using the compound’s molar mass:
n = m / MM, so M = m / (MM × V).
In this calculator, volume is entered in milliliters, so the expression is M = m / MM / (VmL / 1000). The factor 1000 converts milliliters to liters.
- M = molarity, in mol/L (also written M).
- n = amount of solute, in moles (mol).
- V = final solution volume, in liters (L).
- m = solute mass, in grams (g).
- MM = molar mass, in grams per mole (g/mol).
- VmL = final solution volume entered in milliliters (mL); divide by 1000 to express it in liters.
One millimolar (1 mM) equals 0.001 mol/L, so the conversion is mM = M × 1000. The calculator uses the entered molar mass; for a specific compound, obtain that value from its formula and accepted atomic weights.
Worked Example
Using the calculator’s default values—2.922 g solute, a molar mass of 58.44 g/mol, and a final volume of 250 mL—first convert the volume to liters:
250 mL / 1000 = 0.25000 L
Next, calculate the amount of solute:
n = 2.922 g / 58.44 g/mol = 0.050000 mol
Then divide the amount by the final volume:
M = 0.050000 mol / 0.25000 L = 0.2000 mol/L
Convert to millimolar:
0.2000 mol/L × 1000 = 200.00 mM
The outputs are 0.2000 mol/L and 200.00 mM. The displayed precision is a calculator setting, not a guarantee that the measurements themselves are accurate to every displayed digit.
Assumptions
- The entered mass is the mass of the solute, and the entered molar mass matches that solute’s chemical form.
- The volume is the final volume of the entire solution, not the volume of solvent used before dissolving the solute.
- The solution is treated as homogeneous, and the calculation reports analytical molarity without adjusting for chemical reactions, ion pairing, or activity effects.
- For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
How Molarity and Volume Work Together
Molarity describes concentration: how many moles of solute are present in each liter of solution. Rearranging the same relationship gives n = M × V, which is useful when a target concentration and final volume are known and the required amount in moles is needed. To convert that amount to mass, use m = M × V × MM, with volume in liters.
For example, a solution at 0.20 mol/L has 0.20 mol of solute per liter. A 0.250 L portion at that concentration contains 0.050 mol, because 0.20 mol/L × 0.250 L = 0.050 mol. Changing the volume of a sample taken from a uniform solution does not change its molarity; it changes the total amount of solute in the sample.
This distinction matters in dilution. Adding solvent increases the final volume while leaving the amount of solute unchanged, so the concentration falls. For a simple dilution with no solute added or removed, M1V1 = M2V2. Keep each volume in the same units on both sides. This relationship does not calculate how much material is required to make a solution from a solid unless you also account for its molar mass.
Choosing Inputs and Reading the Result
Enter the mass and molar mass in compatible units: grams and grams per mole. Enter the solution’s final volume in milliliters. The result is mol/L, a unit equivalent to moles per liter; the second output is the same concentration expressed in mM. A concentration of 1 mol/L is 1000 mM.
For a compound with more than one atom of an element, calculate molar mass by multiplying each element’s atomic weight by its subscript and summing the contributions. For sodium chloride, using Na = 22.990 and Cl = 35.45 g/mol gives 58.440 g/mol. The worked example uses 58.44 g/mol, consistent with that value at the shown precision. If a compound is hydrated, ionic, or supplied in a particular salt form, use the molar mass for that exact form, not a different form of the same chemical species.
- Use a measured solute mass, not the total mass of the solution.
- Use final solution volume after the solute has been dissolved and the solution brought to volume.
- Keep units consistent; convert milliliters to liters before applying M = n/V.
- Choose a molar mass that reflects the chemical formula and form actually being counted.
Common Errors and Limits
A frequent mistake is using milliliters directly as though they were liters. That makes the calculated molarity 1000 times too large. Another is treating the volume of solvent added as the final solution volume. Dissolving a solid can change volume, so the formula requires the completed solution’s final volume.
Rounding can also affect results. Keep extra digits during intermediate calculations, then round the final answer to a precision justified by the input measurements and the purpose of the calculation. A calculator’s four decimal places do not make a mass measurement or volume measurement more precise.
Molarity is defined using solution volume and is therefore temperature-dependent: liquids can expand or contract as temperature changes, altering volume and the numerical molarity. The basic formula also does not establish whether a solute fully dissolves, reacts, or separates into ions. It gives formal concentration from the stated amount and volume; it does not by itself predict chemical behavior or effective concentration in a non-ideal solution.
Frequently Asked Questions
What is the formula for molarity using volume?
Molarity equals moles of solute divided by the final solution volume in liters: M = n/V. If volume is in milliliters, convert it to liters by dividing by 1000.
How do I calculate volume from molarity and moles?
Rearrange M = n/V to get V = n/M. If n is in moles and M is in mol/L, the answer is in liters.
How do I find molarity from grams?
Divide the solute mass by its molar mass to get moles, convert the final volume to liters, and divide moles by liters: M = (mass / molar mass) / volume.
Is molarity the same as moles per milliliter?
No. Molarity is moles per liter. One mol/L equals 0.001 mol/mL, or 1000 mM.
Does adding water change molarity?
Yes. If the amount of solute stays constant, adding solvent increases the final volume and lowers molarity. Use M1V1 = M2V2 for a straightforward dilution.
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
- Liters to Cubic Meters: Conversion and Examples0.001000 m³
- Normal Cubic Meter to Liters Calculator1,000.00 L
- Qt to Liters Conversion: US and Imperial Quarts0.946353 L
- Meters to Liters Formula: Convert Length to Volume?1,000.000 L
- Meters to Litres: Why Length Alone Is Not Enough1,000.00 L
- Cubic Meters per Hour to Liters per Second0.2778 L/s