Skip to content
CalculatorPro — Free Online Calculators

Molarity Calculator — Free Solution Concentration Tool

Calculate the molar concentration of a chemical solution from mass, volume, and molar mass, giving you the exact molarity needed for accurate lab work.

ByEditorial Team, Chemistry Updated Jun 7, 20262026 verified Methodology

About this calculator

Molarity Calculator

Comprehensive Guide

In chemistry, simply knowing that a substance is dissolved in water isn't enough; you must know exactly how concentrated that solution is.

Molarity (M) is the standard unit of concentration in the laboratory. It represents the number of moles of a solute dissolved in exactly one liter of solution. The Molarity Calculator streamlines the complex stoichiometry required to prepare chemical solutions, instantly bridging the gap between physical mass (grams) and chemical concentration (moles per liter).

How to Use the Molarity Calculator

Follow these simple steps to calculate your figures:

  • Solute Mass (m in grams): Weight of solid compound or pure reagent to dissolve.
  • Molar Mass (MW in g/mol): Molecular weight of compound (e.g. NaCl = 58.44 g/mol).
  • Solution Volume (V in Liters or mL): Final total volume of liquid solution.
  • Molarity (M or C in mol/L or M): Molar concentration (M = m / (MW × V)).
  • View Instant Results: Review the calculation summary card, breakdown table, and visual charts.

The Calculator Formulas

The calculation requires two distinct steps: converting physical grams into chemical moles, and then dividing by the volume.

Step 1: Convert Mass to Moles

Moles of Solute = Mass (g) / Molar Mass (g/mol)

Step 2: Calculate Molarity

Molarity (M) = Moles of Solute / Volume of Solution (Liters)

Combined Equation:

Molarity = Mass / (Molar Mass * Volume)

Practical Examples

Scenario 1: Preparing Saline You need to prepare a solution using 58.44 grams of Sodium Chloride (NaCl). The molar mass of NaCl is 58.44 g/mol. You dissolve it in a volumetric flask until the total volume is exactly 1.0 Liter.

  1. Moles = 58.44g / 58.44 g/mol = 1.0 Mole
  2. Molarity = 1.0 Mole / 1.0 Liter = 1.0 M Result: You have successfully created a 1.0 Molar (1.0M) solution of NaCl.

Scenario 2: Finding Required Mass Your chemistry professor asks you to prepare 0.5 Liters of a 2.0 M solution of Glucose (Molar mass: 180.16 g/mol). How many grams of glucose must you weigh out on the scale?

  • Reverse the formula: Mass = Molarity * Volume * Molar Mass
  • Mass = 2.0 * 0.5 * 180.16
  • Mass = 180.16 grams Result: You must weigh out 180.16g of Glucose and dissolve it to the 500mL mark.

Suppose you want to prepare a 0.50 M solution of Sodium Chloride (NaCl, (MW = 58.44 \text{ g/mol})) in a 250 mL (0.250 L) volumetric flask:

  1. Required Moles: (n = M \times V = 0.50 \text{ M} \times 0.250 \text{ L} = \mathbf{0.125 \text{ moles}})
  2. Required Mass to Weigh: (m = n \times MW = 0.125 \text{ mol} \times 58.44 \text{ g/mol} = \mathbf{7.305 \text{ grams of NaCl}})
  3. Lab Protocol: Weigh 7.305g NaCl, dissolve in ~150 mL DI water, then dilute up to the 250 mL meniscus line.

Key Concepts & Essential Terminology

Volumetric Chemistry Metrology & Molar Concentration DynamicsIUPAC Molarity Foundations (M = mol/L), Meniscus Calibration, and Stock Dilution Equations (M₁V₁ = M₂V₂)Volumetric Flask Solution Geometry (1.000 L at 20°C)Etched Ring (1.000 L)Bottom of MeniscusM = n / V = (m / MW) / VConservation of Chemical Amount: M₁V₁ = M₂V₂Stock Solution (1)M₁ = 12.0 MConcentrated ReagentV₁ = 83.3 mL Aliquot+Working Buffer (2)M₂ = 1.00 MTarget ConcentrationV₂ = 1000 mL TotalExothermic Heat of Dissolution Protocol:"Always Add Acid to Water" (AA). Adding water directly to concentratedH₂SO₄ causes localized boiling, explosive steam vaporization & acid spatter.Fundamental Molarity Formulas:• Solute Mass: m = M × V × MW (grams)• Stock Aliquot: V₁ = (M₂ × V₂) / M₁ (liters or mL)

