Ryan McVay/Photodisc/Getty Images
Whether you’re conducting a lab experiment or tackling an exam, calculating molarity is a foundational skill in chemistry. Molarity quantifies how concentrated a solution is, expressed as the number of moles of solute per liter of solution. The calculation requires only a simple formula and a few key pieces of data.
In its most basic form, molarity (M) is calculated by dividing the number of moles of solute by the volume of the solution in liters:
M = moles of solute ÷ liters of solution
This relationship is often written as “mol L⁻¹” or “moles per liter.”
To determine the moles of a solute, you need the mass of the solute, its chemical formula, and the atomic weights of its constituent elements (obtainable from the periodic table). Sum the atomic weights to find the molar mass, then divide the mass of the solute by that molar mass.
The volume of the solution must be expressed in liters for the molarity formula. If the volume is given in milliliters, divide by 1,000 to convert to liters.
Example: Dissolve 20 g of NaOH in 500 mL of water.
Thus, the resulting solution has a molarity of 1 mol L⁻¹.
Once you master the basic formula, you can rearrange it to solve for any unknown—whether it’s the amount of solute, the number of moles, or the volume of solution—using algebraic manipulation. This flexibility is essential for stoichiometric calculations, titration analyses, and preparing solutions of desired concentrations.