What Is the Molarity Calculator?
The Molarity Calculator is a quick chemistry tool that works out the molar concentration of a solution. Molarity (symbol M) is one of the most common ways chemists express concentration, and it tells you how many moles of a dissolved substance (the solute) are present in each litre of solution. This calculator takes two simple values — the amount of solute in moles and the total solution volume in litres — and instantly returns the concentration in moles per litre (mol/L).
How to Use It
You only need to fill in two input fields:
- Number of Moles: the amount of solute dissolved, measured in moles (mol).
- Volume (in litres): the total volume of the solution, measured in litres (L). If your volume is in millilitres, divide by 1000 first.
Enter both numbers and the calculator divides the moles by the volume to give the molarity. Note that the volume must be greater than zero — if you leave it at zero, the tool returns a result of 0, because dividing by zero has no meaning.
The Formula Explained
The calculation follows the standard definition of molarity:
$$M = \frac{\text{Moles (mol)}}{\text{Volume (L)}}$$
Here, moles is the quantity of solute and volume is in litres. The result is expressed in mol/L, often written simply as M. Because the formula is a straight division, doubling the moles doubles the concentration, while doubling the volume halves it.
Worked Example
Suppose you dissolve 0.5 moles of sodium chloride (table salt) in enough water to make 2 litres of solution. Plug the values in:
- Number of Moles = 0.5
- Volume = 2 litres
$$M = \frac{0.5}{2} = \mathbf{0.25 \text{ mol/L}}$$ So the solution is 0.25 M sodium chloride.
Concentration and Volume Unit Conversions
Molarity is defined as moles of solute per litre of solution, \(M = \frac{n}{V}\), so the amount must be in moles and the volume in litres. Convert other units first using the tables below.
Volume
| Unit | Equivalent |
|---|---|
| 1 mL | 0.001 L |
| 1 L | 1000 mL |
| 1 µL | 0.000001 L (10-6 L) |
| 1 m³ | 1000 L |
| 1 dm³ | 1 L |
Amount of substance
| Unit | Equivalent |
|---|---|
| 1 mmol | 0.001 mol |
| 1 µmol | 10-6 mol |
Concentration
| Unit | Equivalent |
|---|---|
| 1 M | 1 mol/L = 1000 mmol/L = 1 mol/dm³ = 1000 mol/m³ |
| 1 mM | 0.001 M |
| 1 µM | 10-6 M |
Example: 25 mmol dissolved to make 250 mL of solution is 0.025 mol in 0.250 L, so \(M = \frac{0.025}{0.250} = 0.1\) M.
Molarity Across Different Moles and Volumes
The table applies \(M = \frac{n}{V}\) to several combinations of moles and solution volume.
| Moles (mol) | Volume (L) | Calculation | Molarity (M) |
|---|---|---|---|
| 1 | 1 | \(\frac{1}{1}\) | 1 |
| 1 | 2 | \(\frac{1}{2}\) | 0.5 |
| 2 | 1 | \(\frac{2}{1}\) | 2 |
| 0.1 | 0.5 | \(\frac{0.1}{0.5}\) | 0.2 |
| 0.05 | 0.25 | \(\frac{0.05}{0.25}\) | 0.2 |
| 0.001 | 0.1 | \(\frac{0.001}{0.1}\) | 0.01 |
Key patterns: doubling the moles of solute (1 mol to 2 mol in 1 L) doubles the molarity, while doubling the volume (1 L to 2 L with 1 mol) halves it. Rows 4 and 5 show that different amounts can give the same concentration as long as the ratio of moles to volume is the same.
Key Terms in Solution Concentration
- Mole (mol)
- The SI unit for amount of substance; one mole contains 6.022×1023 entities (atoms, molecules, ions).
- Solute
- The substance that is dissolved, such as salt in salt water.
- Solvent
- The substance that does the dissolving, often water.
- Solution
- The homogeneous mixture of solute and solvent.
- Molarity (M)
- Moles of solute per litre of solution (mol/L).
- Molality (m)
- Moles of solute per kilogram of solvent (mol/kg). Unlike molarity, it does not change with temperature.
- Molar mass
- The mass of one mole of a substance in g/mol; moles = mass (g) ÷ molar mass (g/mol).
- Dilution
- Adding solvent to lower the concentration. The moles of solute stay constant, so \(M_1V_1 = M_2V_2\).
Note: molarity uses the total volume of the solution, not the volume of solvent added. Because liquids expand and contract with temperature, molarity varies slightly with temperature.
Frequently Asked Questions
What units does the result use? The concentration is in moles per litre (mol/L), which is the standard unit for molarity, abbreviated M.
Why do I get 0 when I enter a volume of zero? Division by zero is undefined, so the calculator safely returns 0 whenever the volume is not greater than zero. Always use a real, positive volume.
How do I find moles if I only know the mass? Divide the mass in grams by the molar mass (g/mol) of the substance first, then enter that result as the number of moles here.