NOTACAL logo

Molarity Calculator

Molarity Calculator

Introduction

Molarity, also known as molar concentration, is one of the most widely used measures of concentration in chemistry. It expresses the number of moles of a solute dissolved in one liter of solution and carries the unit mol/L, commonly abbreviated as M (read as "molar"). Molarity is fundamental to virtually every area of chemistry, from analytical laboratory work to industrial chemical processing. Understanding how to calculate and manipulate molar concentrations is essential for students, researchers, and professionals working with chemical solutions.

A 1.0 M solution of sodium chloride (NaCl), for instance, contains exactly one mole of dissolved NaCl per liter of solution. Molarity is preferred over mass-based concentration measures because chemical reactions occur on a mole-to-mole basis, making it indispensable for titration calculations, reaction stoichiometry, and standard solution preparation in analytical and preparative chemistry. The ability to convert between mass, moles, and concentration using molarity is a core skill in chemistry that underpins everything from simple acid-base titrations to complex multi-step syntheses.

This calculator supports four modes of operation: computing molarity from moles and volume, computing moles from molarity and volume, computing solution volume from moles and molarity, and performing dilution calculations using the relationship M1V1 = M2V2. It also accepts solute mass and molecular weight to automatically convert mass to moles before applying the molarity formula. This flexibility makes it suitable for a wide range of laboratory applications, from preparing standard solutions for calibration to calculating required volumes for chemical reactions. The calculator handles all unit conversions automatically, allowing you to focus on the chemistry rather than the arithmetic. Whether you are a student learning stoichiometry, a researcher preparing reagents, or a quality control technician performing routine analysis, this calculator streamlines your workflow and reduces the risk of calculation errors. The four calculation modes cover the most common scenarios encountered in wet chemistry laboratories, and the dilution calculator is particularly useful for preparing working solutions from concentrated stock solutions. All results are displayed with appropriate significant figures and units for immediate use in your laboratory work.

How to Use

  1. Select the calculation mode from the dropdown menu. Choose one of "Find Molarity," "Find Moles," "Find Volume," or "Dilution" depending on what you need to calculate.
  2. Enter the known values based on the selected mode: Find Molarity — provide solute mass (g) and molecular weight (g/mol), or enter moles directly, along with solution volume (L). Find Moles — provide molarity (M) and volume (L). Find Volume — provide molarity (M) and moles, or enter mass and molecular weight instead. Dilution — provide initial molarity (M1), initial volume (V1), and desired final molarity (M2) or final volume (V2).
  3. Click Calculate to compute the result. The answer appears in the appropriate unit — mol/L (M), moles, liters, or grams.
  4. If using mass input, verify that the molecular weight is correct for your compound. Hydrated salts require including water molecules in the molecular weight.
  5. Review the result and use it directly in your laboratory work. The calculator rounds to four significant figures for practical use.

Formulas and Calculations

Molarity Formula

The fundamental definition of molarity (M) is the number of moles of solute (n) divided by the volume of solution (V) in liters: M = n / V

Where: M = molarity (mol/L or M), n = moles of solute (mol), V = volume of solution (L)

Converting Mass to Moles

When solute mass and molecular weight are known instead of moles directly: n = m / Mw

Where: m = mass of solute (g), Mw = molecular weight or molar mass of the solute (g/mol)

Combining with the molarity formula gives: M = m / (Mw x V)

Dilution Formula

When a solution of known concentration is diluted by adding more solvent, the number of moles of solute remains constant while the volume increases. This yields the dilution equation: M1 x V1 = M2 x V2

Where: M1 = initial (stock) molarity (mol/L), V1 = initial volume (L), M2 = final (desired) molarity (mol/L), V2 = final volume (L)

To determine the volume of stock solution needed, rearrange as: V1 = (M2 x V2) / M1

Rearranged Forms

UnknownFormula
MolarityM = n / V
Molesn = M x V
VolumeV = n / M

Worked Example: Preparing 0.5 M NaCl Solution

Suppose you need to prepare 250 mL of a 0.5 M NaCl solution. Sodium chloride has a molar mass of 58.44 g/mol.

Step 1: Convert volume to liters. V = 250 mL = 0.250 L

Step 2: Calculate moles needed. n = M x V = 0.5 mol/L x 0.250 L = 0.125 mol

Step 3: Convert moles to mass. m = n x Mw = 0.125 mol x 58.44 g/mol = 7.305 g

Result: Weigh 7.305 g of NaCl, dissolve in approximately 200 mL of distilled water, then add water to bring the total volume to exactly 250 mL in a volumetric flask to obtain a 0.5 M NaCl solution.

Worked Example: Dilution

You have a 6.0 M stock solution of HCl and need 100 mL of 1.5 M HCl.

