The molarity conversion formula is M = n / V: divide the amount of solute in moles by the final solution volume in liters. This calculator instead accepts solute mass in grams, molar mass in grams per mole, and final volume in milliliters, then returns molarity in mol/L and millimolar concentration in mM.
Formula
The basic molarity formula is M = n / V, where M is molarity in mol/L, n is the amount of dissolved solute in moles, and V is the final volume of the solution in liters. When the amount is given as a mass, calculate moles as n = m / MM. Combining the equations gives:
M = m / [MM × (VmL / 1000)]
- m = solute mass in grams (g).
- MM = solute molar mass in grams per mole (g/mol).
- VmL = final solution volume in milliliters (mL).
- Divide volume in mL by 1000 to convert it to liters, because 1000 mL = 1 L.
The equivalent shortcut when you already know moles is M = n / (VmL / 1000). Molarity is also written as M, meaning moles per liter; for clarity, this article uses “mol/L” for the unit and italic M for the quantity.
Worked Example
Using the calculator’s default values—2.922 g of solute, molar mass 58.44 g/mol, and final solution volume 250 mL—first find the amount in moles:
n = m / MM = 2.922 g / 58.44 g/mol = 0.050000 mol
Convert the final volume to liters:
V = 250 mL / 1000 = 0.250 L
Then calculate molarity:
M = 0.050000 mol / 0.250 L = 0.2000 mol/L
To convert mol/L to millimolar, multiply by 1000:
0.2000 mol/L × 1000 = 200.00 mM
The calculator displays the main result to four decimal places and the millimolar result to two decimal places.
Assumptions
- The entered mass is the mass of the solute, and its molar mass matches the substance and chemical form being used.
- The volume is the final solution volume, not the volume of solvent added.
- The calculation reports analytical concentration from the stated amount and volume; it does not assume complete dissociation or calculate the concentration of individual ions.
- The arithmetic treats the supplied values as exact inputs. Real measurement uncertainty and reagent purity can affect the practical concentration.
When to Use Molarity Conversion
Molarity is useful when comparing solution concentrations, working with reaction equations, or planning general laboratory calculations that require moles per unit volume. The mass-based version is handy when a known amount of a solid is specified by mass. If you already have moles—for example, from a reaction calculation—use M = n/V directly and skip the molar-mass step.
For a liquid reagent supplied as a stock solution, its stated concentration and the dilution relationship may be more useful than converting a weighed mass. A common dilution equation is C1V1 = C2V2, which relates starting and target concentrations to the corresponding volumes when the same dissolved species is being diluted. It does not replace the mass-to-molarity formula when you are calculating concentration from mass and final volume.
Molarity depends on solution volume, which can change with temperature. For ordinary solution calculations, use the volume and conditions relevant to the stated task; do not treat a value measured under one condition as automatically exact under another.
How to Convert Other Concentration Units
Some useful conversions follow directly from unit definitions:
- mol/L to mM: multiply by 1000. For example, 0.2000 mol/L is 200.0 mM.
- mM to mol/L: divide by 1000. For example, 75 mM is 0.075 mol/L.
- mol/L to mol/mL: divide by 1000, since one liter contains 1000 milliliters.
Mass concentration, such as g/L, is not the same unit as molarity. To move between them, you need the substance’s molar mass: mol/L equals g/L divided by g/mol. Likewise, a percentage concentration cannot be converted to molarity from the percentage alone unless the percentage convention and, where necessary, solution density are known. Check exactly what the stated percentage means before calculating.
Common Errors and Limits
- Forgetting to convert mL to L: using 250 as though it were liters makes the result 1000 times too small. Divide milliliters by 1000 first.
- Using solvent volume instead of final volume: dissolving a solute can change volume. Molarity uses the volume of the finished solution.
- Entering the wrong molar mass: verify the chemical formula and form, including whether the material is hydrated. A different form can have a different molar mass.
- Confusing molarity with mass concentration: 1 g/L is not 1 mol/L; the conversion depends on molar mass.
- Rounding too early: keep extra digits through intermediate steps, then round the final answer to a precision justified by the measurements.
The formula is a bookkeeping relationship, not a measurement of purity, reaction yield, ion activity, or pH. It also cannot correct for an inaccurate balance reading, an incorrect volume, or an impure reagent. For lab work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Frequently Asked Questions
How do you convert grams to molarity?
Divide the mass in grams by the molar mass in g/mol to get moles. Divide those moles by the final solution volume in liters. If volume is in milliliters, divide it by 1000 first.
What is the formula for molarity from moles and volume?
Use M = n/V, with the amount in moles and volume in liters. The result is mol/L.
Is molarity the same as mol/L?
Yes. Molarity is concentration expressed as moles of solute per liter of solution; its unit is mol/L, commonly abbreviated M.
How do I convert molarity to millimolar?
Multiply the molarity in mol/L by 1000. For instance, 0.035 mol/L equals 35 mM.
Can I use the volume of solvent in the formula?
No. Use the final volume after the solute has been incorporated into the solution. Solvent volume alone may differ from final solution 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
- MD Calc I:T Ratio Calculator and Explanation0.0500 ratio
- Oxygen Mass Number: Isotope Values Explained16 nucleons
- Mass-to-Light Ratio: Meaning and Calculation1.000 M☉/L☉
- M/z Ratio in Mass Spectrometry: Meaning and Calculation1,000.00 Th
- Mass Fraction to Molar Fraction Calculator
- K2 Molar Mass Calculator and Calculation78.1966 g/mol