A molarity calculator works out the concentration of a solution, or tells you how much material you need to prepare one. Enter a chemical formula or a molar mass, along with your mass and volume, and this molarity calculator gives the answer in moles per liter. It can also work backwards to tell you the mass of solute to weigh out for a target concentration, or the volume of solution you can make from a given amount. It reads chemical formulas directly, so you don't have to work out the molar mass by hand.
What is molarity?
Molarity, also called molar concentration, is the number of moles of solute per liter of solution. Its usual unit is moles per liter, written as mol/L or simply M. Note that the volume is that of the finished solution, and not the volume of the water added. Molarity is often confused with molality, which uses the mass of solvent instead of the volume of solution.
Molarity formula
- Moles = mass of solute (g) ÷ molar mass (g/mol)
- Molarity = moles ÷ volume of solution (L)
- Mass needed = molarity × molar mass × volume
- Volume = moles ÷ molarity
How to use the molarity calculator
- Choose what to work out: molarity, mass or volume.
- Enter the chemical formula, such as NaCl or C6H12O6, or type a molar mass.
- Enter the values you know, and pick the units.
- Press Calculate to see the answer, along with the moles, the molar mass and the millimolar equivalent.
Molarity calculator example
Suppose you dissolve 5.844 g of sodium chloride (NaCl) and make the solution up to a final volume of 0.5 L. The molar mass of NaCl is about 58.44 g/mol, so the amount is 5.844 ÷ 58.44 = 0.1 moles. The molarity is 0.1 ÷ 0.5 = 0.2 mol/L. To prepare 1 L of a 0.5 mol/L solution of sodium hydroxide (NaOH), with a molar mass of about 40 g/mol, you would need 0.5 × 40 × 1 = 20 g.
Working with common compounds
You can type the formula of almost any substance. Sodium chloride is NaCl, sulfuric acid is H2SO4, hydrochloric acid is HCl, glucose is C6H12O6, sodium hydroxide is NaOH, and nitric acid is HNO3. Hydrated salts can be written with a dot, as in CuSO4·5H2O. For concentrated acids, remember that bottles are normally labeled by percentage strength and density, so they can't be weighed out as pure compounds. For those, work from the supplier's stated molarity and use a dilution calculation instead.
How to prepare a solution
- Calculate the mass of solute that you need.
- Weigh it accurately on a suitable balance.
- Dissolve it in less than the final volume of distilled water.
- Transfer it to a volumetric flask, rinsing the container into the flask as well.
- Make it up to the mark with distilled water, then stopper it and mix well.
Always follow your laboratory's safety rules. Wear suitable eye protection and gloves, and take particular care with strong acids and bases. When diluting acid, the acid is added to water, never the other way round.
Molarity, molality and other units
Solutions can be described in several ways. Molarity depends on the volume of the solution, so it changes slightly with temperature as the liquid expands or contracts. Molality uses the mass of the solvent instead, so it doesn't change with temperature. Mass percent and parts per million are also common, especially in industry and environmental work. A value in millimolar, or mmol/L, is simply one thousandth of a mole per liter, and it is widely used in biology and medicine.
Checking your work
A rough check can catch most mistakes. If you are using a substance with a molar mass of about 50 and you dissolve 5 g, you have about 0.1 moles. In one liter, that makes about 0.1 M. If your answer is hundreds of times larger than that, look at the units, since a volume entered in milliliters but labeled as liters is the most common slip. Also check the capitals in your formula: CO is carbon monoxide, while Co is the element cobalt.
When you would use molarity
Molarity is the standard way of describing concentration in school and laboratory chemistry, because it links a volume that you can measure directly to a number of particles. Once you know the molarity of a solution, you can work out how many moles are in any volume of it simply by multiplying. That makes it very convenient for titrations and for reactions where two solutions are mixed, since a balanced equation is written in moles. Biologists use the same idea when they prepare buffers and growth media, where small changes in concentration can affect an experiment.
Common mistakes
- Using the volume of water rather than the final volume of the solution.
- Forgetting water of crystallization. Hydrated salts weigh more per mole.
- Mixing up mL and L. The formula needs liters.
- Writing symbols in the wrong case. Formulas are case-sensitive.
Related chemistry tools
Find a formula's weight with the molar mass calculator, dilute a stock solution with the dilution calculator, and balance reactions with the chemical equation balancer.
What next
Use this often? Add Molarity to your Home screen.
Frequently asked questions
How does the molarity calculator work?
It finds the molar mass from your formula, turns the mass into moles, and divides by the volume of the solution in liters.
What is the formula for molarity?
Molarity equals moles of solute divided by the volume of solution in liters.
What is the difference between molarity and molality?
Molarity uses the volume of the solution, and molality uses the mass of the solvent.
How do I find the mass needed for a solution?
Choose Mass of solute, then enter the molarity you want and the volume. Mass equals molarity × molar mass × volume.
Why does the formula need correct capitals?
Symbols are case-sensitive. CO is carbon monoxide, while Co is cobalt.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.