Solution Concentration Calculator: Molarity & More
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the concentration of a solution from the amount of solute and the volume of solvent, giving you the result in molarity (mol/L), as well as mass concentration (g/L) and percentage concentration (%). You enter the solute mass, its molar mass, and the solution volume, and you get the concentration values instantly.
Formula
The core formula for molarity is:
Molarity (M) = (mass of solute / molar mass of solute) / volume of solution
In symbols: C = (m / Mr) / V
- C = molarity in moles per liter (mol/L, often written as M)
- m = mass of solute in grams (g)
- Mr = molar mass of solute in grams per mole (g/mol)
- V = final volume of solution in liters (L)
Mass concentration is simply mass divided by volume: g/L = m / V. Mass percent is the solute mass divided by the total solution mass (solute + solvent), multiplied by 100. For dilute aqueous solutions, 1 L of water is approximately 1000 g, so the total mass is roughly m + 1000 g.
Worked Example
Let’s use the default values: 58.44 g of sodium chloride (NaCl), molar mass 58.44 g/mol, dissolved in 1 L of solution.
- First, find moles of solute: 58.44 g ÷ 58.44 g/mol = 1.00 mol
- Then divide by volume: 1.00 mol ÷ 1 L = 1.0000 M
- Mass concentration: 58.44 g ÷ 1 L = 58.44 g/L
- Mass percent: 58.44 / (58.44 + 1000) × 100 = 5.52%
The calculator shows exactly these values. Notice that molarity and mass concentration are different numbers because they measure different things: moles vs. grams per liter.
When to Use Each Concentration Unit
Different lab and industrial situations call for different units.
- Molarity (mol/L) is standard in chemistry for reactions, titrations, and stoichiometry because it directly relates to the number of particles.
- Mass concentration (g/L) is common in biology, medicine, and environmental testing where you need to know how much substance is in a given volume, regardless of its molar mass.
- Mass percent (%) is used for commercial products like acids, hydrogen peroxide, or saltwater, where the label states the percentage by weight.
For example, a 0.9% saline solution (mass percent) is used in IV drips. To make it, you dissolve 9 g of NaCl in enough water to make 1 L of solution—the mass percent is 9/(9+1000) ≈ 0.9%.
Common Mistakes and How to Avoid Them
The most frequent errors come from unit mismatches and volume confusion.
- Using mL instead of L: Always convert volume to liters before calculating molarity. 500 mL = 0.5 L.
- Confusing solute mass with solution mass: For mass percent, the denominator is the total mass (solute + solvent), not just the solvent.
- Forgetting molar mass units: Molar mass must be in g/mol. If you have a hydrated salt like CuSO₄·5H₂O, include the water mass in the molar mass.
- Volume after mixing vs. solvent volume: The volume in molarity is the final volume after dissolving, not the volume of solvent you started with. When you dissolve a solid, the final volume can be slightly different.
For example, if you add 58.44 g of NaCl to 1 L of water, the final volume is about 1.02 L, so the molarity is slightly less than 1 M. Always dissolve in a volumetric flask and then add water to the mark.
How to Prepare a Solution of Known Molarity
To make a specific molarity, you work backwards:
- Decide the desired molarity (C) and final volume (V) in liters.
- Calculate moles needed: moles = C × V.
- Convert moles to grams: mass = moles × molar mass.
- Weigh that mass, dissolve in a beaker with some solvent, transfer to a volumetric flask, and add solvent to the mark.
Example: Prepare 250 mL of 0.5 M NaCl. Moles = 0.5 × 0.25 = 0.125 mol. Mass = 0.125 × 58.44 = 7.305 g. Weigh 7.31 g, dissolve, and make up to 250 mL.
Limits of the Formula
The simple molarity formula assumes ideal behavior: that the solute dissolves completely and that the volume of the final solution equals the sum of solute and solvent volumes. This is a good approximation for dilute solutions but fails for concentrated ones.
For very concentrated solutions, the volume change on mixing can be significant. Also, some solutes dissociate (like NaCl into Na⁺ and Cl⁻), which affects colligative properties but not the molarity itself—molarity counts the formula units you put in, not the particles after dissociation.
For acids and bases, you might need normality (equivalents per liter) instead of molarity, which depends on the number of H⁺ or OH⁻ ions per molecule. For example, 1 M H₂SO₄ is 2 N for acid-base reactions.
Frequently Asked Questions
What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution. Molality (m) is moles of solute per kilogram of solvent. Molality is temperature-independent because it uses mass, not volume. Use molality for experiments that involve temperature changes, like boiling point elevation.
How do I convert from molarity to mass percent?
You need the solution density. Mass percent = (molarity × molar mass) / (density × 1000) × 100. For example, a 1 M NaCl solution has a density of about 1.04 g/mL, so mass percent = (1 × 58.44) / (1.04 × 1000) × 100 ≈ 5.6%.
Why do I get a different answer if I use mL instead of L?
Because molarity is defined per liter. If you use mL in the formula without converting, you get a number that is 1000 times too large. Always divide mL by 1000 to get liters first.
Can I use this calculator for any solute?
Yes, as long as you know the molar mass. For ionic compounds, use the formula mass (sum of atomic masses). For acids like HCl, use the molecular mass. The calculator just does the arithmetic; the chemistry is up to you.
What if my solute is a liquid, like concentrated sulfuric acid?
You need to know its density and mass percent. First calculate the mass of pure acid needed, then find the volume of the concentrated solution that contains that mass. For example, to get 1 mol H₂SO₄ (98.08 g), you need about 53.3 mL of 98% sulfuric acid (density 1.84 g/mL).
Does temperature affect molarity?
Yes, because volume changes with temperature. A solution that is 1 M at 20°C might be 0.99 M at 30°C. If you need high precision, control the temperature or use molality instead.
Related
Formula used
in m | Solute mass | g | 58.44 | 0 in M | Molar mass | g/mol | 58.44 | 0 in V | Solution volume | L | 1 | 0 out molarity | Molarity | mol/L | (m / M) / V | 4 out mass_conc | Mass concentration | g/L | m / V | 2 out percent | Mass percent | % | (m / (m + V * 1000)) * 100 | 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, rounded as each result states. See how the calculators work or report an error.