This calculator works out the molarity of a solution when you enter the mass of solute, its molar mass, and the final solution volume. It returns the concentration in mol/L (molarity) and in millimolar (mM). Use it for lab prep, homework, or any solution you need to make accurately.
Formula
The calculator uses the standard molarity equation:
Molarity (mol/L) = mass of solute (g) ÷ (molar mass (g/mol) × volume of solution (L))
In symbols: c = m / (M × V), where:
- c = molarity in mol/L (often written as M)
- m = mass of solute in grams (g)
- M = molar mass of the solute in grams per mole (g/mol)
- V = final volume of the solution in liters (L). Note that the calculator takes volume in mL and converts it to L by dividing by 1000.
The first output is the molarity, which is the number of moles of solute per liter of solution. The second output simply multiplies the molarity by 1000 to give the concentration in millimolar (mM), a common unit in biochemistry and molecular biology.
Worked Example
Let’s use the default values from the calculator: you have 2.922 g of sodium chloride (NaCl), whose molar mass is 58.44 g/mol, and you want to make 250 mL of solution.
- Convert volume to liters: 250 mL ÷ 1000 = 0.250 L
- Calculate moles of NaCl: 2.922 g ÷ 58.44 g/mol = 0.05000 mol (keeping 5 significant figures)
- Calculate molarity: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L
The calculator gives 0.2000 mol/L (or 200.0 mM). This is exactly what you’d expect: 2.922 g of NaCl in 250 mL makes a 0.2 M solution.
Assumptions
- The solute is pure and fully dissolves.
- The volume used is the final solution volume, not the volume of solvent added. (This is a common point of confusion – see below.)
- The solution is at a temperature where the density is close to that of water, so volume changes due to temperature are ignored.
- For electrolytes like NaCl, this calculation gives the formal concentration (the amount you weighed out), not the effective concentration of ions in solution.
When to Use This Calculator
You would use this calculator whenever you need to prepare a solution of known molarity from a solid solute. Common situations include:
- Making a buffer for a biological experiment (e.g., 1 M Tris, 5 M NaCl).
- Preparing a standard solution for titration or spectrophotometry.
- Diluting a stock solution to a working concentration – though that usually uses the dilution formula C1V1 = C2V2, this calculator helps if you’re starting from a solid.
- Checking whether a given mass of a compound will give the desired concentration in a given volume.
The result tells you the molarity, which is the most common way to express concentration in chemistry. If you need the concentration in mg/mL or percent, you’d need additional conversions.
Common Mistakes and How to Avoid Them
One frequent error is mixing up the final volume with the volume of solvent added. The definition of molarity uses the final volume of the solution after the solute is dissolved and the volume is adjusted. For example, if you add 250 mL of water to 2.922 g of NaCl, the final volume might be slightly more than 250 mL, and the molarity would be slightly less than 0.2 M. The correct procedure is to dissolve the solute in a small amount of solvent, then add solvent until the total volume reaches 250 mL.
Another common mistake is forgetting to convert mL to L. The formula requires volume in liters; if you plug in mL directly, you’ll get a molarity that is 1000 times too large. The calculator does the conversion for you, but when you do it by hand, always divide by 1000.
Rounding too early is also a problem. For example, if you round the molar mass of NaCl to 58.4 instead of 58.44, you’ll get a slightly different result. Keep at least three or four significant figures in intermediate steps.
How to Choose the Right Molar Mass
The molar mass you enter must match the chemical formula of the solute you’re using. For hydrated salts, the molar mass includes the water of crystallization. For example, copper(II) sulfate pentahydrate (CuSO4·5H2O) has a molar mass of about 249.69 g/mol, not 159.61 g/mol (the anhydrous form). If you use the wrong molar mass, your concentration will be off.
For DNA or RNA, the molar mass depends on the length and whether it’s single-stranded or double-stranded. For double-stranded DNA, a common average is 617.96 g/mol per base pair plus 36.04 g/mol (the free-acid form); the often-quoted 650 g/mol per base pair is for the sodium salt. Always check which convention your protocol uses.
For proteins, the molar mass is usually estimated from the amino acid sequence or obtained from a database.
Limitations of the Formula
The molarity formula assumes ideal behavior: the solute dissolves completely and does not react with the solvent. In reality, some solutes dissociate into ions (like NaCl), which changes the osmotic pressure and conductivity but not the formal molarity. The formula also assumes the solution is dilute enough that volume changes upon mixing are negligible. For concentrated solutions, the final volume may differ from the sum of the volumes of solute and solvent, so you should always use a volumetric flask to adjust to the final volume.
Temperature affects the volume of the solution, so molarity is temperature-dependent. If you need high precision, you should prepare the solution at the temperature at which you’ll use it. For most lab work, room temperature is fine.
Frequently Asked Questions
What if I only know the volume of water I added, not the final volume? If you add a solid to water, the final volume is usually slightly larger than the water volume. To be accurate, you should use a volumetric flask and add water until the bottom of the meniscus reaches the mark. If you can’t do that, you can approximate by assuming the final volume equals the water volume, but note that your molarity will be slightly off.
How do I make a 1 M solution from this calculator? Enter the molar mass of your solute, set the desired volume (e.g., 1000 mL), and then adjust the mass until the molarity reads 1.0000. For NaCl, that would be 58.44 g in 1 L.
What’s the difference between molarity and molality? Molarity is moles of solute per liter of solution; molality is moles of solute per kilogram of solvent. Molality is temperature-independent because it uses mass, not volume. This calculator gives molarity.
Can I use this for making a solution from a liquid solute? No, this calculator is for solid solutes. For liquids, you’d need to know the density and purity to convert volume to mass.
Why is the molar mass of NaCl 58.44? It’s the sum of the atomic weights: sodium (22.99) plus chlorine (35.45). Always use the most accurate atomic weights you can find, especially for precise work.
What if my solute is not pure? If the purity is less than 100%, you need to weigh out more. For example, if the purity is 95%, divide the required mass by 0.95. This calculator assumes pure solute.
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
- Mole Fraction: Formula and Calculation Steps0.2000 mol/L
- Tidal Volume Percent: Normal Range & How to Calculate87.0 %
- PPM to Volume Percentage: How to Convert0.0500 %
- PowerShell Set Volume to 80%: Script & Guide
- Percentage to Volume? Convert % to mL12.50 mL
- Percent Volume Equation: Formula, Uses & Examples10.00 %