Molarity Calculator
Calculate the molar concentration of a solution from solute mass, molar mass, and volume.
What is the Molarity Calculator?
The molarity calculator computes the molar concentration of a solution — the number of moles of solute dissolved in one liter of solution. Molarity, expressed in moles per liter (mol/L or M), is the most common unit of concentration used in chemistry laboratories. This calculator helps students, researchers, and technicians prepare solutions with precise concentrations by converting a measured mass of solute into a known molarity.
How to Use the Molarity Calculator
- Enter the solute mass in grams
- Enter the molar mass of the solute in g/mol (e.g. 58.44 for NaCl)
- Enter the volume of the solution in liters
- Press Calculate Molarity to see the concentration
Molarity Formula
- Moles = mass (g) ÷ molar mass (g/mol)
- Molarity (M) = moles ÷ volume (L)
Combined: M = mass ÷ (molar mass × volume). The result tells you how many moles of solute are present in each liter of solution.
Example Calculation
| Field | Value |
|---|---|
| Solute | NaCl (molar mass 58.44 g/mol) |
| Mass | 58.44 g |
| Moles | 1.00 mol |
| Volume | 1.00 L |
| Molarity | 1.00 mol/L (1 M) |
Why Calculate Molarity?
Molarity is essential for accurate lab work because chemical reactions depend on the number of particles, not the mass, of reactants. When you prepare a solution, knowing its exact molarity lets you calculate how much to use for stoichiometric reactions, dilutions, and titrations. Medical, pharmaceutical, and research laboratories all rely on precisely prepared molar solutions to ensure reproducible results and safe dosing.
Molarity vs. Molality
- Molarity (M): moles of solute per liter of solution. Changes slightly with temperature because volume changes.
- Molality (m): moles of solute per kilogram of solvent. Independent of temperature.
For most bench work at room temperature, molarity is the standard. Molality is preferred when temperature fluctuations would affect volume measurements.
How the Molarity Calculator Works
The calculator first converts the solute mass into moles by dividing by the molar mass you provide. It then divides the number of moles by the solution volume in liters to obtain molarity. The molar mass must be entered correctly for the result to be accurate; it is the sum of the atomic masses of all atoms in the solute formula. All calculations are performed instantly in your browser.
Frequently Asked Questions
How do I find the molar mass of a compound?
Add the atomic masses of every atom in the formula. For example, NaCl is 22.99 (Na) + 35.45 (Cl) = 58.44 g/mol.
What if my volume is in milliliters?
Convert milliliters to liters by dividing by 1000. For example, 250 mL = 0.25 L, then divide the moles by 0.25.
Does temperature affect molarity?
Yes, because the volume of a solution expands with temperature. If you need a concentration independent of temperature, use molality instead.
