Molarity Calculator
What is the molarity of your chemical solution?
Enter the mass of your solute in grams, molecular weight, and solution volume. Get the molarity (moles per liter) of your chemical solution.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
This molarity calculator determines the molar concentration of a solution by converting mass to moles and dividing by volume. When you enter the solute mass in grams, the calculator first divides this by the molecular weight to find the number of moles present. It then divides the moles by the solution volume in liters to give molarity in units of M (moles per liter).
The calculation follows the fundamental relationship: Molarity = moles of solute ÷ liters of solution. This differs from other concentration measures like mass percent or parts per million because it accounts for the actual number of particles in solution rather than just mass ratios. Temperature affects molarity because solution volume changes with temperature, making it less precise than molality for some applications.
Accurate molecular weight is crucial for this calculation. For ionic compounds like NaCl, use the formula weight including all ions. For hydrated compounds, include water molecules in the molecular weight calculation. The calculator assumes complete dissolution and no volume changes upon mixing, which works well for most dilute aqueous solutions but may need correction factors for concentrated solutions or non-aqueous solvents.
When To Use This
Right tool, right situation
Use molarity when preparing solutions for chemical reactions, analytical chemistry, or any procedure requiring precise molar ratios. It is the standard concentration unit in most chemistry labs because reaction stoichiometry depends on mole ratios, not mass ratios. Molarity directly relates to the number of reactive particles in solution.
Molarity works best for aqueous solutions at constant temperature. For non-aqueous solvents or temperature-variable conditions, consider molality instead. In biological applications, molarity helps calculate enzyme kinetics, drug concentrations, and buffer capacities. Environmental chemistry uses molarity for pollution measurements and treatment calculations.
Avoid molarity when solution density varies significantly with concentration, when working across wide temperature ranges, or when the solvent contributes significantly to the total volume. For quality control in manufacturing, weight-based concentrations often provide better reproducibility than volume-based measures like molarity.
Common Mistakes
Why results sometimes look wrong
The most common error is confusing solution volume with solvent volume. Molarity requires the total final volume after mixing, not the volume of water added. When dissolving 58.44g NaCl in water, add water until the total volume reaches 1L, do not simply add 1L of water to the salt.
Using incorrect molecular weights leads to systematic errors. Always verify molecular weight from reliable sources and account for hydration water in crystalline compounds. CuSO₄·5H₂O has MW = 249.68 g/mol, not 159.61 g/mol for anhydrous CuSO₄. Similarly, check whether your compound is anhydrous or contains crystal water.
Temperature significantly affects molarity through volume expansion. A 1M solution at 25°C becomes more concentrated when cooled and more dilute when heated. For precise work, specify the temperature or use molality instead. Assuming complete dissolution without checking solubility limits can also cause errors – some compounds precipitate at high concentrations.
The Math
Worked examples and deeper derivation
The molarity formula combines two unit conversions: mass to moles and volume to molarity. Starting with M = (mass ÷ MW) ÷ V, where mass is in grams, MW is molecular weight in g/mol, and V is volume in liters. This simplifies to M = mass ÷ (MW × V). The units work out as: grams ÷ (g/mol × L) = mol/L.
For dilution calculations, use M₁V₁ = M₂V₂ where the subscripts represent initial and final conditions. This relationship assumes the number of moles remains constant during dilution. To prepare a specific molarity from a stock solution, rearrange to find the required volume: V₁ = (M₂ × V₂) ÷ M₁.
When dealing with multiple solutes, calculate each molarity independently unless they react with each other. For compounds that dissociate (like salts), the molarity represents the compound concentration, not individual ion concentrations. NaCl at 1M produces 1M Na⁺ and 1M Cl⁻, but CaCl₂ at 1M produces 1M Ca²⁺ and 2M Cl⁻.
Common questions
Need something this doesn't cover?
Suggest a tool — we'll build it →