This calculator determines the molarity of a liquid solution when you know the mass of solute, its molar mass, and the final volume of solution. Enter those three values and you get the concentration in mol/L (M) and millimolar (mM). Molarity is the most common way to express concentration in chemistry, used for reactions, dilutions, and buffer preparation.
Formula
Molarity (M) is defined as moles of solute per liter of solution:
Molarity (mol/L) = (mass of solute in grams ÷ molar mass in g/mol) ÷ (volume of solution in mL ÷ 1000)
In symbols: c = m / (Mr × VL), where:
- m = mass of solute (g)
- Mr = molar mass of solute (g/mol)
- VL = volume of solution in liters (convert from mL by dividing by 1000)
- c = molarity (mol/L, written as M)
The calculator uses the same formula: first convert volume to liters, then divide moles by liters.
Worked Example
Using the default values: 2.922 g of sodium chloride (NaCl, molar mass 58.44 g/mol) dissolved to a final volume of 250 mL.
Step 1: Convert volume to liters.
250 mL ÷ 1000 = 0.250 L
Step 2: Calculate moles of solute.
Moles = mass ÷ molar mass = 2.922 g ÷ 58.44 g/mol = 0.05000 mol (exactly, to 5 significant figures)
Step 3: Divide moles by volume in liters.
Molarity = 0.05000 mol ÷ 0.250 L = 0.2000 mol/L
So the molarity is 0.2000 M (or 200.0 mM). The calculator shows 0.2 M with 4 decimal places, which is 0.2000 M.
Assumptions
- The solute is pure and dry (no water of hydration unless accounted for in molar mass).
- The final volume is the total solution volume after dissolving, not the volume of solvent added.
- The solution is homogeneous and well-mixed.
- Temperature is not specified; molarity changes slightly with temperature because volume changes, but this is usually negligible for routine lab work.
When to Use This Calculator
Use it whenever you need to prepare a solution of known molarity from a solid reagent, or when you need to check the concentration of a solution you already made. Typical applications include preparing buffers, standard solutions for titrations, and culture media. The same calculation applies to any soluble compound—salts, sugars, acids, bases—as long as you know its molar mass.
How to Read the Result
The first output is molarity in mol/L (often written as M). For example, 0.2000 M means 0.2000 moles of solute per liter of solution. The second output is the same concentration in millimolar (mM), which is 1000 times the molarity. Use mM for dilute solutions (e.g., 200 mM is the same as 0.2 M).
Common Mistakes
- Using solvent volume instead of final solution volume: Molarity is based on the total volume after the solute is dissolved. If you add 250 mL of water to 2.922 g of NaCl, the final volume might be slightly more than 250 mL (e.g., 253 mL). You must measure the final volume, not the water volume.
- Forgetting to convert mL to L: Dividing mass by molar mass gives moles, but if you then divide by volume in mL without converting, you get moles per milliliter, which is 1000 times too large. Always divide by 1000.
- Using the wrong molar mass: For hydrated salts (e.g., CuSO₄·5H₂O), use the molar mass including water. For acids like HCl, use the molar mass of HCl (36.46 g/mol), not the mass of the solution.
- Confusing molarity with molality: Molality is moles per kilogram of solvent, not per liter of solution. This calculator gives molarity.
- Rounding too early: If you round intermediate steps, the final answer can be off. Keep at least 4 significant figures until the end.
Tips
- Always use an analytical balance for precise masses, and a volumetric flask for accurate final volume.
- Dissolve the solute in a small amount of solvent first, then add solvent up to the mark. This ensures the solute is fully dissolved and the volume is accurate.
- For solids that are hard to dissolve, use a stirring rod or gentle heating (if safe) before adjusting the final volume.
- Check the molar mass from a reliable source (e.g., IUPAC atomic weights) and include any water of crystallization.
- If you need a specific molarity, use the reverse calculation: mass = molarity × molar mass × volume (in L).
Troubleshooting
Result seems too high or too low: Double-check your volume conversion (mL to L) and your molar mass. Also verify that you entered the mass in grams, not milligrams.
Calculator says “Cannot compute” or negative value: This happens if the molar mass is zero or negative, or if the volume is zero. Check your inputs—molar mass must be positive (use g/mol, not kg/mol).
Solute does not dissolve completely: The final volume might be less than expected if the solute doesn’t dissolve. Stir thoroughly, and if needed, sonicate or heat gently (following your lab method). If it still won’t dissolve, you may have exceeded solubility—use a lower concentration.
Result is not what you expected from a recipe: The recipe might specify molality, or the solute might be a hydrate. Re-read the label and recalculate the molar mass.
Frequently Asked Questions
Q: What is the difference between molarity and molality?
A: 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.
Q: Can I use this calculator for concentrated acids like HCl?
A: Yes, if you know the mass of pure HCl and the final volume. But for liquid reagents like concentrated HCl (which is a solution of HCl gas in water), you usually need to know the density and percentage to find the mass of HCl. This calculator works for the solute mass once you have it.
Q: What if my solute is a liquid, like ethanol?
A: You can still use this calculator if you know the mass of the liquid solute. If you measure volume instead, convert to mass using density (mass = volume × density) before entering it.
Q: How do I prepare a solution of a specific molarity?
A: Rearrange the formula: mass (g) = molarity (mol/L) × molar mass (g/mol) × volume (L). For example, to make 500 mL of 0.1 M NaCl, mass = 0.1 × 58.44 × 0.5 = 2.922 g.
Q: Does temperature affect molarity?
A: Yes, because liquids expand when heated, so the same amount of solute in a larger volume gives a lower molarity. For precise work, prepare solutions at the temperature you will use them, or use molality.
Q: Why is the final volume important instead of solvent volume?
A: When you dissolve a solid, the total volume increases. If you add 1 L of water to a solid, the final volume might be 1.01 L, so the molarity would be slightly lower than if you used 1 L final volume. Using a volumetric flask ensures accuracy.
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
- Mean and Median Calculation Example
- Right Triangle Trigonometry Angle Calculation
- Simple Interest Rate Calculation Example$150.00
- Mean Absolute Deviation Calculation Example
- Ladder Height Calculation Problem?24.74 ft
- Average Speed Calculation Problem?100.00 km