TSE.
MathematicsFinanceHealthPhysicsEngineeringBrowse all

Engineering · Chemical Engineering · Reaction Engineering

Molarity Calculator

Calculates the molarity (molar concentration) of a solution given the moles of solute and volume of solution.

Calculator

Advertisement

Formula

M is the molarity in mol/L (molar), n is the number of moles of solute (mol), and V is the volume of the solution in liters (L). Molarity expresses how many moles of a dissolved substance are present per liter of solution. If the mass of solute is known instead of moles, n can be derived as n = m / M_r, where m is the mass in grams and M_r is the molar mass in g/mol.

Source: IUPAC Gold Book — 'amount concentration' (ISO 31-8); Atkins & de Paula, Physical Chemistry, 10th Ed.

How it works

Molarity (M) is the standard measure of solution concentration in chemistry. It tells you exactly how many moles of a dissolved substance — the solute — are present in every liter of the final solution. This is distinct from molality (which uses kilograms of solvent) and mass/volume percent, making molarity uniquely convenient for volumetric laboratory work and stoichiometric calculations because volumes are easy to measure precisely with standard glassware.

The formula is M = n / V, where n is the amount of solute in moles and V is the total volume of the solution in liters. Since chemists often start with a known mass of solid solute, this calculator incorporates an upstream step: n = m / M_r, where m is the mass in grams and M_r is the molar mass in g/mol. For example, sodium chloride (NaCl) has a molar mass of approximately 58.44 g/mol, so 58.44 g of NaCl contains exactly one mole of the compound. Dividing the number of moles by the solution volume in liters yields the molarity directly.

In chemical engineering practice, molarity underpins reactor design (specifying feed concentrations), separation process calculations (determining driving forces for mass transfer), and process analytical technology (PAT) for quality control. In analytical chemistry, it governs titration endpoint calculations and the preparation of standard solutions. Pharmaceutical manufacturing relies on molar concentrations to ensure dosage accuracy in intravenous solutions and formulations. Understanding and correctly calculating molarity is therefore an essential competency across a wide range of scientific and engineering disciplines.

Worked example

Suppose you want to prepare 500 mL of a sodium chloride (NaCl) solution with a target molarity of 0.200 mol/L. You need to determine how much NaCl to weigh out, then verify the resulting concentration.

Step 1 — Determine the required moles: n = M × V = 0.200 mol/L × 0.500 L = 0.100 mol

Step 2 — Convert moles to grams: m = n × M_r = 0.100 mol × 58.44 g/mol = 5.844 g

Step 3 — Verify molarity using this calculator: Enter mass = 5.844 g, molar mass = 58.44 g/mol, and volume = 500 mL. The calculator computes: n = 5.844 / 58.44 = 0.1000 mol; V = 500 / 1000 = 0.5000 L; M = 0.1000 / 0.5000 = 0.2000 mol/L. The result confirms a 0.200 M NaCl solution — a concentration commonly used in physiological and analytical chemistry contexts.

Limitations & notes

Molarity is temperature-dependent because liquid volumes change with temperature, whereas molality (mol/kg solvent) is not. For high-precision work above or below ambient conditions, temperature corrections may be necessary or molality should be preferred. This calculator assumes complete dissolution of the solute — if the solute is only partially soluble, the actual molarity will be lower than calculated. Hydrated salts must use the molar mass of the hydrated form (e.g., CuSO₄·5H₂O = 249.69 g/mol, not 159.61 g/mol) to obtain correct results. For highly concentrated solutions, activity coefficients deviate significantly from unity, and molarity alone may be insufficient for thermodynamic calculations. Volume is that of the final solution, not the volume of solvent added — always dissolve solute first, then bring up to final volume in a volumetric flask.

Frequently asked questions

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution, while molality (m) is moles of solute per kilogram of solvent. Molality is temperature-independent and preferred in thermodynamic calculations, whereas molarity is more convenient for volumetric laboratory work because volumes are easier to measure than masses of solvent.

How do I find the molar mass of a compound?

Sum the atomic masses of all atoms in the molecular formula using a periodic table. For example, H₂SO₄ has molar mass = 2(1.008) + 32.06 + 4(16.00) = 98.076 g/mol. Online databases such as NIST WebBook or PubChem provide accurate molar masses for thousands of compounds.

Why must I use the volume of the solution, not the volume of solvent?

Molarity is defined as moles per liter of total solution. When you dissolve a solute, it occupies space and changes the total volume. Always dissolve the solute in a volumetric flask, then add solvent until the total volume reaches the target mark — never add solvent to the target volume before dissolving.

How do I calculate molarity from a percentage concentration label?

If a reagent label states w/v% (grams per 100 mL), convert to g/L by multiplying by 10, then divide by the molar mass. For w/w% (mass fraction) labels, you also need the solution density: mass of solute per liter = density (g/L) × (w/w% / 100), then divide by molar mass to get molarity.

Can this calculator be used for dilution problems?

For simple dilution, use the dilution equation M₁V₁ = M₂V₂ instead. This calculator determines the molarity of a solution prepared from a solid solute and a known volume. To find how much of a stock solution to dilute, you should use a dedicated dilution calculator that directly applies the C₁V₁ = C₂V₂ relationship.

Last updated: 2025-01-15 · Formula verified against primary sources.