Skip to main content
MATHEMATICS

Molarity Calculator

Calculate solution molarity (M = n/V) and dissolved solute moles from solute mass, molar mass, and solution volume. Free chemistry calculation steps.

DOCUMENTED FORMULA intermediate
Interactive Workbench
intermediate
Quick PresetsClick to autofill values
Parameters3 variables
Mass of dissolved solute in grams.
g/mol
Molecular weight of solute in grams per mole.
Total volume of solution in Liters.
Calculation ResultAwaiting Input
Molar Concentration (M)
--.--

Molarity of the prepared solution in moles per Liter.


On this page Jump to section ▾

Practical Worked Example

Step-by-step practical problem and numerical calculation scenario.

Problem Statement

A laboratory technician dissolves m=5.844 gm = 5.844\text{ g} of pure analytical-grade sodium chloride (NaCl\text{NaCl}, molar mass Mw=58.44 g/molM_w = 58.44\text{ g/mol}) in distilled water, diluting the mixture in a volumetric flask to a total solution volume of V=0.500 LV = 0.500\text{ L} (500.0 mL500.0\text{ mL}) at 20∘C20^\circ\text{C}.

Calculate the resulting molar concentration (molarity, MM) of the solution in moles per liter (mol/L\text{mol/L}).


Step-by-Step Solution

Step 1: Identify Input Variables

  • Solute Mass (mm): 5.844 g5.844\text{ g}
  • Molar Mass (MwM_w): 58.44 g/mol58.44\text{ g/mol} (Sodium ≈22.99 g/mol\approx 22.99\text{ g/mol} + Chlorine ≈35.45 g/mol\approx 35.45\text{ g/mol})
  • Solution Volume (VV): 0.500 L0.500\text{ L} (500.0 mL500.0\text{ mL})

Step 2: Calculate Solute Moles (nn)

Divide the dissolved mass by the compound’s molar mass: n=mMw=5.844 g58.44 g/mol=0.100 moln = \frac{m}{M_w} = \frac{5.844\text{ g}}{58.44\text{ g/mol}} = 0.100\text{ mol}

The sample contains exactly 0.100 moles0.100\text{ moles} of dissolved NaCl\text{NaCl} (6.022×10226.022 \times 10^{22} formula units).


Step 3: Compute Molar Concentration (MM)

Apply the definition of molarity as moles of solute divided by total solution volume in liters: M=nV=0.100 mol0.500 L=0.200 mol/LM = \frac{n}{V} = \frac{0.100\text{ mol}}{0.500\text{ L}} = 0.200\text{ mol/L}

The resulting solution concentration is 0.200 mol/L0.200\text{ mol/L} (0.200 M0.200\text{ M}).


Step 4: Interpretation & Chemical Context

  • Solute Density: A concentration of 0.200 mol/L0.200\text{ mol/L} indicates that each liter of this solution contains 0.2000.200 moles of Na+\text{Na}^+ cations and 0.2000.200 moles of Cl−\text{Cl}^- anions in aqueous dissociation.
  • Volume Distinction: Molarity specifies volume of final solution, not volume of solvent added. The 5.844 g5.844\text{ g} of solid salt is first dissolved in a smaller amount of water (e.g. 350 mL350\text{ mL}) before bringing the final liquid meniscus exactly to the 500.0 mL500.0\text{ mL} mark.

Variables & Units Reference

Input parameters, calculated outputs, and supported SI/US customary units.

Mathematical Variables and Units Summary Table
Variable Symbol Parameter Name & Description Role Supported Units
mass Solute Mass (m) Mass of dissolved solute in grams. Input mg, g, kg, lb
molarMass Molar Mass (MW) Molecular weight of solute in grams per mole. Input g/mol
volume Solution Volume (V) Total volume of solution in Liters. Input mL, L, cm3, m3
result Molar Concentration (M) Molarity of the prepared solution in moles per Liter. Output mol/L
ℹ

Result Interpretation & Practical Meaning

Physical significance, evaluation guidelines, and domain context for the calculated output.

The computed molar concentration (M, in mol/L) defines the chemical amount of dissolved solute particles per unit volume of finished liquid solution. A 1.0 M solution contains exactly 1.0 mole (6.022 × 10²³ chemical formula units) dispersed within 1.0 liter of solution. Note that molarity is temperature-dependent because liquids expand thermally with temperature (causing molarity to drop slightly as volume expands), unlike temperature-invariant molality (mol/kg of solvent).

Theoretical Foundation of Molarity

Definition:
Molar concentration (molarity) quantifies the chemical abundance of a solute dissolved in solution, defined as M=nV=mMW⋅VM = \frac{n}{V} = \frac{m}{MW \cdot V}, where MM is molarity in mol/L\text{mol/L} (M\text{M}), nn is solute moles, mm is solute mass in grams, MWMW is molecular weight, and VV is volume in liters.