In analytical, organic, and clinical biochemistry, molarity ($M$) represents the most ubiquitous concentration metric for quantifying dissolved chemical species in solution. Defined rigorously by the International Union of Pure and Applied Chemistry (IUPAC), molarity denotes the number of moles of solute dissolved per liter of total solution volume:

Molarity (M) = Moles of Solute (n) / Volume of Solution in Liters (V)
Moles (n) = Mass of Solute (m, in grams) / Molecular Weight (MW, in g/mol)
Mass Required (m) = Molarity (M) × Volume (L) × Molecular Weight (g/mol)

Because solution volume constitutes the denominator—rather than pure solvent mass—molarity depends directly on total combined system volume after dissolution, accounting for solute displacement and solvent expansion or contraction.

Comparison of Solution Concentration Units

Analytical chemistry utilizes multiple overlapping concentration metrics depending on whether temperature stability or gas-phase partial pressure governs the reaction:

  1. Molarity ($M$ or $\text{mol/L}$): Temperature-dependent because liquids expand or contract with temperature fluctuations. Standard volumetric glassware is calibrated at $20^\circ\text{C}$.
  2. Molality ($m$ or $\text{mol/kg}$): The number of moles of solute per kilogram of pure solvent. Because mass is invariant to thermal expansion, molality is the mandatory thermodynamic metric for calculating colligative properties (boiling point elevation $\Delta T_b = K_b m$ and freezing point depression $\Delta T_f = K_f m$).
  3. Normality ($N$): Molarity multiplied by the chemical equivalence factor ($n_{\text{eq}}$), representing the concentration of reactive equivalents (protons $\text{H}^+$ in acid-base titrations or electrons $e^-$ in redox reactions). For diprotic sulfuric acid ($\text{H}_2\text{SO}_4$), a $1.0\text{ M}$ solution equals $2.0\text{ N}$.
  4. Mass Percentage (% w/w): The grams of solute per $100\text{ g}$ of total solution. Concentrated commercial liquid acids (e.g., $37%;\text{HCl}$, $98%;\text{H}_2\text{SO}_4$) are supplied by chemical manufacturers in weight-percent specifications.

Master Commercial Reagent Concentrations Matrix

Preparing laboratory reagents from concentrated commercial stocks requires converting percent assay (% w/w) and specific gravity (density in $\text{g/mL}$) to molarity:

Molarity (M) = [Density (g/mL) × % Assay × 1000] / Molecular Weight (g/mol)

The following reference table outlines the standardized specifications for common analytical-grade concentrated stocks at $20^\circ\text{C}$:

Chemical Reagent Chemical Formula Molecular Weight (g/mol) Typical Assay (% w/w) Specific Gravity (g/mL) Stock Molarity ($M$) Volume for 1.0 L of 1.0 M Solution
Hydrochloric Acid $\text{HCl}$ 36.46 g/mol 37.0% 1.19 g/mL 12.1 M 82.6 mL
Sulfuric Acid $\text{H}_2\text{SO}_4$ 98.08 g/mol 96.0% 1.84 g/mL 18.0 M 55.6 mL
Nitric Acid $\text{HNO}_3$ 63.01 g/mol 70.0% 1.42 g/mL 15.8 M 63.3 mL
Glacial Acetic Acid $\text{CH}_3\text{COOH}$ 60.05 g/mol 99.7% 1.05 g/mL 17.4 M 57.5 mL
Phosphoric Acid $\text{H}_3\text{PO}_4$ 98.00 g/mol 85.0% 1.69 g/mL 14.7 M 68.0 mL
Ammonium Hydroxide $\text{NH}_4\text{OH}$ ($%\text{NH}_3$) 35.05 g/mol 28.0% 0.90 g/mL 14.8 M 67.6 mL
Sodium Hydroxide (sat.) $\text{NaOH}$ 40.00 g/mol 50.0% 1.53 g/mL 19.1 M 52.4 mL

