Calculate molarity by entering the solute’s mass, its molar mass, and the final solution volume. The calculator returns concentration in moles per liter (mol/L) and millimolar (mM), using the standard mass-to-moles formula.
Formula
Molarity is the amount of solute in moles divided by the final volume of the solution in liters:
M = n / V
When you know a solute’s mass instead of its amount in moles, first calculate n = m / MM. Substituting this into the molarity formula gives M = m / (MM × V). In the calculator, the entered volume is in milliliters, so it is converted to liters by dividing by 1,000: M = m / MM / (VmL / 1,000).
- M is molarity in mol/L.
- n is the amount of solute in moles (mol).
- m is the mass of solute in grams (g).
- MM is molar mass in grams per mole (g/mol).
- V is final solution volume in liters (L); VmL is that volume in milliliters (mL).
To express molarity in millimolar, multiply mol/L by 1,000: mM = M × 1,000. A solution of 1 mol/L is 1,000 mM.
Worked Example
Use the calculator’s default values: 2.922 g solute, molar mass 58.44 g/mol, and a final solution volume of 250 mL.
- Convert the volume to liters: 250 mL / 1,000 = 0.250 L.
- Calculate the amount of solute: 2.922 g / 58.44 g/mol = 0.050000 mol.
- Divide moles by liters: 0.050000 mol / 0.250 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 calculation assumes the stated volume is the final volume of the solution.
Assumptions
- The entered molar mass matches the solute’s chemical formula and any stated hydration state.
- The volume is the solution’s final volume, not the amount of solvent used.
- The calculation reports analytical concentration; it does not account for chemical reactions, ion pairing, or activity effects.
- The solute’s mass and final volume are measured accurately, and the solution is sufficiently uniform for the stated concentration to apply throughout.
What You’ll Need
- The mass of solute, in grams, or a reliable conversion to grams.
- The solute’s molar mass, in g/mol. Calculate it from the chemical formula and appropriate atomic weights, accounting for waters of crystallization or other formula components.
- The final solution volume, in mL or L. Use the volume after the solute has dissolved and the solution has been brought to its final volume.
- A calculator, or the fields above. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Step-by-Step
- Identify the solute. Write down its complete chemical formula and check whether the material is an anhydrous compound, a hydrate, or another specified form. These forms can have different molar masses.
- Find the molar mass. Add the atomic masses in the formula, including each atom’s subscript. For example, sodium chloride, NaCl, has a molar mass of about 22.990 + 35.45 = 58.44 g/mol. Use a value consistent with the actual chemical form.
- Record the solute mass. Use the mass of the solute alone, not the combined mass of solute and solvent. Convert to grams if necessary: 1 kg = 1,000 g; 1 mg = 0.001 g.
- Record the final solution volume. The volume belongs in the denominator and must be in liters in the basic formula. Convert milliliters to liters by dividing by 1,000. For example, 75 mL is 0.075 L.
- Calculate moles. Divide the solute mass in grams by its molar mass in g/mol. The units reduce to moles: g ÷ (g/mol) = mol.
- Divide by final volume. Divide moles by liters to get molarity in mol/L. Enter the mass, molar mass, and volume in the calculator, which performs both conversions automatically.
- Check the units and report the result. Include the concentration unit, such as 0.20 mol/L or 200 mM, and use sensible significant figures based on your measurements. Do not round intermediate results more than necessary.
Common Mistakes
- Using solvent volume instead of final volume. Adding solute to a measured volume of solvent generally changes the total volume. The formula requires the volume of the completed solution.
- Forgetting the mL-to-L conversion. A volume of 250 mL is 0.250 L, not 250 L. Using milliliters as though they were liters makes the result 1,000 times too small.
- Mixing up mass and molar mass. Mass is in g; molar mass is in g/mol. The calculator needs both as separate values.
- Choosing the wrong chemical form. A hydrate includes water in its formula and has a larger molar mass than the corresponding anhydrous compound. Using the wrong value gives the wrong mole amount.
- Reporting too many digits. A calculator can display many decimal places, but the result cannot be more precise than the measured mass, volume, and molar mass support.
Tips
- Keep units beside every value while calculating; they help reveal mistakes before you report an answer.
- Check the result’s scale. If a few grams of a typical small-molecule solute are dissolved in a few hundred milliliters, a result often falls around fractions of a mole per liter, though the actual value depends on the molar mass.
- Use mol/L for standard molarity and mM when a smaller numerical unit is convenient. Remember that 1 mM = 0.001 mol/L.
- When preparing a solution, calculate the target concentration first and use the final-volume convention in your lab method. Follow the relevant safety instructions for the specific material.
Troubleshooting
If the result is unexpectedly high or low, check that the volume was converted from mL to L and that you entered the final solution volume. Then verify that the mass is in grams and the molar mass is in g/mol. A mismatch such as entering milligrams as grams can change the answer by a factor of 1,000.
If the solute is a hydrate, salt with variable composition, or mixture, confirm that you have a defined formula and a suitable molar mass. If the material’s purity is below 100%, the mass of the desired compound may differ from the weighed mass; use a purity correction only when the purity is known and relevant to the calculation. If measurements are uncertain, report an appropriately rounded value rather than implying extra precision.
Frequently Asked Questions
What is the molarity formula?
Molarity is moles of solute divided by final solution volume in liters: M = n/V. If using mass, calculate moles as mass divided by molar mass first.
How do I calculate molarity from grams?
Divide grams by molar mass in g/mol to get moles, convert the final volume to liters, then divide moles by liters.
Can I use milliliters in the molarity formula?
Yes, but convert them to liters by dividing by 1,000 before dividing. The calculator does this conversion for you.
Is molarity the same as molar mass?
No. Molar mass describes grams per mole of a substance; molarity describes moles of solute per liter of solution.
What is the difference between M and mM?
M stands for mol/L, while mM stands for millimoles per liter. One mol/L equals 1,000 mM.
Does molarity change with temperature?
It can, because a solution’s volume can expand or contract with temperature. For precise work, record the temperature and follow the method’s specified conditions.
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
- Normality Calculation in Chemistry: Formula and Examples0.3997 eq/L
- Ng/µL to Molarity Calculator: Convert by Molecular Weight0.001000 mol/L
- Molarity Calculator From Moles: Formula and Example0.2000 mol/L
- Molarity Calculator for Titration Results0.1250 mol/L
- Anderson-Darling Normality Test Calculator
- HCl Normality Calculator and Equivalent Weight0.1000 eq/L