Molarity Calculator
Calculate the molar concentration of a solution. Enter the mass of your solute, its molar mass, and the total volume of solution to find molarity in mol/L.
Understanding Molarity: A Complete Guide to Solution Concentration
Molarity is one of the most fundamental concepts in chemistry, providing a precise way to express the concentration of a solute dissolved in a solution. Defined as the number of moles of solute per litre of solution, molarity is universally denoted by the symbol M and measured in units of mol/L. Whether you are preparing a buffer in a biochemistry laboratory, diluting a stock solution, or studying reaction stoichiometry, molarity is the concentration unit you will encounter most often.
What Is Molarity?
Molarity (M) is defined as the number of moles of solute divided by the total volume of solution in litres: M = n / V. Because it relates an amount of substance (moles) to a volume, molarity is an intensive property—it does not depend on the total quantity of solution, only on its composition. A 1 M (one molar) solution of sodium chloride, for example, contains exactly one mole of NaCl (58.44 g) dissolved in enough water to make one litre of solution.
It is important to note that molarity is defined with respect to the volume of solution, not the volume of solvent. When you prepare a 1 M solution, you dissolve the solute and then add solvent until the total volume of the solution reaches the target value, rather than adding exactly one litre of water to the solute.
The Molarity Formula
The molarity calculation involves three quantities: the mass of solute (in grams), the molar mass of the solute (in g/mol), and the volume of the solution (in litres). The relationship is expressed as: M = m / (M_r × V), where m is the mass of solute in grams, M_r is the molar mass in g/mol, and V is the volume in litres. This can be split into two steps: first calculate the moles of solute (n = m / M_r), then divide by the volume in litres (M = n / V).
For example, to find the molarity of a solution containing 5.844 g of sodium chloride (NaCl, molar mass = 58.44 g/mol) dissolved to a total volume of 1000 mL: moles of NaCl = 5.844 / 58.44 = 0.1 mol; molarity = 0.1 mol / 1 L = 0.1 M. This is equivalent to 100 millimolar (100 mM), a concentration commonly used in biochemistry.
Molar Mass: The Bridge Between Mass and Moles
To use the molarity formula, you must first know the molar mass of your solute—the mass of one mole of that substance in grams per mole (g/mol). The molar mass of a compound equals the sum of the atomic masses of its constituent elements, weighted by their stoichiometric coefficients. For water (H₂O): 2 × 1.008 + 15.999 = 18.015 g/mol. For glucose (C₆H₁₂O₆): 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol.
Accurate molar mass values are tabulated in the periodic table and can also be calculated using a molar mass calculator. Using the correct molar mass is critical: an error of even a few percent in molar mass will propagate directly into your molarity calculation and can compromise experimental results.
How to Prepare a Solution of Known Molarity
Preparing a solution of a specific molarity is a routine laboratory task. The procedure involves four steps: (1) calculate the required mass of solute using m = M × M_r × V; (2) weigh the solute accurately on an analytical balance; (3) dissolve the solute in a smaller volume of solvent (typically about 80% of the final volume); (4) transfer to a volumetric flask and add solvent up to the calibration mark to achieve the exact final volume.
For instance, to prepare 250 mL of a 0.5 M NaOH solution (molar mass = 40.0 g/mol): m = 0.5 × 40.0 × 0.250 = 5.0 g. Dissolve 5.0 g of NaOH in approximately 200 mL of distilled water, then dilute to exactly 250 mL in a volumetric flask.
Dilution and the C₁V₁ = C₂V₂ Relationship
A key application of molarity is calculating dilutions. When you dilute a concentrated stock solution to prepare a working solution of lower molarity, the number of moles of solute remains constant. This gives rise to the dilution equation: C₁V₁ = C₂V₂, where C₁ and C₂ are the initial and final molarities, and V₁ and V₂ are the initial and final volumes.
For example, to prepare 500 mL of a 0.1 M HCl solution from a 12 M concentrated stock: V₁ = (0.1 × 500) / 12 = 4.17 mL. You would measure 4.17 mL of the 12 M stock, transfer it to a 500 mL volumetric flask, and dilute to the mark with distilled water. Always add acid to water, never water to acid, to avoid exothermic splashing.
Molarity in Stoichiometry
Molarity plays a central role in reaction stoichiometry for reactions in solution. If you know the molarity and volume of a reactant solution, you can calculate the moles of reactant and from there determine the moles of any product or co-reactant. For example, the neutralisation of hydrochloric acid by sodium hydroxide proceeds as: HCl(aq) + NaOH(aq) → NaCl(aq) + H₂O(l). If 25.0 mL of 0.200 M HCl is titrated with 0.150 M NaOH to the equivalence point, the volume of NaOH required is: moles HCl = 0.025 × 0.200 = 0.005 mol; volume NaOH = 0.005 / 0.150 = 0.0333 L = 33.3 mL.
Such calculations are the backbone of volumetric analysis (titration), a technique used in analytical chemistry, quality control, and clinical diagnostics. The accuracy of a titration depends directly on the precise knowledge of reactant molarities.
Other Concentration Units and When to Use Them
While molarity is the most common concentration unit in chemistry, several others exist. Molality (m) is defined as moles of solute per kilogram of solvent—unlike molarity, molality is independent of temperature because it is based on mass rather than volume. Normality (N) expresses concentration in equivalents per litre and is useful for acid–base or redox titrations. Mass percent (w/w%) and volume percent (v/v%) are common in industrial and pharmaceutical contexts.
Molarity is preferred when dealing with reactions in solution and when volume is easier to measure than mass. Molality is chosen when temperature changes are involved, since it remains constant as temperature varies. For colligative properties such as boiling point elevation and osmotic pressure, molality is the appropriate concentration unit.
Common Applications of Molarity
Molarity appears across virtually every branch of chemistry and related sciences. In biochemistry, buffer solutions are routinely prepared at defined molarities (e.g., 10 mM Tris-HCl at pH 7.4) to maintain stable pH conditions for enzyme assays, protein purification, and cell culture. In pharmacology, drug concentrations are often expressed in millimolar (mM) or micromolar (μM) to describe in vitro efficacy and in vivo plasma levels. In environmental science, pollutant concentrations in water samples may be reported in molar units to facilitate comparison with regulatory thresholds.
Understanding molarity also underpins electrochemistry: the Nernst equation, which describes the voltage of electrochemical cells, depends on the molar concentrations of ionic species. Similarly, the Henderson–Hasselbalch equation for pH buffers uses pKa values and molar ratios of conjugate acid–base pairs.
Frequently Asked Questions
What is molarity and how is it different from molality?
Molarity (M) is the number of moles of solute per litre of solution (mol/L). Molality (m) is the number of moles of solute per kilogram of solvent (mol/kg). The key difference is that molarity uses volume of solution while molality uses mass of solvent. Because volume changes with temperature, molality is preferred for calculations involving temperature variation, whereas molarity is more practical for volumetric laboratory work.
How do I calculate molarity from mass, molar mass, and volume?
Use the formula M = m / (M_r × V), where m is the mass of solute in grams, M_r is the molar mass in g/mol, and V is the volume of solution in litres. First calculate the moles of solute: n = m / M_r. Then divide by the volume in litres: M = n / V. For example, 5.844 g of NaCl (M_r = 58.44 g/mol) in 1000 mL gives n = 0.1 mol and M = 0.1 mol/L.
What is 1 molar (1 M) solution?
A 1 molar (1 M) solution contains exactly 1 mole of solute dissolved in enough solvent to make 1 litre of total solution. For example, a 1 M solution of glucose (C₆H₁₂O₆, molar mass = 180.16 g/mol) contains 180.16 g of glucose in 1 litre of solution. Note that 1 M is not the same as 1 molal (1 m), which would be 1 mole per kilogram of solvent.
How do I dilute a concentrated solution to a target molarity?
Use the dilution equation C₁V₁ = C₂V₂, where C₁ is the stock molarity, V₁ is the volume of stock to take, C₂ is the target molarity, and V₂ is the final volume. Solve for V₁: V₁ = (C₂ × V₂) / C₁. For example, to make 200 mL of 0.5 M HCl from a 6 M stock: V₁ = (0.5 × 200) / 6 = 16.7 mL. Measure that volume of stock, transfer to a flask, and dilute to 200 mL.
Why does molarity depend on temperature?
Molarity is defined as moles per litre of solution. Because liquids expand or contract with changes in temperature, the volume of a solution changes with temperature, which in turn changes the molarity. A solution prepared at 25 °C will have a slightly different molarity if measured at 4 °C or 37 °C. For temperature-sensitive work, molality (moles per kilogram of solvent) is preferred because mass does not change with temperature.
Related Calculators
Dilution Calculator
Calculate dilution ratios using C1V1=C2V2.
Entropy Change Calculator
Calculate entropy change (ΔS) for reversible heat transfer or temperature-change processes using thermodynamic formulas.
Gibbs Free Energy Calculator
Calculate Gibbs free energy change (ΔG) and determine whether a reaction is spontaneous.