Common Biological Buffer Systems & Target Molarities

Biological assays require precise physiological pH buffering to preserve enzymatic conformation and macromolecular integrity:

Buffer System Target pH Range ($25^\circ\text{C}$) Typical Working Molarity Key Components Biological Applications
PBS (Phosphate-Buffered Saline) 7.2 – 7.6 10 mM $\text{PO}_4^{3-}$, 137 mM $\text{NaCl}$ $\text{Na}_2\text{HPO}_4$, $\text{KH}_2\text{PO}_4$, $\text{NaCl}$, $\text{KCl}$ Mammalian cell culture, Western blot wash, immunohistochemistry
Tris-HCl Buffer 7.0 – 9.0 50 mM – 100 mM Tris base, $\text{HCl}$ DNA/RNA extraction, protein electrophoresis, enzymatic assays
TAE Buffer (Tris-Acetate-EDTA) 8.0 – 8.3 40 mM Tris, 20 mM Acetic, 1 mM EDTA Tris base, Glacial Acetic Acid, EDTA disodium Agarose gel electrophoresis for double-stranded DNA resolution
TE Buffer 8.0 10 mM Tris, 1 mM EDTA Tris-HCl, $\text{Na}_2\text{EDTA}$ Genomic DNA and plasmid long-term cryopreservation storage
HEPES Buffer 6.8 – 8.2 10 mM – 25 mM HEPES free acid or sodium salt Live-cell fluorescence imaging, respiration studies

Volumetric Temperature Expansion & Metrology Protocols

Class A volumetric glassware (ASTM E288 / ISO 1042) is calibrated at precisely $20^\circ\text{C}$. Temperature variances affect solution molarity through two physical mechanisms:

  1. Solvent Thermal Expansion: Aqueous solutions expand at elevated temperatures according to the volumetric coefficient of thermal expansion for water ($\beta \approx 2.1 \times 10^{-4};\text{K}^{-1}$ at $20^\circ\text{C}$, rising to $3.0 \times 10^{-4};\text{K}^{-1}$ at $30^\circ\text{C}$). A solution prepared at $20^\circ\text{C}$ will experience a $0.21%$ decrease in molarity if used at $30^\circ\text{C}$ due to volumetric expansion alone.
  2. Glassware Expansion: Borosilicate glass 3.3 has a minimal linear expansion coefficient ($\alpha = 3.3 \times 10^{-6};\text{K}^{-1}$), causing less than $0.01%$ volume change over a $10^\circ\text{C}$ temperature span.

Empirical Benchmarks & Laboratory Safety Rules

  • Heat of Hydration & Dilution Protocol: Dissolving solid sodium hydroxide pellets ($\text{NaOH}$) in water releases an intense molar enthalpy of solution ($\Delta H_{\text{soln}} = -44.51;\text{kJ/mol}$). Dissolving $40\text{ g}$ of $\text{NaOH}$ in $100\text{ mL}$ of room-temperature water will cause the temperature to spike past $80^\circ\text{C}$. Always dissolve exothermic solutes in a beaker over an ice bath, allow thermal equilibration to $20^\circ\text{C}$, and then transfer quantitatively to the volumetric flask.
  • The "Add Acid to Water" (AA) Directive: Concentrated sulfuric acid has a catastrophic hydration energy ($\Delta H = -95.3;\text{kJ/mol}$). Pouring water into concentrated acid causes localized steam generation, explosive boiling, and corrosive chemical splattering. Never pour water into concentrated acid.
  • Osmotic Pressure Generation: A $1.0\text{ M}$ aqueous solution of non-dissociating glucose exerts an osmotic pressure of $\Pi = M R T = 1.0 \times 0.08206 \times 298.15 \approx 24.5\text{ atmospheres}$ ($2.48\text{ MPa}$) across a semipermeable membrane. For a $1.0\text{ M}$ sodium chloride solution ($i \approx 1.9$), the osmotic pressure exceeds $46.5\text{ atmospheres}$.

