This calculator works out the molarity of a solution after you dilute a known mass of solute to a final volume, or the molarity of a stock solution after a specified dilution. You enter the mass of solute, its molar mass, and the final solution volume; you get back the molarity in mol/L (M) and in millimolar (mM). It is the standard concentration formula used in physiology labs to prepare buffers, saline, and culture media.
Formula
The core relationship is:
Molarity (M) = mass of solute (g) ÷ (molar mass (g/mol) × volume of solution (L))
In symbols: c = m / (Mr × V)
- c – molarity in mol/L (often written as M)
- m – mass of solute in grams (g)
- Mr – molar mass of the solute in g/mol (e.g., NaCl = 58.44 g/mol)
- V – final volume of solution in liters (L); if you measure in mL, divide by 1000 to get L
The calculator uses the same formula, converting mL to L by dividing by 1000. The first output is molarity; the second is the same value multiplied by 1000 to give millimolar (mM), a common unit in physiology (e.g., 150 mM NaCl).
Worked Example
Using the default values from the calculator:
- Mass of solute (NaCl) = 2.922 g
- Molar mass of NaCl = 58.44 g/mol
- Final volume = 250 mL = 250 ÷ 1000 = 0.250 L
- Moles of NaCl = 2.922 g ÷ 58.44 g/mol = 0.05000 mol
- Molarity = 0.05000 mol ÷ 0.250 L = 0.2000 mol/L
- In millimolar: 0.2000 mol/L × 1000 = 200.0 mM
The calculator returns 0.2000 mol/L (200.0 mM) for these inputs. This matches the classic preparation of 200 mL of 1 M NaCl (11.688 g in 200 mL) scaled down to 250 mL, or simply a 0.2 M NaCl solution.
Assumptions
- The solute is pure and fully dissolves; no volume change on mixing (ideal solution).
- The final volume is the total volume after adding solute and solvent, not the volume of solvent alone.
- Temperature is assumed to be near 25 °C; molarity changes slightly with temperature because volume changes, but the effect is small for most lab work.
- For ionic compounds like NaCl, molarity refers to the formula unit (NaCl), not individual ions. If you need ion concentrations, multiply by the number of ions per formula unit (e.g., 0.2 M NaCl gives 0.2 M Na⁺ and 0.2 M Cl⁻).
When to Use This in Physiology
Physiology labs routinely need exact ion concentrations because cells and tissues respond to osmotic and ionic changes. Common uses:
- Preparing physiological saline (0.9% w/v NaCl is about 154 mM, but many protocols call for 150 mM).
- Making buffer solutions like phosphate-buffered saline (PBS) or Ringer’s solution, where each component’s molarity matters.
- Diluting a concentrated stock solution (e.g., 1 M glucose) to a working concentration (e.g., 5 mM) for cell culture media.
- Calculating the amount of a salt to weigh for a given volume, as in the example above.
For dilution of a stock solution (C₁V₁ = C₂V₂), you need a different calculator, but this one is for preparing a solution from solid solute. If you already have a stock solution, use the dilution formula: C₁V₁ = C₂V₂, where C₁ and V₁ are the stock concentration and volume taken, and C₂ and V₂ are the final concentration and volume after adding solvent.
How to Read the Result
The molarity tells you the number of moles of solute per liter of solution. In physiology, concentrations are often expressed in millimolar (mM) or micromolar (µM) because physiological values are small. For example, blood glucose is about 5 mM (5 mmol/L), and calcium in plasma is about 2.5 mM. When you see a result like 0.2000 mol/L, you can convert:
- To mM: multiply by 1000 → 200 mM
- To µM: multiply by 1,000,000 → 200,000 µM
Always check the unit your protocol requires. A common mistake is to confuse molarity (mol/L) with molality (mol/kg solvent) or with percent concentration (g/100 mL).
Common Mistakes and How to Avoid Them
- Using mL without converting to L – The formula needs liters. Always divide mL by 1000. In the calculator, the conversion is done for you.
- Using the wrong molar mass – For hydrated salts (e.g., MgCl₂·6H₂O), include the water of crystallization in the molar mass. For NaCl, 58.44 g/mol is correct; for CaCl₂·2H₂O, it is 147.01 g/mol.
- Assuming volume is additive – When you dissolve a solid, the final volume may not be exactly the solvent volume plus the solute volume. Always make the solution up to the final volume in a volumetric flask.
- Rounding too early – Round only at the end. In the example, if you round 2.922/58.44 to 0.05 early, you still get 0.2 M, but for less round numbers, early rounding can shift the result by several percent.
- Confusing molarity with osmolality – For ionic compounds, osmolarity is higher than molarity because each formula unit dissociates into multiple particles. For NaCl, 150 mM is 300 mOsm/L (assuming full dissociation).
Limits of the Formula
The formula assumes ideal behavior: complete dissolution, no volume change, and no interactions between solute particles. In practice, concentrated solutions deviate from ideal behavior, but for most physiology buffers (concentrations below 1 M), the error is negligible. Also, molarity is temperature-dependent because the volume of the solution changes with temperature; a 1 M solution at 20 °C becomes slightly more concentrated at 10 °C. For precise work, prepare solutions at the temperature at which they will be used, or use molality if temperature independence is critical.
Another limit: the calculator gives the concentration of the solute as a whole. If you need the concentration of a specific ion (e.g., Na⁺ in NaCl), multiply by the number of ions per formula unit. For NaCl, that is 1; for CaCl₂, it is 1 for Ca²⁺ and 2 for Cl⁻.
Safety and Best Practices
When preparing solutions, always use clean glassware and analytical balances for accuracy. Wear appropriate personal protective equipment (gloves, goggles) when handling chemicals. Follow your lab method, the safety data sheet (SDS), and your supervisor. Never pipette by mouth. For pH-sensitive solutions, check the pH with a calibrated meter after preparation, because temperature and ionic strength can shift pH. This calculator is for study and lab-planning arithmetic only; it must not be used for clinical or medication dosing.
Frequently Asked Questions
What is the difference between molarity and osmolarity?
Molarity is the number of moles of solute per liter of solution. Osmolarity is the number of osmotically active particles per liter. For a non-dissociating solute like glucose, they are equal. For NaCl, which dissociates into two ions, a 0.15 M solution has an osmolarity of about 0.30 osmol/L (assuming full dissociation). In physiology, osmolarity matters for cell volume regulation.
How do I prepare 1 L of 150 mM NaCl?
First, calculate the mass needed: molar mass of NaCl is 58.44 g/mol. Moles = 0.150 mol/L × 1 L = 0.150 mol. Mass = 0.150 mol × 58.44 g/mol = 8.766 g. Weigh 8.766 g of NaCl, dissolve in about 800 mL of distilled water, then bring the total volume to 1 L in a volumetric flask. This gives a 150 mM solution.
Can I use this calculator for diluting a stock solution?
No, this calculator is for preparing a solution from solid solute. For diluting a stock solution, use the formula C₁V₁ = C₂V₂. For example, to make 100 mL of 1 mM from a 100 mM stock: V₁ = (1 mM × 100 mL) / 100 mM = 1 mL. Take 1 mL of stock and add 99 mL of diluent.
Why does the calculator use final volume, not solvent volume?
Molarity is defined as moles of solute per liter of solution, not per liter of solvent. When you dissolve a solid, the final volume includes the solute’s contribution. For example, adding 58.44 g of NaCl to 1 L of water gives a final volume slightly more than 1 L, so the molarity would be less than 1 M. To get exactly 1 M, you dissolve the solute in less water and then add water to reach the 1 L mark.
What if my solute is a liquid, like concentrated HCl?
For liquid solutes, you need to know the density and purity (assay) to convert volume to mass. The calculator requires mass input, so you would calculate the mass from the volume and density. For example, concentrated HCl is about 37% w/w with a density of 1.19 g/mL. To get 0.1 mol HCl (3.646 g), you need 3.646 g / 0.37 = 9.85 g of the solution, which is about 8.28 mL. Always handle concentrated acids in a fume hood.
How does temperature affect molarity?
Molarity depends on the volume of the solution, which expands with temperature. A solution that is 1 M at 20 °C becomes slightly more concentrated at 10 °C because the volume shrinks. The change is small (about 0.1% per degree for water), but for high-precision work, prepare and use solutions at a constant temperature. If temperature independence is required, use molality (moles per kg of solvent).
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
- QPP Calculator Canada: How It Works & How to Use It
- PPP Calculator World Bank: How It Works & How to Use It2,000.00
- PPP Calculator: India vs USA Cost Comparison1,000.00 USD
- PPP Calculator USD to INR: How It Works2,335 INR
- PPP Calculator India vs UK: Real Cost Comparison103.63 GBP
- PPP Calculator India vs Dubai: Real Cost Comparison8,954.58 AED