Molarity (MM), also termed molar concentration or substance concentration, is the standard metric of solute concentration in analytical chemistry, chemical engineering, biochemistry, and pharmacological formulation. It quantifies the number of moles of chemical solute (nn) dissolved per unit total volume of finished solution (VV) expressed in liters (L\text{L}):

M=nV=m/MwVM = \frac{n}{V} = \frac{m / M_w}{V}

Where:

  • MM: Molar concentration, expressed in moles per liter (mol/L\text{mol/L} or molar, denoted M\text{M}).
  • nn: Chemical amount of solute in moles (mol\text{mol}).
  • mm: Dissolved solute mass in grams (g\text{g}).
  • MwM_w: Solute molar mass (molecular weight) in grams per mole (g/mol\text{g/mol}).
  • VV: Total volume of the homogenous final solution in liters (L\text{L}).

By relating macroscopic mass measurements directly to Avogadro’s constant (NA≈6.022×1023 particles/molN_A \approx 6.022 \times 10^{23}\text{ particles/mol}), molarity provides the stoichiometric bridge enabling exact quantitative chemical reactions.


Molarity (MM) vs. Molality (mm): Temperature Sensitivity

A critical thermodynamic distinction exists between Molarity (mol/L of solution\text{mol/L of solution}) and Molality (mol/kg of pure solvent\text{mol/kg of pure solvent}):

  1. Volumetric Thermal Expansion: Liquids expand when heated according to their volumetric expansion coefficient (βwater≈2.1×10−4 K−1\beta_{\text{water}} \approx 2.1 \times 10^{-4}\text{ K}^{-1} at 20∘C20^\circ\text{C}). As temperature rises, solution volume VV increases, causing volumetric molarity (MM) to decrease slightly even though the absolute number of solute molecules remains constant.
  2. Precision Analytical Contexts: In colligative property investigations (such as boiling point elevation ΔTb=Kb⋅m\Delta T_b = K_b \cdot m and freezing point depression ΔTf=Kf⋅m\Delta T_f = K_f \cdot m), temperature-independent molality (mm) or mass-fraction percentages are required. For ambient bench chemistry (20∘C−25∘C20^\circ\text{C} - 25^\circ\text{C}), molarity serves as the universal laboratory standard.

Stock Dilution Principle (M1V1=M2V2M_1 V_1 = M_2 V_2)

When preparing dilute working reagents from concentrated commercial stock solutions, adding pure solvent leaves the total absolute number of solute moles unchanged (ninitial=nfinaln_{\text{initial}} = n_{\text{final}}):

n=M1⋅V1=M2⋅V2n = M_1 \cdot V_1 = M_2 \cdot V_2

Rearranging to solve for the required aliquot volume of stock reagent V1V_1:

V1=M2⋅V2M1V_1 = \frac{M_2 \cdot V_2}{M_1}

Where:

  • M1M_1: Concentration of concentrated stock reagent (mol/L\text{mol/L}).
  • V1V_1: Volume of stock reagent to be pipetted (L\text{L} or mL\text{mL}).
  • M2M_2: Target concentration of diluted working reagent (mol/L\text{mol/L}).
  • V2V_2: Total finished volume of target solution (L\text{L} or mL\text{mL}).

Step-by-Step Solved Engineering Example

Problem Scenario: A laboratory technician prepares a standard sodium chloride (NaCl\text{NaCl}) solution by dissolving m=5.844 gm = 5.844\text{ g} of analytical-grade salt in distilled water and diluting to a final solution volume of V=500 mLV = 500\text{ mL} (0.500 L0.500\text{ L}) at 20∘C20^\circ\text{C}.

  • Solute Mass: m=5.844 gm = 5.844\text{ g}
  • Molar Mass of NaCl\text{NaCl}: Mw=22.990 (Na)+35.453 (Cl)=58.443 g/mol≈58.44 g/molM_w = 22.990\text{ (Na)} + 35.453\text{ (Cl)} = 58.443\text{ g/mol} \approx 58.44\text{ g/mol}
  • Final Solution Volume: V=500 mL=0.500 LV = 500\text{ mL} = 0.500\text{ L}
  1. Calculate Solute Moles (nn): n=mMw=5.844 g58.44 g/mol=0.100 moln = \frac{m}{M_w} = \frac{5.844\text{ g}}{58.44\text{ g/mol}} = 0.100\text{ mol}

  2. Compute Molar Concentration (MM): M=nV=0.100 mol0.500 L=0.200 mol/LM = \frac{n}{V} = \frac{0.100\text{ mol}}{0.500\text{ L}} = 0.200\text{ mol/L}

  3. Laboratory Execution Protocol: Accurately weigh 5.844 g5.844\text{ g} of analytical grade NaCl\text{NaCl} on an analytical balance. Transfer to a 500 mL500\text{ mL} Class A volumetric flask, dissolve in approximately 350 mL350\text{ mL} of deionized water, invert to mix, and dilute with deionized water until the bottom of the meniscus touches the 500 mL500\text{ mL} calibration ring at 20∘C20^\circ\text{C}, yielding an exact 0.200 M0.200\text{ M} (mol/L\text{mol/L}) standard solution.


