Chemistry runs on precise concentrations — too little acid and a titration never reaches its endpoint, too much and you overshoot it. Molarity is the standard way chemists express exactly how concentrated a solution is, and it's simple enough to calculate by hand once you know the relationship between moles, volume, and concentration.
How to Use the Molarity Calculator
Choose whether to solve for molarity, moles of solute, or solution volume, then enter the other two known values. Moles are entered directly, volume is in liters, and molarity comes out in moles per liter (written as mol/L or M).
From Moles to Grams
Molarity calculations almost always connect to a separate step: converting between moles and grams using a substance's molar mass. If you need 2 moles of table salt (NaCl, molar mass about 58.44 g/mol) to make a solution, that's 2 × 58.44, or roughly 116.9 grams to weigh out on a balance before dissolving. This calculator handles the moles-volume-molarity relationship; pairing it with a periodic table's atomic weights completes the full recipe from a jar of solid reagent to a bottle of solution at a known concentration.
The Molarity Formula
M = mol / L
Molarity equals moles of solute divided by liters of solution. The calculator's default example dissolves 1 mole of solute in 0.5 liters of solution: M = 1 ÷ 0.5, which is 2 mol/L, usually written as "2 M." A solution's molarity tells you exactly how many moles of dissolved substance are packed into every liter, which is what lets chemists measure out precise amounts of a reactant just by measuring volume with a graduated cylinder or pipette.
Solving for Moles or Volume
If a recipe calls for a specific molarity and you know how much solution you need to prepare, solve for moles to find out exactly how much solute (by mole count, which you then convert to mass using the substance's molar mass) to weigh out. If instead you already have a fixed amount of solute and need to know how much solvent to add to hit a target concentration, solve for volume. Both directions come up constantly in a lab setting — one when you're planning a preparation from scratch, the other when you're working backward from what's already on the shelf.
Why Volume Means "Solution," Not "Solvent"
A common mistake is dissolving 1 mole of a solid in exactly 1 liter of water and calling that a 1 M solution — but the solid takes up some space too, so the total solution volume is usually slightly more than 1 liter. Proper molarity preparation means dissolving the solute, then adding solvent until the total solution reaches the target volume (measured in a volumetric flask), not simply adding a fixed amount of solvent to the solute. This calculator's "volume" input always refers to total solution volume, which is the number that actually determines molarity.
Why Molarity Matters Beyond the Classroom
Molarity isn't just an academic exercise — it's how medications are dosed in IV solutions, how water treatment plants measure chlorine concentration, and how brewers and winemakers track sugar and acid levels during fermentation. Any process where "how concentrated" determines an outcome — a chemical reaction rate, a drug's effect, a taste — relies on molarity or a close relative of it as the practical way to describe and reproduce a solution precisely.