Science

Molarity Calculator

Calculate molarity (M), moles, or volume of a solution. Includes conversions between molarity, molality, and mass percent.

Quick Answer

Molarity (M) = moles of solute / liters of solution. Select which variable to solve for, enter the known values, and get your answer instantly.

Calculate

Choose what to solve for, then enter the known values.

Molarity
0.5 M
Moles
0.5 mol
Volume
1 L

Concentration Conversions

Convert between molarity, molality, and mass percent (assumes aqueous solution).

Molality
1.018786 mol/kg
Mass Percent
5.619231%
Mole Fraction (solute)
0.01802266
Mass of Solute per Liter
58.44 g/L

About This Tool

The Molarity Calculator is a comprehensive solution concentration tool designed for chemistry students, lab technicians, researchers, and anyone working with chemical solutions. It solves the fundamental molarity equation M = n/V for any unknown variable and provides automatic conversions between the most commonly used concentration units: molarity, molality, mass percent, and mole fraction.

Understanding Molarity

Molarity is the most widely used concentration unit in chemistry. Defined as the number of moles of solute per liter of total solution, it connects the microscopic world of atoms and molecules to the macroscopic measurements you make in the lab. When a recipe calls for "0.1 M NaOH," it means there are 0.1 moles of sodium hydroxide dissolved in every liter of the final solution. This is not the same as dissolving 0.1 moles in one liter of water, because the solute itself contributes to the total volume.

Molarity vs. Molality vs. Mass Percent

These three concentration units each have specific advantages. Molarity (mol/L) is volume-based and convenient for measuring with graduated cylinders and volumetric flasks. However, it changes with temperature because liquid volumes expand when heated. Molality (mol/kg solvent) is mass-based and temperature-independent, making it essential for colligative property calculations like boiling point elevation and freezing point depression. Mass percent is intuitive and widely used in industry and everyday products (e.g., "70% isopropyl alcohol"). The conversion section of this calculator handles all three.

How to Use the Calculator

First, select which variable you want to solve for: molarity, moles, or volume. Then enter the two known values. The calculator instantly computes the unknown. For concentration conversions, enter the molarity along with the solute's molar mass and the solution's density. The calculator assumes an aqueous (water-based) solution for the molality and mole fraction calculations.

Laboratory Applications

In a real lab setting, molarity calculations arise constantly. Preparing buffer solutions, diluting stock reagents, calculating titration endpoints, and adjusting reaction conditions all require precise concentration work. A common task is "serial dilution," where you progressively dilute a stock solution to create a series of known concentrations for calibration curves or dose-response experiments.

Common Pitfalls

The most frequent mistake is confusing "moles of solute per liter of solution" with "moles per liter of solvent." Always remember that the volume in molarity refers to the total solution volume, not just the solvent. Another common error is unit confusion: make sure your volume is in liters, not milliliters. If you have 250 mL, convert to 0.250 L before using the formula. This calculator expects volume in liters to maintain consistency.

Frequently Asked Questions

What is molarity?
Molarity (M) is a measure of concentration defined as the number of moles of solute dissolved per liter of solution. A 1 M (one molar) solution contains exactly one mole of solute in one liter of total solution. Molarity is the most common concentration unit in chemistry because it directly relates to the number of molecules in a given volume, making stoichiometric calculations straightforward. The formula is M = n/V, where n is moles of solute and V is volume of solution in liters.
What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution, while molality (m) is moles of solute per kilogram of solvent. The key difference: molarity depends on the total solution volume (which changes with temperature), while molality depends on the solvent mass (which does not change). Molality is preferred for colligative property calculations (boiling point elevation, freezing point depression) because it is temperature-independent. For dilute aqueous solutions, molarity and molality are approximately equal.
How do I prepare a solution with a specific molarity?
To prepare a solution of known molarity: (1) Calculate the mass of solute needed: mass = molarity x volume x molar mass. (2) Weigh out the calculated mass of solute. (3) Add the solute to a volumetric flask. (4) Add solvent (usually water) to dissolve the solute completely. (5) Add more solvent until the total volume reaches the desired amount. Important: the volume refers to the total solution, not just the solvent added.
How do I convert between molarity and mass percent?
To convert molarity to mass percent, you need the solution density and the solute's molar mass. Mass percent = (molarity x molar mass) / (density x 10). For example, 1 M NaCl (MW = 58.44 g/mol) with a density of 1.04 g/mL: mass percent = (1 x 58.44) / (1.04 x 1000) x 100 = 5.62%. The conversion calculator in this tool handles this automatically when you provide the molarity, molar mass, and density.
What does 0.1 M HCl mean?
A 0.1 M HCl solution contains 0.1 moles of hydrochloric acid per liter of solution. Since HCl has a molar mass of 36.46 g/mol, this equals 3.646 grams of HCl per liter. This is a common concentration used in titrations and general chemistry experiments. The 'M' stands for 'molar' and is equivalent to mol/L. You might also see this written as 0.1 mol/L or 0.1 mol dm^-3 (the SI equivalent).
Why does this calculator solve for three different variables?
The molarity equation M = n/V has three variables: molarity (M), moles (n), and volume (V). In practice, you might know any two and need to find the third. You might need to find molarity from a known mass and volume, find how many moles are in a certain volume of stock solution, or find what volume of stock solution to use for a specific number of moles. This calculator handles all three scenarios by letting you select which variable to solve for.

Was this tool helpful?