Molarity Conversion Calculator: Formula & Examples
- Amount of solute
- mol
- Result
- Mass needed for 1 M
- g
- Result
- Mass of solute
- 58.44 g
- You entered
A molarity conversion calculator converts between molarity (moles per liter), mass of solute, volume of solution, and molar mass. You enter any three of these four values, and the calculator computes the missing one, typically returning concentration in mol/L (M) as the primary result.
Formula
The core equation is:
Molarity (M) = mass of solute (g) ÷ (molar mass (g/mol) × volume of solution (L))
Equivalently, M = n / V, where n is the number of moles of solute and V is the volume of solution in liters. The calculator above uses the expanded form so you can enter grams directly. Each variable has a clear unit: mass in grams (g), molar mass in grams per mole (g/mol), volume in liters (L), and molarity in moles per liter (mol/L), often written as M.
Worked Example
Using the default values from the calculator: dissolve 58.44 g of sodium chloride (NaCl, molar mass 58.44 g/mol) in enough water to make 1.00 L of solution.
- First find moles: 58.44 g ÷ 58.44 g/mol = 1.000 mol.
- Then divide by volume: 1.000 mol ÷ 1.00 L = 1.000 mol/L.
- The calculator shows 1.0000 M, matching the expected 1 M solution.
If you instead had 29.22 g in 0.5 L, the result would be (29.22 ÷ 58.44) ÷ 0.5 = 1.000 M as well.
When to Use This Calculator
Use this tool in any lab or homework context where you need to prepare a solution of known concentration. Typical situations include:
- Making a buffer or reagent with a target molarity from a solid salt.
- Converting a recipe that gives grams per liter into molarity for stoichiometry.
- Checking whether a purchased solution is the concentration stated on the label.
- Dilution problems where you first find the molarity of a stock solution.
The calculator is equally useful for acids, bases, salts, and any pure compound with a known molar mass. It does not handle mixtures or hydrated compounds unless you adjust the molar mass manually to include water of crystallization.
How to Choose the Right Molar Mass
The molar mass is the sum of atomic masses from the periodic table. For a compound like glucose (C₆H�₂O₆), add carbon (12.01 × 6), hydrogen (1.008 × 12), and oxygen (16.00 × 6) to get 180.16 g/mol. For hydrated salts, include the water molecules: copper(II) sulfate pentahydrate (CuSO₄·5H₂O) has a molar mass of 249.69 g/mol, not 159.61 g/mol for the anhydrous form. If you use the wrong molar mass, every result will be off by the same factor. When in doubt, check the chemical formula on the bottle or in the literature.
Common Mistakes and How to Avoid Them
The most frequent error is mixing up volume units. Molarity always uses liters; if you measure in milliliters, divide by 1000 first. For example, 250 mL is 0.250 L, not 250 L. Another common issue is confusing molarity with molality (moles per kilogram of solvent) or with mass percent. Molarity depends on the final volume of solution, not the volume of solvent added. Also, when dissolving a solid, the volume changes slightly, so always add solute first and then bring the solution to the final volume with solvent. Finally, rounding too early can cause errors in multi-step calculations; keep at least three significant figures until the final answer.
Limitations of the Formula
The formula assumes ideal behavior: complete dissolution, no volume change on mixing, and no chemical reaction between solute and solvent. Real solutions deviate slightly, especially at high concentrations or with strong electrolytes. For most educational and routine lab purposes, the error is negligible. The calculator also assumes the solute is pure; if it is a hydrate or has impurities, adjust the mass or molar mass accordingly. Temperature matters because volume changes with temperature, so molarity is temperature-dependent; a solution that is 1.000 M at 20 °C will be slightly less than 1.000 M at 30 °C. For precise work, use a volumetric flask at the calibration temperature.
Frequently Asked Questions
How do I convert molarity to grams per liter?
Multiply molarity by molar mass. For example, a 0.5 M solution of NaCl (58.44 g/mol) contains 0.5 × 58.44 = 29.22 g of NaCl per liter. This is a simple unit conversion: mol/L × g/mol = g/L.
What is the difference between molarity and molality?
Molarity is moles of solute per liter of solution; molality is moles of solute per kilogram of solvent. Molarity changes with temperature because volume changes; molality does not. For dilute aqueous solutions, the numerical values are similar, but they are not identical.
Can I use this calculator for dilution problems?
Yes, indirectly. First calculate the molarity of your stock solution using mass and volume. Then use the dilution formula M�V� = M₂V₂ to find the volume needed for a target concentration. The calculator gives you M�; you do the dilution step separately.
Why does my result differ from the label on a commercial solution?
Commercial solutions are often made by weight or by density, and some are labeled in normality or percent by weight. Check the label for the exact basis. Also, concentrated acids like HCl are typically around 37% by weight, which corresponds to about 12 M, not 1 M. Verify the density and purity before using.
What if I only know the volume in milliliters?
Convert to liters by dividing by 1000 before entering it into the calculator. For instance, 500 mL becomes 0.5 L. If you prefer, you can enter the volume in liters directly; the calculator does not accept mL as a unit.