The molarity formula calculates how many moles of solute are present in each liter of final solution. Enter the solute mass, its molar mass, and the solution’s final volume to calculate molarity and its equivalent in millimolar units.
Formula
Molarity is the amount of solute in moles divided by the final solution volume in liters:
M = n / V
- M is molarity, in moles per liter (mol/L).
- n is the amount of solute, in moles (mol).
- V is the total final solution volume, in liters (L).
If you know the solute’s mass instead of its amount in moles, calculate moles as n = m / MM, where m is mass in grams and MM is molar mass in grams per mole. Combining these gives M = m / (MM × V). For volume entered in milliliters, convert to liters by dividing by 1,000: M = m / [MM × (V in mL / 1,000)].
The calculator evaluates this as m / MM / (v / 1000). Molarity is often written as M; for example, 1 mol/L is 1 M. One millimolar (mM) is one-thousandth of a molar, so the conversion is mM = M × 1,000.
Worked Example
Use the default inputs: 2.922 g solute, a molar mass of 58.44 g/mol, and a final solution volume of 250 mL.
- Convert the volume: 250 mL / 1,000 = 0.25000 L.
- Find the amount of solute: 2.922 g / 58.44 g/mol = 0.050000 mol.
- Divide the amount by the final volume: 0.050000 mol / 0.25000 L = 0.2000 mol/L.
- Convert to millimolar: 0.2000 mol/L × 1,000 = 200.00 mM.
The result is 0.2000 mol/L, or 200.00 mM. The units confirm the calculation: grams divided by grams per mole gives moles, and moles divided by liters gives moles per liter.
Assumptions
- The entered mass is the mass of the solute, and the molar mass matches that solute’s chemical form.
- The volume is the final volume of the entire solution, not the volume of solvent used before dissolving the solute.
- The solution is sufficiently dilute that its stated final volume is meaningful under the preparation method.
- This is concentration arithmetic for study and lab planning; it does not account for purity, reaction, dissociation, or volume changes unless those are handled separately.
What You’ll Need
- The solute’s mass, measured in grams, or a known amount in moles.
- The solute’s molar mass in g/mol. Find it from the compound’s formula and standard atomic weights, or use a reliable reference for the specific chemical form.
- The total final solution volume in milliliters or liters.
- A calculator, or the inputs above for the calculator on this page.
Step-by-Step
- Identify the solute. Check its chemical formula and form. A hydrate, salt, or other specified form may have a different molar mass than the anhydrous compound.
- Get the molar mass. If calculating it from a formula, multiply each element’s atomic weight by the number of its atoms, then add the contributions. Keep the units as g/mol. For example, sodium chloride has a molar mass of about 58.44 g/mol using Na 22.990 and Cl 35.45.
- Record the solute mass or amount. Use grams if you are using the calculator above. If the amount is already given in moles, you can skip the mass-to-moles conversion and use M = n / V directly.
- Use the final solution volume. This is the volume after the solute has been dissolved and the solution has been brought to its intended final volume. It is not necessarily the amount of solvent initially added.
- Convert milliliters to liters. Divide the volume in mL by 1,000. For instance, 75 mL is 0.075 L. If the volume is already in liters, do not convert it again.
- Calculate moles if needed. Divide mass in grams by molar mass in g/mol. The units cancel to give moles: g ÷ (g/mol) = mol.
- Divide moles by liters. The result is molarity in mol/L. Retain guard digits while calculating, then round the final answer to a precision supported by the input measurements.
- Check the result and units. Confirm that the concentration is plausible for the amount and volume. If useful, convert mol/L to mM by multiplying by 1,000, or to µM by multiplying by 1,000,000.
When bench work is implied, follow your lab method, the safety data sheet (SDS) and your supervisor.
Common Mistakes
- Using milliliters as if they were liters. Convert mL to L before dividing. Forgetting this makes the answer 1,000 times too small when using M = n / V.
- Using solvent volume instead of final solution volume. The formula uses the volume of the complete solution. Dissolving a solid in 250 mL of water does not necessarily produce 250 mL of solution.
- Mixing up mass and moles. A mass in grams cannot be divided directly by volume to obtain molarity; first divide by molar mass.
- Using the wrong molar mass. Check the formula, hydrate state, and chemical form. A molar mass entered in kg/mol instead of g/mol introduces a factor-of-1,000 error.
- Rounding too early. Keep extra digits in intermediate steps and round the final result to match the precision of the measurements.
- Confusing molarity with millimolarity. 0.2 M equals 200 mM, not 0.2 mM.
Tips
- Write units beside every quantity before substituting values. Unit cancellation is a quick way to catch errors.
- Check whether the question asks for molarity, molality, or another concentration measure. Molarity uses liters of solution; molality uses kilograms of solvent.
- For a target concentration, rearrange the same formula. The required amount in moles is n = M × V, with V in liters; required mass is m = M × V × MM.
- Use scientific notation for very dilute or concentrated values when it makes the magnitude clearer, and state the unit explicitly.
- If you need to prepare a solution, distinguish the calculation from the actual preparation method; use the relevant lab instructions and safety information.
Troubleshooting
The answer is 1,000 times too high or low: check whether you used mL instead of L, or converted a volume twice. The calculator accepts mL and performs the division by 1,000 for you.
The calculator rejects an input: enter positive values for mass, molar mass, and final volume. Check that the value is numeric and that decimal points are entered correctly.
Your calculated concentration differs from a reference: verify the compound’s exact formula and form, the molar-mass units, and whether the given volume is final solution volume. Also check whether the reference reports M, mM, or another concentration unit.
You have moles but no mass: use M = n / V directly, converting the final volume to liters. The mass-based calculator requires a mass and molar mass, so it is not the right input route for that data.
The computed value seems physically implausible: recheck all units and measurements. The formula is a bookkeeping relationship; it does not account for chemical reactions, incomplete dissolution, purity, or changes in volume.
Frequently Asked Questions
What is the molarity formula?
Molarity is moles of solute divided by liters of final solution: M = n / V.
How do I find molarity from grams?
Divide the mass in grams by molar mass in g/mol to get moles, convert final volume to liters, then divide moles by liters.
Can I use milliliters in the molarity formula?
Yes, after converting to liters. Divide milliliters by 1,000 before using M = n / V.
Is molarity the same as molar mass?
No. Molarity is a solution concentration in mol/L. Molar mass is the mass of one mole of a substance in g/mol.
What volume belongs in the formula?
Use the total final volume of the solution, not just the solvent volume added.
How do I convert molarity to mM?
Multiply molarity in mol/L by 1,000. For example, 0.2 mol/L is 200 mM.
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
- Liters to Cubic Meters: Conversion and Examples0.001000 m³
- Normal Cubic Meter to Liters Calculator1,000.00 L
- Qt to Liters Conversion: US and Imperial Quarts0.946353 L
- Meters to Liters Formula: Convert Length to Volume?1,000.000 L
- Meters to Litres: Why Length Alone Is Not Enough1,000.00 L
- Cubic Meters per Hour to Liters per Second0.2778 L/s