The Molarity Calculator converts between solution concentration, solute mass, molar mass and solution volume. Enter any three of those pieces to solve for the fourth, or use the dilution mode that applies C1V1 = C2V2 for stock-to-working solutions. Results show moles, molarity in mol/L and the arithmetic with units named at each step.
Calculate molarity from mass and volume
Molarity (M) is moles of solute per litre of finished solution. Divide solute mass by molar mass to obtain moles, then divide those moles by the solution volume in litres. Mass may be grams or milligrams, volume mL or L, and molar mass g/mol, so unit conversions stay inside one workflow.
moles = mass (g) / molar mass (g/mol)
M = moles / volume (L)
Volume means the final solution volume after mixing and bringing to the mark, not the volume of solvent poured first. A 250 mL volumetric flask filled to the line is 0.250 L even if the solid sat in less water before dilution to volume. Graduated cylinders are coarser; use them for approximate work, not for standards that will calibrate a titration.
If molar mass is unknown, open the sibling molecular-weight page for the formula, then return with that g/mol value. Wrong molar mass is the most common silent error in hand prep. A 2% error in molar mass becomes a 2% error in M with no other red flags on the balance printout.
Concentrations sometimes appear as millimolar (mM). One millimolar equals 0.001 mol/L. The calculator can show mM beside M when the result is small, which keeps spectrophotometer recipes readable without changing the underlying arithmetic.
Calculate the mass needed for a target molarity
Target concentration and flask volume fix the weighing mass once molar mass is known. Multiply molarity by volume in litres, then by molar mass in grams per mole. That product is the grams to place on the balance before dissolving and diluting to the mark on the volumetric flask.
mass (g) = M (mol/L) × volume (L) × molar mass (g/mol)
That is the weighing target for solid solutes that dissolve cleanly. Hygroscopic salts pick up water from air; weigh quickly from a dry bottle or correct for known hydrate formulas so the anhydrous mole count stays honest. Leaving a dish of anhydrous CuSO4 open on a humid bench changes the effective formula mass toward a hydrate without any change to the label on the bottle.
For liquids sold by density and purity, convert volume of stock liquid into moles using density and mass fraction before applying the same M definition. Concentrated acids shipped as mass percent need that extra step; the mass mode of this tool is for cases where the solute is weighed as a solid or where mass is already known.
Purity matters. A reagent labelled 98% assay contributes only 0.98 grams of pure compound per gram weighed. Divide the ideal mass by the assay fraction when the procedure demands that correction. Teaching labs often ignore assay for NaCl; analytical methods should not.
Calculate a dilution
Dilution keeps the amount of solute fixed while solvent increases, so concentration falls in proportion to the volume ratio. The relation C1V1 = C2V2 links stock concentration and aliquot volume to the desired concentration and final volume. Enter any three values; the Molarity Calculator solves the fourth and names each unit in the substituted line.
C1 × V1 = C2 × V2
C1 and V1 are the stock concentration and the aliquot volume withdrawn. C2 and V2 are the desired concentration and the final volume after dilution. Units of concentration must match on both sides; volumes must match each other (both mL or both L). Mixing mL on one side with L on the other is a classic off-by-thousand mistake.
Example path: 1.00 M stock, need 100 mL of 0.100 M working solution.
V1 = (C2 × V2) / C1 = (0.100 × 100) / 1.00 = 10.0 mL
Pipette 10.0 mL of stock into a 100 mL volumetric flask and dilute to the mark with solvent. The calculator reports V1 when C1, C2 and V2 are entered, or C2 when an aliquot and final volume are known.
Serial dilutions multiply factors. Two 1:10 steps yield 1:100 overall. State each step separately when documenting prep so a labelling error is traceable. For very large dilution factors, prefer two or three moderate steps over one extreme micropipette transfer that sits at the edge of pipette accuracy.
Never dilute by guessing "about half." Measured V1 and a marked V2 are the entire quality control for the working concentration when the stock itself was prepared carefully.
Prepare 500 mL of 0.1 M NaCl
A standard teaching prep asks for half a litre of 0.1 M sodium chloride. With molar mass 58.44 g/mol, the weighing target is a little under three grams. Walk the moles path once forward and once backward so the flask label and the calculator agree before the solid hits the water.
Sodium chloride molar mass is 58.44 g/mol. Target: 0.100 M in 0.500 L.
1. Find moles required. `` moles = M × V = 0.100 mol/L × 0.500 L = 0.0500 mol ``
2. Convert moles to grams. `` mass = 0.0500 mol × 58.44 g/mol = 2.922 g ≈ 2.92 g ``
3. Dissolve and dilute. Weigh about 2.92 g NaCl, transfer to a 500 mL volumetric flask, dissolve in some water, then fill to the 500 mL mark and mix.
Check the forward direction. 2.92 g / 58.44 g/mol ≈ 0.0500 mol; 0.0500 mol / 0.500 L = 0.100 M. The Molarity Calculator should reproduce that loop when mass, molar mass and volume are entered.
Table salt is not reagent NaCl. Food-grade salt contains anti-caking agents; analytical work uses ACS-grade NaCl and a dried sample when the procedure requires it.
Distinguish molarity from molality and normality
Three concentration words sound alike and are not interchangeable. Molarity divides moles by litres of solution. Molality divides moles by kilograms of solvent. Normality divides equivalents by litres of solution and depends on which reaction defines an equivalent. Mixing the labels produces tidy arithmetic attached to the wrong physical quantity.
| Measure | Definition | Temperature note |
|---|---|---|
| Molarity (M) | moles solute / L solution | Changes slightly with T as volume expands |
| Molality (m) | moles solute / kg solvent | Independent of solution volume |
| Normality (N) | equivalents / L solution | Depends on the reaction chosen |
For dilute aqueous solutions near room temperature, molarity and molality are numerically close because one litre of water has a mass near one kilogram. Concentrated solutions diverge. A 5 M sugar syrup is nowhere near 5 molal once the solute occupies a large fraction of the flask. Osmometry and boiling-point elevation prefer molality; volumetric glassware and most wet-lab recipes prefer molarity.
Normality for acids often counts acidic hydrogens: 1 M H2SO4 is 2 N for acid-base titration that uses both protons. Redox normality depends on electrons transferred, which can change between reactions for the same bottle. Prefer molarity in modern protocols unless a legacy method still specifies N, and write the reaction beside any N value that must stay.
Mass percent and ppm answer different questions again. They are useful on certificates of analysis; they are not M. Convert through density and molar mass when a protocol demands molarity from a mass-percent stock.
Practical notes for solution prep
Solution prep quality hinges on glassware temperature, dissolve-then-dilute order, and written assumptions about molar mass. Volumetric flasks are calibrated at a marked temperature, usually 20 °C, so a warm flask filled to the line holds a different true volume than the etched number suggests. Bring flask and solvent near lab temperature before the final fill when tolerances are tight.
Dissolve solids before filling to the mark. Adding a large crystal load to a nearly full flask can overshoot volume and understate molarity. Stubborn solutes dissolve more reliably in a beaker with stirring, then transfer quantitatively with rinse water into the flask. Rinse water counts toward the final volume only after everything is in the flask and the meniscus is set.
Record lot numbers and the molar mass assumed on the prep sheet. If a later reference updates NaCl from 58.44 to another rounded value, the old bottle label still documents what was weighed. Date, initials and target M on the label prevent a week-old flask from being treated as fresh stock without a second thought.
Mixing order can matter for heat. Diluting concentrated sulfuric acid means acid into water with stirring, never water into concentrated acid. The concentration calculator does not replace safety rules for exothermic dilutions; it only sizes the volumes after the safe procedure is chosen.
Frequently asked questions
How do you calculate molarity from mass?
Molarity from mass starts by dividing grams of solute by molar mass to get moles, then dividing moles by the solution volume in litres. Written compactly, M equals (mass / molar mass) / V. Keep mass and molar mass in grams and g/mol so moles cancel cleanly, and convert millilitres to litres before the final division.
How much NaCl is needed for 500 mL of 0.1 M solution?
About 2.92 g of NaCl are required for 500 mL of 0.1 M solution when molar mass is taken as 58.44 g/mol. The path is 0.1 mol/L × 0.5 L × 58.44 g/mol = 2.922 g, which rounds to 2.92 g on a typical analytical balance display for this prep.
What is the dilution formula?
The dilution formula is C1V1 = C2V2, which states that moles of solute stay constant when only solvent is added. C1 and V1 describe the stock; C2 and V2 describe the diluted solution. Solve for whichever concentration or volume is unknown, and keep concentration units matched and volume units matched on both sides of the equation.
Is molarity the same as concentration?
Molarity is one concentration unit, moles per litre, not a synonym for every concentration measure. Mass percent, milligrams per litre, ppm and molality are other concentration languages. Write the unit beside every number so a 0.1 value is not ambiguous between 0.1 M and 0.1% w/w.
Why use a volumetric flask instead of a graduated cylinder?
A volumetric flask is manufactured and calibrated for one accurate total volume at a stated temperature, which matches how molarity defines litres of solution. Graduated cylinders resolve coarser increments and suit approximate volumes, rinses and non-critical dilutions. Standards, titrants and calibration solutions belong in volumetric glassware when the concentration must be trusted.
Does temperature affect molarity?
Temperature affects molarity because solution volume expands or contracts while the mole count stays fixed, so M drifts slightly with T. Molality avoids that drift by using solvent mass instead of solution volume. For routine aqueous work near 20 °C the effect is small; for precise work, control temperature or note the conditions on the prep record.
Can the calculator convert molality to molarity?
Molality converts to molarity only when density (or an equivalent pair of solvent mass and solution volume) is available. Without density the conversion is underdetermined because molality never measured the solution volume that molarity requires. Enter density when the tool offers that field; otherwise keep the result in molal units.
What if the solute is a hydrate?
Hydrate solutes must be weighed with the hydrate molar mass so water of crystallisation is included in the solid on the balance. Using anhydrous molar mass while scooping a hydrate under-doses the solute and yields a low true molarity. Check the bottle for ·xH2O notation before calculating the target mass.
How precise should the mass be?
Mass precision should match the glassware and the concentration tolerance of the method. A class-A 500 mL flask aimed at 0.1 M usually justifies weighing to 0.01 g or better. A kitchen scale with 1 g resolution is the wrong tool for that flask; the volume uncertainty would then be dominated by a crude mass.
Summary
The Molarity Calculator solves M = moles per litre from mass and volume, rearranges to a weighing mass for a target concentration, and applies C1V1 = C2V2 for dilutions. The 500 mL of 0.1 M NaCl example needs about 2.92 g at 58.44 g/mol.
Keep molarity distinct from molality and normality, and treat the final mark on the volumetric flask as the volume that enters the formula.