Step 1: Apply the dilution formula. V1 = (M2 x V2) / M1 = (1.5 M x 100 mL) / 6.0 M = 25 mL

Result: Pipet 25 mL of the 6.0 M stock HCl into a 100 mL volumetric flask and dilute to the mark with distilled water.

Reference Tables

Common Laboratory Acids and Bases

SubstanceFormulaCommon Stock ConcentrationMolar Mass (g/mol)
Hydrochloric acidHCl12.1 M (conc.)36.46
Sulfuric acidH2SO418.4 M (conc.)98.08
Nitric acidHNO315.8 M (conc.)63.01
Acetic acidCH3COOH17.4 M (glacial)60.05
Ammonium hydroxideNH4OH14.8 M (conc.)35.05
Sodium hydroxideNaOH19.4 M (50% w/w)40.00

Concentration Unit Conversion Reference

UnitSymbolDefinitionBest Used For
MolarityMmol solute / L solutionGeneral chemistry, titrations
Molalitymmol solute / kg solventPhysical chemistry, temperature-independent work
NormalityNequivalents / LAcid-base and redox titrations
Mass percent% w/w(g solute / g solution) x 100Industrial and clinical chemistry
Parts per millionppm(mg solute / L solution)Environmental and trace analysis

Practical Tips

Always Use a Volumetric Flask: For accurate molarity calculations, prepare solutions in volumetric flasks rather than graduated cylinders or beakers. Volumetric flasks are calibrated to contain a precise volume at a specific temperature and are essential for quantitative work. Always read the meniscus at eye level for accurate volume measurement.

Account for Hydrates: When using hydrated salts, ensure your molecular weight includes the water molecules. For example, CuSO4.5H2O has a different molar mass than anhydrous CuSO4, and using the wrong value will significantly affect your concentration calculations. Always check the label on your chemical bottle to confirm the hydration state before weighing.

Temperature Matters: Molarity is temperature-dependent because liquid volume expands and contracts with temperature. For the most accurate work, prepare solutions at the temperature at which they will be used. If you need temperature-independent concentration measurements, consider using molality (moles per kilogram of solvent) instead.

Significant Figures: When recording results, match the precision of your measurements. Using more decimal places than your equipment can measure creates false precision. A standard analytical balance measures to 0.0001 g, while a top-loading balance typically measures to 0.01 g.

Limitations

  • Calculations assume ideal solution behavior — the total volume of the solution is treated as the volume of solvent plus solute with no volume change upon mixing. In practice, some solutions exhibit non-additive volumes due to intermolecular interactions.
  • Valid for aqueous solutions at or near standard conditions (25 degrees C, 1 atm). Temperature changes affect solution density and therefore volume, which alters molarity.
  • Does not account for partial dissociation, ion pairing, or activity coefficients. For strong electrolytes at moderate concentrations, the effective (active) concentration may differ from the nominal molarity.
  • Molarity is temperature-dependent because liquid volume changes with temperature. For work requiring temperature-independent concentration, consider using molality (mol/kg) instead.
  • Precision is limited to four significant digits in displayed results. For more precise work, use laboratory-grade glassware and balances.
  • The calculator assumes complete dissociation of solutes. For weak acids and bases that only partially dissociate, the actual concentration of ions in solution will be lower than the calculated molarity. This is particularly important when calculating pH or conducting titrations with weak electrolytes.
  • Serial dilutions performed using this calculator assume ideal mixing at each step. In practice, cumulative errors can occur when performing multiple dilutions sequentially, so preparing solutions directly from stock is preferred when possible.

Frequently Asked Questions

What is molarity and how is it calculated?
Molarity (M) is moles of solute per liter of solution: M = mol / L. It is the most common concentration unit in chemistry.
How do I calculate moles needed for a specific molarity?
mol = M x L. Multiply desired molarity by volume in liters.
What units should I use for volume?
Volume must be in liters. If you have mL, divide by 1000 first.
Can I calculate the volume needed to reach a target molarity?
Yes, V = mol / M. Divide moles by desired molarity.
What is the difference between molarity and molality?
Molarity is moles per liter of solution. Molality is moles per kg of solvent. Molarity changes with temperature; molality does not.

References

  • International Union of Pure and Applied Chemistry. Quantities, Units and Symbols in Physical Chemistry (IUPAC Green Book). 3rd ed. IUPAC & RSC Publishing, 2007.
  • Harris, D. C. Quantitative Chemical Analysis. 10th ed. W. H. Freeman, 2020.
  • Zumdahl, S. S. & Zumdahl, S. A. Chemistry. 10th ed. Cengage Learning, 2017.
  • Atkins, P. & de Paula, J. Atkins' Physical Chemistry. 11th ed. Oxford University Press, 2018.

Last updated: May 12, 2026