Calculatorbudy Official Logo
Browse Calculators

Molarity Calculator

Instantly calculate molarity (M), mass, or volume for your chemistry solutions.

Last updated: March 2026

This tool helps chemistry students, researchers, and lab technicians quickly determine the precise molar concentration of a solution. By inputting your solute's mass, its molar mass, and the final solution volume, you can calculate the exact molarity instantly without performing manual unit conversions.

This tool is designed to simplify molarity calculations by removing manual unit conversions and reducing calculation errors in laboratory work.

Weight of the dissolved substance.
Molecular weight in g/mol.
Total volume of the final liquid mixture.

When Should You Use This Tool?

This calculator is built for practical, everyday laboratory and academic tasks. Typical use cases include:

  • Preparing Acid-Base Titrations: Quickly calculating the exact concentration of standard solutions required for laboratory experiments.
  • Formulating Biological Assays: Ensuring correct molar concentrations when diluting stock solutions for cell culture media or buffer solutions.
  • Verifying Academic Coursework: Checking homework assignments or stoichiometric calculations for high school and university chemistry classes.
  • Industrial Chemical Mixing: Precisely formulating chemical baths used in manufacturing, water treatment, or photography development.
  • Pharmaceutical Preparation: Ensuring precise concentrations when preparing drug solutions or chemical formulations.

How This Calculator Works

Operating this tool requires no advanced formulas. You simply input the physical weight of the substance you are dissolving (the solute), its known molecular weight (molar mass), and the total liquid volume of the final mixture. The calculator automatically converts any non-standard units—such as milligrams, ounces, or gallons—into standard scientific units (grams and liters). It then divides the mass by the molar mass to find the total moles, and divides those moles by the volume to present your final concentration in moles per liter (M).

Limitations & Accuracy

Note on accuracy: This tool assumes ideal solution behavior where volumes are perfectly additive. In highly concentrated physical mixtures, adding a solid solute to a solvent can slightly alter the total volume, meaning the final volume should always be measured after dissolution in a volumetric flask. Ensure your molar mass input is highly accurate, and remember that liquid volume is temperature-dependent; significant temperature fluctuations in a lab setting can subtly affect the final molarity.

Understanding Chemical Concentration: What is Molarity?

Molarity, typically denoted by the capital letter M, is one of the most widely utilized units of concentration in the scientific field. It is formally defined as the number of moles of solute dissolved per one liter of total solution.

Unlike molality (m) or normality (N), molarity focuses specifically on the volume of the final solution rather than just the solvent alone. This makes it incredibly convenient for measuring out liquids using volumetric flasks, pipettes, or graduated cylinders.

The Molarity Formula

The core equation for calculating molarity is straightforward, provided your units are correct:

M = n / V

Where:

  • M = Molarity (molar concentration) measured in mol/L.
  • n = Number of moles of the solute.
  • V = Volume of the total solution measured in Liters (L).

Step-by-Step Manual Calculation Example

While the calculator above automates the math, understanding the manual calculation is essential. Here is a practical example: Dissolving 5 grams of Table Salt (NaCl) into enough water to make 500 mL of solution.

  1. Determine Molar Mass: Sodium (Na) is ~22.99 g/mol, and Chlorine (Cl) is ~35.45 g/mol. The combined molar mass of NaCl is 58.44 g/mol.
  2. Calculate Moles: Divide the given mass by the molar mass (5g / 58.44 g/mol = 0.08556 moles).
  3. Convert Volume to Liters: Convert 500 mL by dividing by 1000, yielding 0.5 Liters.
  4. Solve for Molarity: Divide the moles by the liters (0.08556 mol / 0.5 L = 0.171 M).

Molarity vs. Molality

A frequent source of confusion is the distinction between Molarity (M) and Molality (m):

  • Molarity (M): Measures moles of solute per Liter of solution. It is volume-dependent and will fluctuate slightly with significant temperature changes due to liquid expansion/contraction.
  • Molality (m): Measures moles of solute per Kilogram of solvent. This is strictly mass-dependent and remains constant regardless of temperature shifts.

Frequently Asked Questions

Does this calculator handle unit conversions for me?

Yes. You can input your mass in milligrams, kilograms, ounces, or pounds, and your volume in milliliters, microliters, or gallons. The tool processes these inputs and converts them to standard grams and liters automatically before computing the final molarity.

What if I already know the number of moles instead of the mass?

This specific tool is optimized for laboratory setups where you are weighing a physical mass on a scale. If you already know the exact mole count, you can bypass the mass input entirely and manually divide your mole value by your solution volume (in liters) on a basic calculator to find the molarity.

Can I use this tool for liquid solutes?

Yes, provided you know the exact mass (weight) of the liquid solute you are adding. If you only know the volume of the liquid solute being added, you must first multiply that volume by the liquid's density to find its mass before using this calculator.

How are the results rounded in the output?

To balance precision and readability, the calculator formats results to six significant digits. Exceptionally small or large numbers (below 1e-6 or above 1e4) are automatically converted into scientific exponential notation.

About this Tool: Designed by the Calculatorbudy team, this educational utility helps students, researchers, and professionals perform complex chemical concentration conversions accurately and efficiently.