Standard Lookup Table: Concentrated Laboratory Reagents

The table below lists standard commercial stock concentrations for common analytical acids and bases at 20∘C20^\circ\text{C}:

Reagent NameChemical FormulaMolar Mass (MwM_w)Density (g/cm3\text{g/cm}^3)Assay Mass (%\%)Approximate Stock Molarity (MM)
Hydrochloric AcidHCl\text{HCl}36.46 g/mol36.46\text{ g/mol}1.191.1937.0%37.0\%12.1 M12.1\text{ M}
Nitric AcidHNO3\text{HNO}_363.01 g/mol63.01\text{ g/mol}1.421.4270.0%70.0\%15.8 M15.8\text{ M}
Sulfuric AcidH2SO4\text{H}_2\text{SO}_498.08 g/mol98.08\text{ g/mol}1.841.8496.0%96.0\%18.0 M18.0\text{ M}
Glacial Acetic AcidCH3COOH\text{CH}_3\text{COOH}60.05 g/mol60.05\text{ g/mol}1.051.0599.8%99.8\%17.5 M17.5\text{ M}
Phosphoric AcidH3PO4\text{H}_3\text{PO}_498.00 g/mol98.00\text{ g/mol}1.701.7085.0%85.0\%14.7 M14.7\text{ M}
Ammonium HydroxideNH4OH\text{NH}_4\text{OH}35.05 g/mol35.05\text{ g/mol}0.900.9028.0% (as NH3)28.0\%\text{ (as NH}_3\text{)}14.8 M14.8\text{ M}
Sodium HydroxideNaOH\text{NaOH}40.00 g/mol40.00\text{ g/mol}1.531.5350.0% aq50.0\%\text{ aq}19.1 M19.1\text{ M}

Critical Laboratory Pitfalls & Best Practices

  1. Volume of Solution vs. Volume of Solvent: Never add 500 mL500\text{ mL} of water directly to dry solute. Solute crystals displace physical volume. Adding 58.44 g58.44\text{ g} of NaCl\text{NaCl} to 1000 mL1000\text{ mL} of water yields roughly 1018 mL1018\text{ mL} of solution, producing an actual concentration of 0.982 M0.982\text{ M} instead of the intended 1.000 M1.000\text{ M}. Always dissolve first, then dilute to the final volumetric graduation line.

  2. The Acid Dilution Safety Rule: Always add concentrated acid to water, never water to acid. Hydration of concentrated sulfuric or nitric acid is violently exothermic (ΔHsoln≪0\Delta H_{\text{soln}} \ll 0). Adding a drop of water to concentrated acid can flash-boil the water instantly, splattering boiling acid outwards.

  3. Parallax and Meniscus Alignment: When reading a volumetric flask or burette, position your eye at the exact horizontal level of the liquid surface. Align the bottom of the concave meniscus with the calibration line for clear liquids.


Authoritative Academic & Industry References

  • IUPAC Compendium of Chemical Terminology (Gold Book) — Quantities, Units and Symbols in Physical Chemistry, International Union of Pure and Applied Chemistry.
  • NIST Standard Reference Materials (SRM 260) — Standard Practice for Preparation and Value Assignment of Chemical Calibration Solutions, National Institute of Standards and Technology.
  • Vogel’s Textbook of Quantitative Chemical Analysis (6th Edition) — Prentice Hall.

Mathematical Derivation & Formula

Theoretical formulation derived from standard physics and engineering textbooks and models.

Step-by-Step Mathematical Proof

Step 1

Convert Solute Mass to Molar Quantity

n=mMwn = \frac{m}{M_w}

Dividing solute mass m (grams) by chemical molar mass Mw (g/mol) yields total moles n.

Step 2

Evaluate Volumetric Molar Concentration

M=nV=mMw×VM = \frac{n}{V} = \frac{m}{M_w \times V}

Dividing solute moles by total solution volume V (liters) yields molarity in mol/L.

Common Engineering & Calculation Pitfalls

Frequent calculation errors, unit confusion, and model boundary conditions.

Adding Solvent Volume instead of Diluting to Final Volume

Why it happens: Adding 1.0 L of water directly to dry solute powder rather than bringing total solution volume to 1.0 L.