For complementary scientific tools, explore our molecular weight calculator, density calculator, volume converter, and temperature converter.

Common Molarity Mistakes to Avoid

  1. Adding Solute to Final Volume of Solvent: Molarity is moles per liter of total solution, not per liter of solvent added.
  2. Forgetting Hydrate Water Molecules: Using anhydrous molecular weight (e.g. 159.60 g/mol for CuSO₄) when using pentahydrate salt (249.68 g/mol).
  3. Confusing Molarity (M = mol/L) with Molality (m = mol/kg solvent): Molarity varies with temperature due to volumetric liquid expansion; molality does not.
  4. Measuring Volume Before Temperature Equilibrium: Hot or cold solutions alter liquid volume, distorting final volumetric flask concentration.
  5. Failing to Account for Reagent Purity %: Using 95% pure chemical without dividing by 0.95 underweighs required active solute.
  6. Confusing Concentrated Stock Acids with Pure Solutes: Concentrated HCl is ~37% w/w (~12.1 M); use dilution law ((C_1 V_1 = C_2 V_2)) for liquid acid stock.

Frequently Asked Questions

What is molarity and what are its units?

Molarity (M) is the concentration of a solution expressed as the number of moles of solute per liter of solution. Its unit is mol/L, often written simply as M (molar). For example, a 2 M solution of NaCl contains 2 moles of sodium chloride dissolved in exactly 1 liter of final solution — not 1 liter of water.

What is the molarity formula?

The core formula is: Molarity (M) = Moles of Solute / Liters of Solution. To find moles from grams, divide the mass by the molar mass of the compound (g/mol). The calculator handles both steps: you can enter mass in grams along with the molecular formula or molar mass, and it converts to moles automatically before computing concentration.

What inputs does this calculator require?

You can solve for any unknown by providing the other two variables:

  • Moles of solute (or grams + molar mass)
  • Volume of solution (in liters or milliliters)
  • Molarity (if solving for volume or moles)

The calculator supports three modes: solve for molarity, solve for moles, or solve for volume.

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution and changes slightly with temperature because liquids expand when heated. Molality (m) is moles of solute per kilogram of solvent and is temperature-independent. Molarity is standard for most lab work; molality is used in colligative property calculations like boiling point elevation.

How do I use this for dilution calculations?

For dilutions, use the relationship M₁V₁ = M₂V₂, where M₁ and V₁ are the concentration and volume of the stock solution, and M₂ and V₂ are the desired values after dilution. Enter any three of these four values and the calculator solves for the fourth, making it easy to prepare solutions of a specific concentration from a more concentrated stock.

What is a 'Mole'?

A mole is the chemical "dozen." Just as a dozen represents exactly 12 items, a Mole (Avogadro's Number) represents exactly $6.022 * 10^{23}$ atoms or molecules. Molarity is simply a count of how many molecules are floating in a liter of water.

Why must I add water 'to the mark' on the flask?

If you put 1 liter of water in a beaker, and then pour in a massive pile of salt, the salt will physically displace the water, and your total volume will be greater than 1 liter. Molarity dictates the volume of the entire solution. You must add the salt first, and then add water until the total combined volume reaches exactly 1 liter.

How do I dilute a stock solution?

If you have a highly concentrated stock solution and want to dilute it, use the classic dilution equation: $M1 * V1 = M2 * V2$. (Initial Molarity * Initial Volume = Final Molarity * Final Volume).

Conclusion

Using the Molarity Calculator provides essential chemical clarity, helping students, lab technicians, and researchers perform accurate calculations, solution preparations, and stoichiometric analysis.

Sources & References

Technical & General Calculation Disclaimer

This calculation tool applies standard mathematical, scientific, or engineering formulas. While designed for precision, output values are estimates and should be independently verified for commercial, structural, or safety-critical applications.

Comments

Sign in to leave a comment.

Loading comments…