Concentration Calculator (Molarity)
Dissolving 2 moles of solute in 4 liters of solution gives a concentration of 0.5 mol/L. This concentration calculator finds the molarity of a solution, the amount of dissolved substance per liter, using either of the two ways chemistry problems usually give you the data. In the first mode you enter the moles of solute and the total solution volume in liters, and the tool divides one by the other. In the second mode you enter the mass of solute in grams, its molar mass in grams per mole, and the volume, and the tool first converts the mass to moles and then divides by the volume. Either way you get the molarity to four decimal places, the moles of solute involved, and the same concentration expressed in millimoles per liter for dilute solutions. Molarity is the workhorse concentration unit in general chemistry, stoichiometry, and lab work, so this tool keeps the arithmetic quick and consistent whether you are checking homework, preparing a standard solution, or converting a recipe from grams to a target mol/L value.
Quick answer
Molarity equals moles of solute divided by liters of solution, written as mol/L or a capital M.
What this tells you
- •Molarity equals moles of solute divided by liters of solution, written as mol/L or a capital M.
- •In fromMoles mode you supply moles and volume directly, so a 1 mole sample in 2 liters is 0.5 mol/L.
- •In fromMass mode the tool converts grams to moles using the molar mass, then divides by volume.
- •The volume is the total volume of the finished solution, not the volume of solvent you started with.
- •Millimolar (mmol/L) is molarity times 1000, which is handier for very dilute biological and lab solutions.
- •Volume must be greater than zero and molar mass must be positive, otherwise the calculation has no meaning.
How to Use
- 11. Pick a mode. Choose From moles and volume if you already know how many moles of solute you have, or From mass, molar mass, and volume if you only have a weight in grams.
- 22. In From moles mode, enter the moles of solute and the total solution volume in liters.
- 33. In From mass mode, enter the mass of solute in grams, the molar mass of the compound in grams per mole, and the total solution volume in liters.
- 44. Press Calculate to read the molarity in mol/L as the primary result.
- 55. Check the secondary results for the moles of solute the tool used and the same concentration shown in millimoles per liter.
How It Works
Formula
Molarity (mol/L) = moles of solute / liters of solution. In mass mode: moles = mass (g) / molar mass (g/mol).Molarity is defined as the number of moles of a dissolved substance per liter of total solution. When you already know the moles, the tool divides that number straight by the volume in liters. When you only have a mass, it first finds the moles by dividing the mass in grams by the molar mass in grams per mole, which cancels the grams and leaves moles, and then divides those moles by the volume. The volume in the denominator is the volume of the whole solution after the solute has dissolved, which is why concentrated solutions are made up to a mark in volumetric glassware rather than by adding a fixed amount of water. The result is rounded to four decimal places, and a millimolar value equal to molarity times 1000 is provided for dilute solutions where mol/L values would otherwise be very small.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
Moles and volume, a clean ratio
Two moles of solute spread through four liters of solution gives 2 divided by 4, which is 0.5 mol/L. In millimolar terms that is 500 mmol/L, the same concentration written on a smaller scale.
One molar sodium chloride from mass
The molar mass of sodium chloride is about 58.44 g/mol, so 58.44 grams is exactly one mole. Dissolving that one mole in one liter of solution gives a molarity of 1.0 mol/L, the classic 1 M standard solution.
A dilute solution shown in millimolar
One hundredth of a mole in two liters gives 0.005 mol/L. That small number is clearer as 5 mmol/L, which is why the tool reports both. Dilute lab and biology solutions are usually quoted in millimolar.
Mass mode with a fractional result
Forty grams of a compound with a molar mass of 40 g/mol is one mole. Dividing that one mole by two liters of solution gives 0.5 mol/L, or 500 mmol/L, matching the first example by a different route.
Molarity Quick Reference
Common moles and volume combinations and the molarity each one produces.
| Moles of solute | Volume (L) | Molarity (mol/L) | Millimolar (mmol/L) |
|---|---|---|---|
| 1 | 1 | 1.0000 | 1000 |
| 0.5 | 1 | 0.5000 | 500 |
| 2 | 4 | 0.5000 | 500 |
| 0.1 | 1 | 0.1000 | 100 |
| 0.01 | 2 | 0.0050 | 5 |
| 3 | 1.5 | 2.0000 | 2000 |
The volume is always the total volume of the finished solution, not the volume of pure solvent added before dissolving.
Molarity versus other concentration units
Molarity is the most common concentration unit in general chemistry because it plugs directly into stoichiometry. If you know the molarity and the volume of a solution, multiplying them gives the moles reacting, which is exactly what a balanced equation needs. That direct link to moles is why titrations, buffer recipes, and reaction calculations are almost always expressed in mol/L.
The main limitation of molarity is that it depends on volume, and volume changes with temperature. A solution that is exactly 1 mol/L at room temperature will read slightly differently when warmed because the liquid expands. For work where temperature swings matter, chemists sometimes switch to molality, which is moles of solute per kilogram of solvent and does not change with temperature. This tool reports molarity, so treat its results as valid at the temperature you measured the volume.
Millimolar, the mmol/L figure this tool also returns, is just molarity on a smaller scale, one thousandth of a mole per liter. It is the natural unit for dilute solutions in biology, medicine, and environmental chemistry, where a full mol/L would be an unusually strong concentration. Reporting both lets you read strong and weak solutions on whichever scale is clearer without doing a second conversion by hand.
Common mistakes
- Using the volume of solvent instead of the total solution volume. Molarity is per liter of finished solution, so make the solution up to the mark rather than adding a set volume of water.
- Measuring volume in milliliters and forgetting to convert to liters. A 250 mL solution is 0.25 L, and skipping that step makes the molarity a thousand times too large.
- Mixing up molar mass and mass. Molar mass is grams per mole and comes from the periodic table, while mass is the weight of solute you actually measured out.
- Entering a molar mass of zero or leaving it blank in mass mode. The tool cannot divide mass by a zero molar mass, so it returns no result until you supply the real value.
- Assuming molarity stays fixed after heating or cooling. Because it depends on volume, molarity shifts slightly with temperature, unlike molality which is based on mass.
Embed this calculator on your site
Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.
<script src="https://calctide.com/embed.js" data-tool="concentration-calculator" async></script>Preview the embed at /embed/concentration-calculator/.