Molarity Calculator
Calculate molarity, mass, molecular weight, or solution volume using the standard molarity equation.
Solve for Molarity
Find the concentration of a solution from a known mass of solute, its molecular weight, and the total solution volume.
Enter any three values — the fourth is solved automatically. Units convert behind the scenes so you can mix grams with millilitres or pounds with gallons without manual conversion.
Choose what to solve for, fill in the other three values, then press Calculate to reveal the molarity, mass, volume, or molecular weight along with a full step-by-step solution.
What Is Molarity?
Molarity (symbol M, unit mol/L) is the most common way chemists describe how concentrated a solution is. It counts the moles of solute per litre of solution — that is, the number of formula units of the dissolved substance packed into every litre of the final mixture. A 1 M solution of sodium chloride therefore contains 1 mole of NaCl — roughly 6.022 × 10²³ formula units — dissolved into enough water to make a total volume of one litre.
Concentration matters in chemistry because reactions happen between particles, not between grams. Two beakers that weigh the same can react at completely different rates if they contain different numbers of reacting molecules. Expressing concentration in moles per litre is what lets a chemist predict pH, reaction rate, equilibrium position, osmotic pressure, and dilution ratios from first principles — and it lets results from one laboratory be reproduced exactly in another.
This calculator solves the molarity equation in all four directions. Enter any three of mass of solute, molecular weight, solution volume, and molarity, and it returns the fourth automatically — with unit conversion, a step-by-step explanation, equivalent concentrations (mmol/L, mol/m³, g/L, mg/mL, ppm), the number of particles via Avogadro's number, and a printable report. It is built for chemistry students, lab technicians, biology and pharmaceutical researchers, educators, and anyone who needs to prepare a solution accurately.
The Molarity Equation
M = mass ÷ (Molecular Weight × Volume)
Molarity Formula Explained
Moles, not grams
Molarity counts moles of solute, not grams. Grams measure mass; moles count particles. You convert between them with the substance's molecular weight, which is why MW is built into the equation.
Litres of solution
The volume in the molarity equation is the total volume of the final solution — not the volume of the solvent you started with. Adding solute changes the volume slightly, so always measure after mixing.
Why mol/L is so useful
Pipette 10 mL of a 1 M solution and you have transferred exactly 0.010 mol of solute. That direct link between volume and amount is what makes molarity the chemistry workhorse for titrations and stoichiometry.
Symbols and shorthand
M (capital, italic) is mol/L. Lowercase m is molality (mol/kg). N is normality (equivalents/L). Don't confuse them — the math is similar but the answers can be very different for polyprotic acids and bases.
How to Calculate Molarity
Weigh the solute
Record the mass of solute in grams. Use mg, kg, lb, or oz if that's how your balance reads — the calculator converts automatically.
Look up the molecular weight
Find the molar mass of the solute in g/mol. Our Molecular Weight Calculator can compute it from any formula in one click.
Measure the final volume
Dissolve the solute and dilute to a known total volume in litres or millilitres in a volumetric flask.
Apply the equation
Molarity = mass ÷ (MW × V). The calculator handles the arithmetic and the units; you read off the answer.
Cross-check the result
Compare the answer to typical bench ranges. A 0.1 – 1 M buffer is plausible; 50 M is not — most solutes saturate well before that.
Label and store
Record molarity, lot, prep date, and solvent on the bottle. Reproducibility starts with a clearly labelled stock.
How to Calculate Mass From Molarity
Re-arranging the molarity equation gives mass = molarity × MW × volume. To prepare 250 mL of a 0.5 M NaCl solution, multiply 0.5 mol/L × 58.44 g/mol × 0.250 L = 7.305 g of NaCl. Switch the calculator to the "Solve for Mass" tab and the unit converter handles millilitres, gallons, kilograms, or pounds for you. This is the most common laboratory workflow: you decide on a target molarity and volume, then the calculator tells you how much to weigh out.
The same equation underlies serial dilutions. A common technique is to weigh out a high-concentration stock — say 1 M — then dilute portions of it into working solutions of 0.1 M and 0.01 M using the dilution relationship M₁V₁ = M₂V₂. Because moles are conserved on dilution, the mass solved by the calculator is independent of how many dilution steps you take to get there.
How to Calculate Volume From Molarity
Volume comes from V = mass ÷ (M × MW). If you already have 10 g of solute and want a 0.2 M solution of glucose (MW 180.16 g/mol), the calculator returns V = 10 ÷ (0.2 × 180.16) = 0.2776 L, or about 278 mL. This direction is useful for planning when the solute is precious or when you only have a fixed amount of starting material and need to know how big a batch you can prepare.
Volume calculations are particularly relevant in pharmacology, where active drug substance is the limiting reagent. A pharmacist holding 50 mg of a research compound (MW 350 g/mol) and wanting a 100 µM stock can solve V = 0.05 ÷ (0.0001 × 350) = 1.43 L. Switch the volume unit to mL or even gal if that suits your workflow — the calculator converts automatically.
How to Calculate Molecular Weight
If the molarity, mass, and volume are known, the molecular weight follows from MW = mass ÷ (M × V). This is the classic method for characterising unknown compounds: dissolve a measured mass, determine the molarity by another technique (osmometry, freezing-point depression, light scattering), and back-calculate the molar mass. It is also how protein chemists infer subunit masses from analytical gel filtration and how polymer scientists estimate average molecular weight from solution properties.
For pure compounds, the fastest way to find a molecular weight is to add up atomic masses with our Molecular Weight Calculator, which parses any chemical formula — including hydrates like CuSO₄·5H₂O — and returns the value in g/mol. Use this Molarity Calculator when the molecular weight is the unknown and you have experimental molarity, mass, and volume data instead.
Molarity vs Molality
Molarity (M)
Moles of solute per litre of solution. Easy to prepare in a volumetric flask and ideal for titrations, but the value changes with temperature because liquids expand and contract.
M = moles ÷ L solution
Molality (m)
Moles of solute per kilogram of solvent. Independent of temperature, so used in colligative-property work (boiling-point elevation, freezing-point depression) where small accuracy matters.
m = moles ÷ kg solvent
In dilute aqueous solutions at room temperature, molarity and molality are numerically close (because 1 L of water weighs about 1 kg). They diverge for concentrated solutions, non-aqueous solvents, and any time precise temperature control is critical.
Molarity vs Normality
Normality (N) is the molarity multiplied by the number of equivalents per formula unit — that is, the number of reactive protons for an acid or hydroxides for a base, or the change in oxidation state per molecule for a redox reagent. 1 M sulfuric acid is 2 N because each H₂SO₄ delivers two protons; 1 M phosphoric acid is 3 N for the same reason. Normality matters in titrations where a single equivalence point depends on equivalents reacting one-to-one.
Modern chemistry has largely moved away from normality in favour of molarity, because molarity is unambiguous and normality requires you to know the reaction context. Older textbooks, water-treatment standards, and titration protocols still use it; treat "N" as "M times equivalents" and you can convert between the two in your head.
Concentration Units Explained
M (mol/L)
Molarity — moles of solute per litre of solution. The default unit for analytical and synthetic chemistry.
mmol/L (mM)
Millimolar — one-thousandth of a molar. Common for buffers, drug stocks, and physiological solutions.
µmol/L (µM)
Micromolar — used for enzymes, receptor ligands, and analytical trace work.
g/L, mg/mL
Mass concentration. Identical numbers (1 g/L = 1 mg/mL) and useful when molecular weight is unknown.
ppm, ppb
Parts-per-million / billion. For dilute aqueous solutions, 1 ppm ≈ 1 mg/L. Used in environmental and water chemistry.
% w/v, % w/w, % v/v
Percent solutions. w/v is grams of solute per 100 mL of solution; w/w is grams per 100 g; v/v is mL per 100 mL.
Laboratory Applications
Laboratory work runs on molarity. Acid–base titrations rely on it: knowing the molarity of a standard sodium hydroxide solution lets you determine the molarity of an unknown acid by measuring the volume required to reach the endpoint. Spectrophotometers report concentrations in molar units; the Beer–Lambert law A = εcl pins absorbance directly to the molar concentration c.
Buffer preparation depends on molarity at every step. A phosphate buffer at pH 7.4 typically contains 100 mM of total phosphate split between the conjugate acid and base forms in the ratio given by the Henderson–Hasselbalch equation. Cell-culture media are quoted in molarity. Reaction kinetics are studied in molarity. Chromatography mobile phases are described in molarity. The number on the bottle drives every downstream measurement.
Pharmaceutical Applications
In pharmaceuticals, accurate molarity calculations are a safety-critical activity. An IV infusion that is 10% over-strength because of a unit-conversion error can be fatal. Drug stock solutions are usually prepared in millimolar concentrations and diluted into micromolar working solutions for dose–response curves and IC₅₀ studies. Formulation chemists balance solubility, stability, and bioavailability against the target therapeutic molarity at the site of action.
In radiopharmacy and oncology, the active drug is often present in nanomolar quantities, where small unit-conversion mistakes can be costly. Quality control teams calculate molarity from raw weighed mass and assayed potency before releasing a batch. The molarity equation does not change between research and production — only the volumes and decimal places scale.
Biology and Research Applications
Biology lives in the millimolar and micromolar regime. Physiological saline is roughly 150 mM NaCl. Standard cell-culture media (DMEM, RPMI) are buffers built from millimolar salts and bicarbonate. Restriction-enzyme reactions are set up in micromolar substrate ranges. Protein assays report molarity in milligrams per millilitre and convert it to micromolar with the protein's molecular weight. Researchers use the molarity equation many times a day, often without writing it down — and that is precisely when arithmetic mistakes slip in.
In molecular biology, oligonucleotide stocks are typically diluted to 100 µM, PCR reactions use 200 µM dNTP mixes, and primers are added at 0.2 µM final concentration. All of these recipes ultimately come from a molarity calculation. This tool gives you a fast double-check whenever the answer matters.
Common Molarity Calculation Mistakes
Confusing solvent volume and solution volume
Volume in the molarity equation is the total final volume, measured after dissolving the solute and topping up. Using the volume of pure solvent gives an answer that is consistently too high.
Using molality when you needed molarity
Molality is moles per kg of solvent; molarity is moles per L of solution. They diverge for concentrated and non-aqueous systems. Always check whether your recipe specifies M or m.
Wrong molecular weight for hydrates
If the bottle is CuSO₄·5H₂O but you used CuSO₄, the mass is off by ~36%. Use the molecular weight that matches the form actually on the shelf.
Mixed units
Mass in mg, volume in mL, MW in kg/mol — without conversion you get nonsense. This calculator normalises every input to grams, g/mol, and litres before solving.
Forgetting solute purity
If a reagent is 95% pure, multiply your weighed mass by 0.95 before plugging it in, or weigh out the inverse to compensate.
Ignoring temperature
Aqueous volumes are sensitive to temperature. Prepare molar solutions at the temperature you will use them, especially below 5 °C or above 60 °C.
Chemistry Examples and Practice Problems
Problem 1: Calculate the molarity of a solution made by dissolving 5.844 g of NaCl in enough water to make 1 L of solution.
Solution: MW(NaCl) = 58.44 g/mol. moles = 5.844 ÷ 58.44 = 0.100 mol. M = 0.100 ÷ 1 = 0.100 M.
Problem 2: How many grams of glucose (MW 180.16 g/mol) are needed to make 500 mL of a 0.25 M solution?
Solution: mass = M × MW × V = 0.25 × 180.16 × 0.500 = 22.52 g of glucose.
Problem 3: What volume of 0.10 M HCl can be prepared from 3.65 g of HCl (MW 36.46 g/mol)?
Solution: V = mass ÷ (M × MW) = 3.65 ÷ (0.10 × 36.46) = 1.00 L.
Problem 4: An unknown solute weighs 12.0 g and dissolves in 200 mL of water to make a 0.30 M solution. What is its molecular weight?
Solution: MW = mass ÷ (M × V) = 12.0 ÷ (0.30 × 0.200) = 200 g/mol.
Problem 5: Convert 0.5 M to mmol/L and mol/m³.
Solution: 0.5 M × 1000 = 500 mmol/L. 0.5 M × 1000 = 500 mol/m³ (because 1 L = 0.001 m³).
Molarity Conversion Chart
| Molarity (M) | mmol/L | µmol/L | mol/m³ | Notes |
|---|---|---|---|---|
| 10 M | 10,000 | 10,000,000 | 10,000 | Concentrated stock — near solubility limit for many salts |
| 1 M | 1,000 | 1,000,000 | 1,000 | Typical laboratory stock concentration |
| 0.1 M | 100 | 100,000 | 100 | Standard titration concentration |
| 0.01 M | 10 | 10,000 | 10 | Common working buffer |
| 0.001 M | 1 | 1,000 | 1 | Millimolar — physiological range |
| 10⁻⁶ M | 0.001 | 1 | 0.001 | Micromolar — drug receptor work |
| 10⁻⁹ M | 10⁻⁶ | 0.001 | 10⁻⁶ | Nanomolar — trace analysis, hormones |
Core Molarity Formulas
Molarity = mass ÷ (MW × volume)
Solve for concentration from a known mass.
Mass = molarity × MW × volume
Solve for grams to weigh out for a target concentration.
Volume = mass ÷ (molarity × MW)
Solve for how much solution a fixed mass will make.
Molecular weight = mass ÷ (molarity × volume)
Solve for an unknown solute's molar mass.
Moles = molarity × volume
How many moles you have for a given concentration and volume.
Particles = moles × 6.022 × 10²³
Avogadro's number converts moles to formula units.
Dilution: M₁V₁ = M₂V₂
Moles are conserved when you dilute, so the product of M and V is constant.
Best Practices for Accurate Concentrations
- Use a calibrated analytical balance for solid solutes — molarity is only as accurate as the mass measurement.
- Always dissolve the solute completely before topping up to the final volume in a volumetric flask.
- For hydrates, match the molecular weight to the exact form on the bottle (anhydrous vs hydrate vs different hydration states).
- Account for solute purity. A 99% reagent is 1% less concentrated than the label implies.
- Prepare and use solutions at a consistent temperature — molarity drifts with thermal expansion.
- Label every stock with concentration, solvent, date, and preparer. Reproducibility lives on the label.
How We Calculate
Every result on this page is computed in your browser using the canonical molarity equation M = mass ÷ (MW × V), with all four variables solved analytically from the other three. Inputs are converted into SI base units (grams, g/mol, litres, mol/L) before the calculation runs, so you can freely mix milligrams with millilitres or pounds with gallons. Avogadro's number (6.02214076 × 10²³ mol⁻¹) is used to report the number of particles. Equivalent concentrations are derived directly from the canonical molarity result.
Nothing is sent to a server — the chemistry runs locally, instantly, and privately. Conversion factors for the imperial mass and volume units use exact NIST/ISO definitions (1 lb = 453.59237 g, 1 US gal = 3.785411784 L, 1 UK gal = 4.54609 L). Use this tool with confidence for homework, lab prep, and pharmaceutical dose checks; always verify safety-critical values against a primary reference and a colleague.
Frequently Asked Questions
Related Calculators
Pair the Molarity Calculator with these chemistry, math, and science tools.
- Molecular Weight CalculatorMolar mass, molecular weight, elemental composition, and formula analysis with an interactive periodic table.
- Scientific CalculatorAdvanced trig, log, exponent, root, factorial, and memory functions.
- Unit ConverterAll-in-one converter for 40+ measurement categories with natural-language input.
- Percentage CalculatorCalculate % of a number, percentage change, and reverse percentages.
- Ohm's Law CalculatorSolve voltage, current, resistance, and power with AC/DC and series/parallel circuit modes.
- Concrete CalculatorConcrete volume, weight, bag counts, ready-mix loads, and project cost across slab, footing, column, tube, curb, and stair shapes.