This calculator works out the molarity of a solution when you know the mass of solute, its molar mass, and the final volume in milliliters. You enter those three values, and you get the concentration in mol/L (molarity) and in millimolar (mM). It is the standard c = n / V calculation, with the volume converted from mL to liters.
Formula
Molarity (M) is defined as moles of solute per liter of solution:
Molarity (M) = (mass of solute in grams ÷ molar mass in g/mol) ÷ (volume in mL ÷ 1000)
In symbols:
M = m / (MM × V_L)
where:
- m = mass of solute in grams (g)
- MM = molar mass of the solute in grams per mole (g/mol)
- V_L = volume of solution in liters (L), obtained by dividing the given volume in mL by 1000
The result is expressed in mol/L, often written as M (molar). To get millimolar (mM), multiply the molarity by 1000.
Worked Example
Using the default values from the calculator: 2.922 g of sodium chloride (NaCl, molar mass = 58.44 g/mol) dissolved in a final volume of 250 mL.
Step 1: Convert the volume from mL to liters.
250 mL ÷ 1000 = 0.250 L
Step 2: Calculate the number of moles of NaCl.
Moles = mass ÷ molar mass = 2.922 g ÷ 58.44 g/mol = 0.05000 mol
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 rounds the first output to 4 decimals, giving 0.2000 M.
Assumptions
- The solute is pure and fully dissolves; no volume change upon mixing.
- The final volume is measured after the solute is dissolved and the solution is made up to the mark – not the volume of solvent added.
- The molar mass used is for the anhydrous form unless otherwise stated.
- Temperature is assumed to be around 25 °C; molarity changes slightly with temperature because volume changes.
When to Use This Calculation
Use this when you are preparing a solution from a solid reagent and you know the target volume. For example, making 500 mL of a 0.1 M buffer, or dissolving a known mass of salt to get a specific concentration. It is the standard way to express concentration in chemistry labs, biology buffers, and many industrial processes.
How to Read the Result
The molarity tells you how many moles of solute are in each liter of solution. A result of 0.2000 M means 0.2000 moles of NaCl per liter. The millimolar output (200.0 mM) is simply 1000 times the molarity, useful when working with small concentrations.
Common Mistakes
- Forgetting to convert mL to L: The most frequent error. Always divide the volume in mL by 1000 before using it in the formula.
- Using solvent volume instead of final solution volume: If you add 250 mL of water to a solid, the final volume may be slightly more than 250 mL. Always make up to the final volume in a volumetric flask.
- Mixing up molar mass with molecular weight in daltons: They are numerically the same, but ensure you use g/mol, not kg/mol.
- Rounding too early: Keep extra digits during intermediate steps, then round at the end.
- Using the wrong molar mass for hydrates: If you use CuSO₄·5H₂O, the molar mass includes the water of crystallization.
Tips
- Always use a volumetric flask to make the final volume exactly as intended.
- Dissolve the solid in a small amount of solvent first, then add solvent up to the mark – this ensures accurate final volume.
- Check the molar mass from a reliable source; for NaCl it is 58.44 g/mol, but for other compounds it varies.
- If you are preparing a solution for a lab, follow your lab method and the safety data sheet (SDS) for the reagent.
- Use the millimolar output when you need to compare with concentrations in mM, common in biochemistry.
Troubleshooting
If the molarity seems too high or too low: Double-check the units. Did you enter the mass in grams? Is the molar mass correct for the compound? Did you use the final volume, not the solvent volume?
If you get an error message from the calculator: Ensure all inputs are positive numbers. The minimum for mass is 0 g, for molar mass is 0.001 g/mol, and for volume is 0.001 mL. If you enter 0 or a negative number, the calculator will reject it.
If the result is a very small number like 0.0001 M: That may be correct if you have a tiny mass or a large volume. Consider using millimolar (mM) for readability.
If the solute does not dissolve completely: The calculation assumes complete dissolution. If you see undissolved solid, the actual molarity will be lower. You may need to stir, heat gently, or use a more soluble form.
Frequently Asked Questions
Q: Why do I need to divide the volume by 1000?
A: Molarity is defined per liter, but volumes are often measured in mL. Since 1 L = 1000 mL, dividing mL by 1000 converts to liters.
Q: Can I use this calculator for any solute?
A: Yes, as long as you know the molar mass of the solute. The calculator is generic.
Q: What if I only have the volume in liters?
A: Enter the volume in liters multiplied by 1000 to get mL, or simply use the formula with liters directly (skip the /1000).
Q: How do I find the molar mass of a compound?
A: Add the atomic masses of all atoms in the formula. For example, NaCl: 22.99 + 35.45 = 58.44 g/mol. Use the periodic table or a reliable source.
Q: Does temperature affect molarity?
A: Yes, because volume changes with temperature. Molarity is temperature-dependent. For precise work, control the temperature or use molality (moles per kg of solvent).
Q: What is the difference between molarity and molality?
A: Molarity is moles per liter of solution; molality is moles per kilogram of solvent. Molality is temperature-independent because it uses mass, not volume.
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
- QPP Calculator Canada: How It Works & How to Use It
- PPP Calculator World Bank: How It Works & How to Use It2,000.00
- PPP Calculator: India vs USA Cost Comparison1,000.00 USD
- PPP Calculator USD to INR: How It Works2,335 INR
- PPP Calculator India vs UK: Real Cost Comparison103.63 GBP
- PPP Calculator India vs Dubai: Real Cost Comparison8,954.58 AED