This calculator estimates molarity from a solution’s density, solute mass fraction, and solute molar mass. Enter density in g/mL, mass percent as a number from 0 to 100, and molar mass in g/mol to get mol/L and mM. It assumes a uniform solution and that the stated mass percentage applies to the whole solution.
Formula
Molarity is the number of moles of solute divided by the final volume of solution in liters:
M = (ρ × 1000 × w/100) / MM
- M is molarity, in mol/L.
- ρ is solution density, in g/mL.
- w is solute mass percentage, expressed as a number from 0 to 100. The fraction of the solution’s mass that is solute is w/100.
- MM is the solute’s molar mass, in g/mol.
- 1000 mL/L converts the solution’s density-based mass per milliliter to mass per liter.
The derivation is: one liter of solution has a mass of ρ × 1000 grams. The solute makes up w/100 of that mass, so the solute mass per liter is ρ × 1000 × w/100 grams. Dividing by MM in g/mol gives moles per liter. To convert mol/L to millimolar, multiply by 1000.
Worked Example
Use the calculator’s default values: density 1.10 g/mL, solute mass percentage 20%, and molar mass 58.44 g/mol.
- Find the mass of one liter of solution: 1.10 g/mL × 1000 mL/L = 1100 g/L.
- Find the solute mass in that liter: 1100 g/L × 20/100 = 220 g/L.
- Convert solute mass to moles: 220 g/L ÷ 58.44 g/mol = 3.7645 mol/L (approximately).
- Convert to millimolar: 3.7645 mol/L × 1000 = 3764.5 mM, or 3764.50 mM to the calculator’s displayed precision.
The headline result is 3.7645 mol/L (4 significant decimal places). The second result is 3764.50 mM.
Assumptions
- Density and mass percentage refer to the same solution composition and temperature.
- The solution is uniform, and its stated density applies to the sample being considered.
- “Mass percent” means grams of solute per 100 grams of total solution, not per 100 grams of solvent.
- The volume used is the final solution volume. The calculation does not treat solvent volume as solution volume.
- This is concentration arithmetic; it does not account for chemical reactions, dissociation, or changes in composition.
Step-by-Step
- Identify the concentration basis. Check whether the supplied percentage is mass percent (w/w), volume percent (v/v), or another measure. This formula requires mass percent: solute mass divided by total solution mass, multiplied by 100. Do not enter a volume percentage as though it were mass percent.
- Get the solution density. Use a reliable value for the exact solution composition and temperature. Density belongs to the complete solution, not just the pure solvent or solute. Record the unit; this calculator expects g/mL. If a source gives kg/L, the numerical value is the same, because 1 kg/L equals 1 g/mL.
- Enter the solute mass percentage. Enter the number as a percentage, such as 20 for 20%, not 0.20. Use the mass fraction of the whole solution. For example, 20% w/w means 20 g solute in 100 g solution.
- Find the solute’s molar mass. Use the correct chemical formula and the molar mass in g/mol. For a substance with a specified hydration state, include the water of crystallization in its formula and molar mass. Do not use a solvent’s molar mass unless it is the solute you are calculating.
- Calculate the solute mass per liter. Multiply density by 1000 to find grams of solution in one liter, then multiply by the mass fraction w/100. The result is grams of solute per liter of solution.
- Divide by molar mass. Divide grams of solute per liter by grams per mole. Grams cancel, leaving mol/L. Keep extra digits while calculating, then round the final result to a precision justified by the input data.
- Check the scale and units. A molarity of 1 mol/L is 1000 mM. The calculator reports both, so confirm that the values differ by a factor of 1000. A result that seems implausibly high or low often points to a percent-versus-fraction or unit error.
If you are using this arithmetic to plan bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Common Mistakes
- Entering 20% as 0.20. The calculator expects 20 for 20%; it divides the entered value by 100. Entering 0.20 would be interpreted as 0.20%.
- Using solvent mass instead of solution mass. Mass percent is based on total solution mass. Twenty grams of solute mixed with 100 grams of solvent is not 20% w/w; the total is 120 g.
- Using the wrong density. Pure water density is not a substitute for the density of a concentrated solution. Density can vary with composition and temperature.
- Mixing units. Do not enter density in g/L or molar mass in kg/mol without converting. Use g/mL and g/mol as labeled.
- Confusing molarity with molality. Molarity uses liters of solution. Molality uses kilograms of solvent, so it cannot be obtained from this formula alone.
- Rounding too early. Keep the unrounded intermediate values through the calculation. Final precision cannot be more meaningful than the least precise input.
Tips
- Write down the source, temperature, and units for the density and percentage. This makes a later check much easier.
- For a percentage stated as a fraction, convert it first: multiply the fraction by 100 before entering it. For instance, 0.20 becomes 20%.
- Check the molar mass against the exact chemical form. An anhydrous salt and a hydrated salt have different molar masses and therefore give different molarities for the same mass concentration.
- Use the unrounded calculator result for downstream arithmetic, if available, and round only when reporting the final value.
Troubleshooting
- The answer is 100 times too small or too large: check whether you entered a fraction such as 0.20 instead of a percentage such as 20, or vice versa.
- The answer is off by a factor of 1000: verify the density unit and the molar-versus-millimolar conversion. Density in kg/L has the same numerical value as g/mL, but density in g/L does not.
- The result seems physically unreasonable: confirm that the density, composition, and molar mass refer to the same substance and chemical form. Check that the percentage is mass percent and lies between 0 and 100.
- You only know grams of solute and a volume: if you know the actual solute mass and final solution volume, calculate moles from mass divided by molar mass, then divide by final volume in liters. Density and mass percent are not needed for that route.
- You cannot find a matching density: do not substitute a value for pure solvent or a different concentration. Look for a reliable value at the relevant composition and temperature; otherwise report the estimate and its limitation.
Frequently Asked Questions
Can I find molarity from density alone?
No. Density gives total solution mass per volume, but you also need the solute’s mass fraction and molar mass to determine moles of solute per liter.
Does this work with mass percent?
Yes. It is specifically for mass percent (w/w), where the percentage is solute mass divided by total solution mass, multiplied by 100.
Can I use volume percent instead?
Not directly. Volume percent is a different concentration basis. Converting it requires additional information, such as relevant component densities and the exact definition of the reported percentage.
Does temperature matter?
Yes. A solution’s density changes with temperature, and molarity is based on volume. Use density measured or reported at a temperature appropriate to the solution volume you are describing.
Is molarity the same as molality?
No. Molarity is moles of solute per liter of solution; molality is moles per kilogram of solvent. The formula here calculates molarity only.
What if the solute reacts or dissociates in solution?
The formula calculates the analytical molarity based on the amount of the named solute. It does not calculate the concentrations of reaction products or individual ions after reaction or dissociation.
Related
Formula used
in d | Solution density | g/mL | 1.10 | 0 in w | Solute mass percent | % | 20 | 0 | 100 in mm | Solute molar mass | g/mol | 58.44 | 0 out c | Molarity | mol/L | d * 1000 * (w / 100) / mm | 4 out cm | 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
- Calculator in Hindi: Meaning, Usage and Examples0.2000 mol/L
- Volume Strength Formula in Terms of Molarity11.20 volumes
- H2O2 Volume Strength to Molarity Calculator0.893 mol/L
- Volume Strength to Molarity: Formula and Calculator0.0409 mol/L
- Molar Volume: Definition, Formula, and Calculator22.414 L/mol
- Molar Volume of a Gas Calculator and Formula22.4140 L/mol