Calculate molarity from a solution’s density, the solute’s molar mass, and its mass fraction (or percent by mass). Enter density in g/mL, molar mass in g/mol, and solute mass percent; the calculator returns molarity in mol/L and millimolar concentration.
Formula
For a solution with density and solute mass fraction, the formula is M = ρ × w × 1000 / Mm. Here, M is molarity in mol/L; ρ is solution density in g/mL; w is the solute mass fraction, a unitless decimal; and Mm is the solute molar mass in g/mol. If the composition is given as mass percent p, use w = p/100, so M = ρ × (p/100) × 1000 / Mm.
The factor 1000 converts the mass of one millilitre of solution into the mass of one litre: ρ × 1000 gives g/L. Multiplying by the solute mass fraction gives grams of solute per litre; dividing by g/mol gives mol/L. If density is supplied in kg/L instead, it has the same numerical value as g/mL. For density in kg/m³, use the equivalent formula M = ρ × w / Mm when ρ is in kg/m³ and Mm is in g/mol only after converting one unit consistently; the straightforward conversion is to first convert kg/m³ to g/mL by dividing by 1000.
Worked Example
Using the calculator defaults: density = 1.10 g/mL, molar mass = 58.44 g/mol, and mass percent = 10%.
- Convert mass percent to fraction: w = 10/100 = 0.10.
- Find solute mass per litre: 1.10 g/mL × 1000 mL/L × 0.10 = 110 g/L.
- Convert grams per litre to moles per litre: M = 110 g/L ÷ 58.44 g/mol = 1.8823 mol/L, or 1.8823 mol/L to four decimal places.
- Convert to millimolar: 1.8823 mol/L × 1000 = 1882.3 mM, displayed as 1882 mM to two decimal places.
Assumptions
- The stated density applies to the solution at the same temperature and pressure as the composition data.
- The mass percent is the mass of the named solute divided by the total mass of solution, multiplied by 100.
- The solution is homogeneous, and the supplied molar mass represents the chemical form actually present in the composition data.
- The calculation uses the final solution volume implied by its density; it does not treat solvent volume as final solution volume.
- No ideal-solution assumption is needed for this conversion, but temperature-dependent density and composition values must be appropriate to the sample.
When This Formula Is Useful
This relationship is useful when a solution is described by density and mass composition rather than by a measured volume and weighed amount. It can convert a label or reference-table composition such as “10% by mass” into molarity, provided the density is known at the relevant temperature. It is also useful for comparing concentration units: mass percent describes the proportion by mass, while molarity describes moles of solute per litre of solution.
The calculator requires mass percent, not volume percent. Mass percent is often written % w/w and means grams of solute per 100 g of solution. If a source gives a mass fraction such as 0.10, enter 10, not 0.10, because this calculator’s input is a percentage. For a concentration given in g/L, density and mass percent are unnecessary: divide g/L directly by molar mass in g/mol to obtain mol/L.
How Density and Composition Work Together
Density alone cannot determine molarity. It tells you the mass of a given volume of the entire solution, not how much of that mass is solute. The mass fraction supplies that missing composition information. For example, two solutions can have identical density but different solute identities or concentrations; they can therefore have different molarities.
Likewise, mass percent alone does not determine molarity. A litre of a dense solution has more total mass than a litre of a less dense solution, so the same mass percentage can correspond to different grams of solute per litre. The formula combines both pieces of information and then uses molar mass to convert solute mass into amount of substance.
Common Errors and Limits
- Using solvent volume: Molarity is moles per litre of final solution, not per litre of solvent. The density-based formula accounts for the solution’s total volume through its density.
- Confusing percent and fraction: Convert 10% to 0.10 in the equation. The calculator performs this conversion by dividing the entered percentage by 100.
- Mixing units: Do not enter density in kg/m³ as though it were g/mL. Convert it first; 1 g/mL = 1000 kg/m³.
- Using an unsuitable density: Density changes with temperature, and sometimes pressure. A density measured at a different temperature can shift the calculated molarity.
- Choosing the wrong molar mass: Check whether the concentration refers to an anhydrous compound, hydrate, salt, or another specified chemical form. Their molar masses differ.
The result reflects the precision and reliability of the inputs; displaying four decimal places does not make the underlying data that precise. For mixtures with multiple solutes, calculate each solute separately using its own mass fraction and molar mass. If a substance reacts, dissociates, or changes form, this arithmetic gives the analytical amount based on the stated composition, not necessarily the concentration of a particular dissolved molecular species.
For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor. This calculator is for study and lab-planning arithmetic, not for clinical or medication use.
Frequently Asked Questions
What is the formula for molarity using density?
M = ρ × w × 1000 / Mm when density is in g/mL, mass fraction is unitless, and molar mass is in g/mol. If using mass percent p, substitute w = p/100.
Can I calculate molarity from density alone?
No. Density gives the mass of solution per volume, but you also need the solute’s mass fraction or another measure of its amount in the solution.
Does mass percent mean grams per 100 mL?
No. Mass percent means grams of solute per 100 g of total solution. Grams per 100 mL is a mass-per-volume concentration and is a different quantity.
Do I use the density of the solvent or the solution?
Use the density of the complete solution at the relevant temperature. Solvent density does not provide the total solution mass per volume needed by the formula.
How do I convert molarity to millimolar?
Multiply mol/L by 1000. For example, 0.25 mol/L equals 250 mM.
Related
Formula used
in d | Solution density | g/mL | 1.10 | 0 in mm | Solute molar mass | g/mol | 58.44 | 0 in w | Solute mass percent | % | 10 | 0 out c | Molarity | mol/L | (d * (w / 100) * 1000) / 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