The molarity formula with density converts a solution’s density and mass percent into molarity, provided you also know the solute’s molar mass. Enter those three values below to calculate concentration in mol/L and mM; the result assumes the stated density and mass percentage describe the same solution.
Formula
When density is in g/mL and the solute concentration is given as mass percent, use:
M = (d × 1000 × w/100) / MM
- M is molarity, in mol/L.
- d is solution density, in g/mL.
- w is the solute mass percentage, written as a number such as 10 for 10% by mass.
- MM is the solute molar mass, in g/mol.
- 1000 converts the mass of one milliliter of solution into the mass of one liter, because 1 L = 1000 mL.
- w/100 converts the percentage into a mass fraction.
The logic is to imagine 1 L of solution. Its mass is d × 1000 grams. The solute is the stated fraction of that mass, so its mass is d × 1000 × w/100 grams. Divide by MM to convert grams of solute to moles. Since that imagined amount is in 1 L, the result is mol/L.
For density expressed in g/L instead, the formula is M = d × w/100 ÷ MM; do not multiply by 1000 again. If concentration is supplied as a mass fraction rather than a percentage, use that fraction directly and omit division by 100.
Worked Example
Use the calculator’s defaults: density 1.05 g/mL, mass percentage 10%, and molar mass 58.44 g/mol.
- Mass of 1 L of solution: 1.05 g/mL × 1000 mL/L = 1050 g/L.
- Mass fraction of solute: 10/100 = 0.10.
- Mass of solute in 1 L: 1050 g/L × 0.10 = 105 g/L.
- Moles of solute in 1 L: 105 g/L ÷ 58.44 g/mol = 1.7974 mol/L.
Rounded to the calculator’s three decimal places, the molarity is 1.797 mol/L. The millimolar result is 1.7974 mol/L × 1000 = 1797.4 mM, or 1797.4 mM to one decimal place.
Assumptions
- The density applies to the solution at the same temperature and pressure as the concentration data.
- The mass percentage means grams of solute per 100 grams of total solution, not per 100 mL.
- The reported volume is the final solution volume; the calculation does not treat solvent volume as solution volume.
- The solute’s molar mass is known and appropriate for its chemical form, including any hydrate or specified salt form.
When Density Is Useful
Molarity is the amount of solute, in moles, divided by the final volume of solution in liters. If you already know moles and solution volume, use M = n/V directly; density is unnecessary. Density becomes useful when a composition is reported by mass, such as a mass percentage, because it connects a measured volume of solution to its mass.
This calculation is common when comparing concentration units or interpreting a solution label that gives a mass fraction. It can also convert a mass-based concentration into a volume-based one when solution density is available. The density alone is not enough: it describes the mass of the entire solution per volume, not the amount of a particular solute.
For a different mass-based input, such as solute concentration in g/L, use M = (g/L) ÷ (g/mol). For a known solute mass m in a known final volume V, use M = (m/MM)/V, with V in liters. These direct forms avoid introducing density when it is not needed.
Units, Percentages, and Density Checks
Before using the formula, confirm what each number means. A 10% mass concentration means 10 g solute per 100 g solution. It is not automatically 10 g per 100 mL. Mass/volume percentage and volume percentage are different conventions and require different calculations.
- Convert density consistently. For example, 1.05 g/mL is 1050 g/L. The calculator’s formula performs this conversion by multiplying by 1000.
- Enter percentage as a percentage number: enter 10 for 10%, not 0.10. The expression divides the entered number by 100.
- Use the molar mass in g/mol. A value in kg/mol must be converted before entry.
- Use the density of the solution, not the density of the pure solute or solvent.
Density may change with temperature, especially for liquids. If a label or reference table reports density at a particular temperature, use that value and remember that the calculated molarity corresponds to the solution volume at that condition. A small density mismatch can matter when a precise concentration is required.
Common Mistakes and Limits
A frequent error is multiplying by density while treating the mass percentage as though it were already grams per liter. The formula must convert the solution’s mass to solute mass first, then convert that mass to moles. Another common error is using the volume of solvent instead of the final volume of solution; adding solute can change the total volume.
The formula assumes the inputs describe a uniform solution and that the concentration is a mass percentage. It does not determine density, identify the solute, account for chemical reactions, or correct inaccurate source measurements. For mixtures with multiple solutes, a separate calculation is needed for each solute, using its own mass fraction and molar mass.
Calculated precision is not the same as measurement accuracy. If density, mass percentage, or molar mass is only known approximately, showing extra decimal places does not make the answer more certain. Round the reported result according to the precision of the input data and the needs of the calculation.
For any bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Frequently Asked Questions
What is the molarity formula using density and mass percent?
M = d × 1000 × (w/100) ÷ MM when d is in g/mL, w is the numerical mass percentage, and MM is in g/mol.
Can I calculate molarity from density alone?
No. Density gives the mass of the whole solution per volume. You also need the solute’s mass fraction or another measure of its concentration, plus its molar mass.
Does 10% mean 10 g per 100 mL?
Not unless the concentration is specifically labeled mass/volume percent. A 10% mass percentage means 10 g solute per 100 g total solution.
Why multiply density by 1000?
Density in g/mL multiplied by 1000 mL/L gives grams of solution per liter. That lets the calculation find the solute mass contained in one liter.
Can I use this formula with density in g/L?
Yes. Use M = d × (w/100) ÷ MM with d in g/L. Do not multiply by 1000, because the density is already per liter.
Related
Formula used
in d | Solution density | g/mL | 1.05 | 0 in w | Solute mass percentage | % | 10 | 0 in mm | Solute molar mass | g/mol | 58.44 | 0.001 out c | Molarity | mol/L | d * 1000 * (w / 100) / mm | 3 out cmm | Concentration in millimolar | mM | c * 1000 | 1
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