Correct approach: Dissolve solute in partial solvent first, then top off to the volumetric flask calibration ring.

Confusing Anhydrous Salt with Hydrated Crystal Molecular Weights

Why it happens: Weighing copper sulfate pentahydrate (CuSO₄·5H₂O) using the anhydrous CuSO₄ molar mass.

Correct approach: Include the molecular mass of bound water of crystallization when computing mass requirements.

Confusing Molarity (mol/L) with Molality (mol/kg)

Why it happens: Treating solution volume in liters as identical to solvent mass in kilograms.

Correct approach: Use molarity (M) for volumetric laboratory dispensing; use molality (m) for colligative thermodynamics.

Real-World Engineering Applications

Industry deployment scenarios, practical design constraints, and field applications.

Analytical Chemistry

Standardized Volumetric Titration

Preparing acid-base standard reagents of exact known stoichiometry for quantitative sample assay.

Biomedical & Life Sciences

Buffer & Physiological Saline Preparation

Formulating isotonic physiological saline (0.154 M NaCl) and cell culture media.

Frequently Asked Questions

Technical explanations grounded in governing physical laws and textbook derivations.

Frequently Asked Questions

What causes molarity to vary with temperature while molality remains constant?

Molarity (M=n/VM = n / V) depends on the total solution volume VV, which expands or contracts with changes in ambient temperature according to the solvent’s volumetric thermal expansion coefficient (β\beta). In aqueous solutions, heated water expands, increasing total volume and causing the apparent molarity to decrease even though the mass of solute is unchanged. In contrast, molality (b=n/msolventb = n / m_{\text{solvent}}) expresses moles per kilogram of solvent mass, which is an invariant scalar under thermal fluctuations. For precision analytical work across fluctuating environmental conditions, molality or temperature-standardized volumetric flasks are mandatory.

How does the dilution formula M1V1=M2V2M_1 V_1 = M_2 V_2 derive from fundamental conservation laws?

The dilution equation directly expresses the conservation of solute mass. In any closed dilution process where pure solvent is added, the total number of solute moles (nn) remains strictly constant (n1=n2n_1 = n_2). Because molarity is defined as M=n/VM = n / V, multiplying molarity by volume yields the exact molar quantity: n=M×Vn = M \times V

Setting initial solute quantity equal to final solute quantity yields: M1V1=M2V2M_1 V_1 = M_2 V_2

This principle assumes complete chemical stability without solute precipitation, phase separation, or secondary reactions during dilution.

Why must solid solutes be dissolved before filling to the final volumetric mark?

Liquid mixing often exhibits non-ideal thermodynamic behavior known as volume contraction or expansion on mixing (excess molar volume, VE≠0V^E \neq 0). For example, when solid crystals dissolve or when concentrated acids blend with water, strong intermolecular hydrogen bonding and ion-dipole hydration shells pull solvent molecules closer together than in pure water. If you were to add 1000 mL1000\text{ mL} of water directly to 100 g100\text{ g} of salt, the final volume would not equal 1000 mL1000\text{ mL}. To achieve an exact analytical concentration, chemists dissolve the solute in a fraction of solvent (e.g., 60−80%60-80\% of target volume) inside a calibrated volumetric flask, allow thermal equilibration to 20∘C20^\circ\text{C}, and then make up to the etched meniscus calibration line.

In what scenarios does normality differ from molarity in chemical reactions?

Normality (NN) measures reactive equivalence per liter rather than raw molecular count (N=M×neqN = M \times n_{\text{eq}}), where neqn_{\text{eq}} represents the number of reactive equivalents transferred per molecule. In monoprotic acid reactions such as HCl\text{HCl}, one mole donates one proton, meaning 1 M HCl=1 N HCl1\text{ M } \text{HCl} = 1\text{ N } \text{HCl}. However, for sulfuric acid (H2SO4\text{H}_2\text{SO}_4) undergoing full diprotic neutralization, each mole provides two protons (neq=2n_{\text{eq}} = 2), making a 0.5 M0.5\text{ M} solution equal to 1.0 N1.0\text{ N}. Similarly, in redox reactions, neqn_{\text{eq}} equals the number of electrons gained or lost by the oxidant or reductant. Molarity describes molecular species inventory, whereas normality reflects functional stoichiometric capacity.

Academic References & Textbooks

Curated academic sources, engineering textbooks, and relevant technical references.

  • Fundamentals of Analytical Chemistry (9th Edition)
    Authors: Douglas A. Skoog, Donald M. West, F. James Holler, Stanley R. Crouch • Source: Cengage Learning • Year: 2013
  • IUPAC Compendium of Chemical Terminology (Gold Book)
    Authors: International Union of Pure and Applied Chemistry • Source: IUPAC • Year: 2019