Molarity Calculator
Use this tool to calculate molarity (M), moles (n), or solution volume (V) using the equation M = n / V.
What Is Molarity?
Molarity is one of the most common concentration units in chemistry. It tells you how many moles of dissolved substance (solute) exist in one liter of solution. The symbol for molarity is M, and the standard unit is mol/L.
Whether you are preparing a buffer, running a titration, or making a stock solution for biology or chemistry lab work, molarity is usually the fastest way to communicate concentration precisely.
Molarity Formula
The equation is simple:
M = n / V
- M = molarity in mol/L
- n = moles of solute in mol
- V = volume of solution in liters
From the same equation, you can also rearrange to solve for other values:
- n = M × V
- V = n / M
How to Use This Calculator
The calculator above handles all three common molarity operations. Select what you want to solve for, fill in the known values, and click Calculate.
- If you want concentration, choose Molarity (M).
- If you want amount of substance, choose Moles (n).
- If you want required solution size, choose Volume (V).
Tip: Volume must be in liters in the formula, but this calculator accepts mL and converts automatically.
Example 1: Find Molarity
You dissolve 0.50 mol of NaCl in 250 mL of solution.
- Convert 250 mL to liters: 0.250 L
- M = n/V = 0.50/0.250 = 2.0
The final concentration is 2.0 M.
Example 2: Find Moles
You have 0.75 M HCl and need 400 mL of solution.
- Convert 400 mL to liters: 0.400 L
- n = M × V = 0.75 × 0.400 = 0.30 mol
You need 0.30 mol of HCl.
Example 3: Find Volume
You have 0.10 mol glucose and want a 0.20 M solution.
- V = n/M = 0.10/0.20 = 0.50 L
- That is also 500 mL
You should make up the final solution volume to 0.50 L.
Preparing a Solution from a Solid Solute
If you are making a solution in lab, here is a practical workflow:
- Choose desired molarity and final volume.
- Calculate required moles: n = M × V.
- Convert moles to grams using molar mass: mass = n × molar mass.
- Weigh the solid accurately.
- Dissolve in less than final volume of solvent.
- Transfer to a volumetric flask and fill to mark.
- Mix thoroughly.
Always remember: molarity is based on final solution volume, not just the solvent you initially poured.
Dilution Basics (M1V1 = M2V2)
When diluting a stock solution, the number of moles remains constant before and after dilution. That gives the dilution formula:
M1V1 = M2V2
- M1, V1 = stock concentration and volume used
- M2, V2 = final concentration and final volume
Example: To make 100 mL of 0.10 M solution from a 1.00 M stock:
V1 = (M2 × V2)/M1 = (0.10 × 100 mL)/1.00 = 10 mL stock, then dilute to 100 mL total volume.
Molarity vs Other Concentration Units
- Molarity (M): moles per liter of solution (temperature-dependent due to volume changes).
- Molality (m): moles per kilogram of solvent (often preferred in thermodynamics).
- Mass percent: grams solute per 100 g solution (common in formulations).
- Normality (N): equivalents per liter (useful in acid-base and redox contexts).
For most classroom chemistry and routine wet-lab prep, molarity is the standard choice.
Common Mistakes to Avoid
- Using mL directly in the formula without converting to liters.
- Confusing moles with grams.
- Forgetting that volume refers to final solution volume, not solvent volume alone.
- Rounding too early in multi-step calculations.
- Not checking significant figures or units in your final answer.
Quick FAQ
Does temperature affect molarity?
Yes. Because molarity uses volume, and volume can change with temperature, concentration in M may shift slightly when temperature changes.
Can I calculate molarity from grams directly?
Yes, but convert grams to moles first: moles = grams / molar mass, then apply M = n/V.
Is pure water required when preparing molar solutions?
In analytical work, deionized or distilled water is usually recommended to avoid contamination that changes concentration or reactivity.
Final Takeaway
Molarity calculations are straightforward once you keep units consistent and convert volume correctly. Use the calculator at the top of this page for fast and accurate results, then verify your setup with the equation. Good unit discipline is the key to reliable chemistry.