Calculators PlanetCalculators Planet
HomeFinancialMathHealthOtherBlogAboutContact
Calculators PlanetCalculators Planet

Fast, accurate, and user-friendly online calculators for all your needs.

Financial

  • Mortgage Calculator
  • Amortization Calculator
  • Mortgage Payoff Calculator
  • House Affordability Calculator
  • Rent Calculator

Math

  • Decimal to Fraction Calculator
  • Significant Figures Calculator
  • Percentage Calculator
  • Fraction Calculator
  • Ratio Calculator

Health

  • BMI Calculator
  • Ideal Weight Calculator
  • Body Fat Calculator
  • Calorie Calculator
  • Macro Calculator

Other

  • Age Calculator
  • Date Calculator
  • Time Calculator
  • Hours Calculator
  • Time Card Calculator

2026 Calculators Planet. All rights reserved.

BlogAboutContactPrivacy PolicyCookie PolicyTerms of ServiceDisclaimer
Calculators PlanetCalculators Planet
HomeFinancialMathHealthOtherBlogAboutContact
HomeOtherMolarity Calculator

Molarity Calculator

Calculate molarity, moles, or volume of a solution using M = n / V. Includes an optional mass-to-moles converter for preparing solutions from solid reagents.

Share:
Molarity Calculator
Molarity (M) = Moles (n) / Volume (V in L)

Optional: Convert Mass to Moles

Result
Enter values to calculate molarity

What Is Molarity?

Molarity is a measure of the concentration of a solute in a solution. It tells you how many moles of a substance are dissolved in one liter of solution. It is the most commonly used concentration unit in chemistry because it directly relates to the number of molecules involved in a reaction.

Molarity is expressed in units of mol/L, also written as M (molar). A 1 M solution contains exactly 1 mole of solute per liter of solution. A 0.5 M solution contains half a mole per liter. The mole is an SI base unit defined as exactly 6.02214076 x 10 to the 23rd elementary entities, a value known as the Avogadro constant. This definition was established by the 26th General Conference on Weights and Measures in 2018 and took effect on May 20, 2019. The BIPM updated its mise en pratique for the mole in May 2025, providing refined guidance for laboratory realizations. For related scientific calculations, see our Matrix Calculator or Exponent Calculator.

What This Calculator Does

This calculator solves the molarity equation for any of its three variables:

  • Molarity (M): given moles and volume
  • Moles (n): given molarity and volume
  • Volume (V): given molarity and moles

An optional tool converts mass and molar mass to moles, which you can then use as input for the main calculation.

How the Calculation Works

Molarity (M) = Moles of solute (n) / Volume of solution (V in liters)

Moles (n) = Molarity (M) x Volume (V)

Volume (V) = Moles (n) / Molarity (M)

When you know the mass of a substance and its molar mass, you can find the number of moles using: Moles = Mass (g) / Molar Mass (g/mol). For example, sodium chloride (NaCl) has a molar mass of 58.44 g/mol. Dissolving 29.22 g of NaCl in enough water to make 1 liter gives a 0.5 M NaCl solution.

How to Use the Calculator

  1. Select what you want to solve for using the tabs
  2. Enter the two known values with appropriate units
  3. Optionally enter mass and molar mass at the bottom to find moles
  4. The result appears instantly in the right panel

Example Calculations

Example 1: Preparing 1 L of 0.5 M NaCl Solution

Dr. Chen, a biochemistry researcher at Stanford, needs to prepare 1 liter of 0.5 M NaCl solution for a buffer. Molar mass of NaCl = 58.44 g/mol. Moles needed = 0.5 M x 1 L = 0.5 mol. Mass needed = 0.5 x 58.44 = 29.22 g. She dissolves 29.22 g of NaCl in distilled water and makes up to exactly 1 liter in a volumetric flask.

Example 2: Finding the Molarity of a Glucose Solution

A graduate student at MIT has 36.03 g of glucose (C6H12O6, molar mass 180.16 g/mol) dissolved in 500 mL (0.5 L) of solution. Moles = 36.03 / 180.16 = 0.2 mol. Molarity = 0.2 / 0.5 = 0.4 M. She uses this concentration for a cell culture experiment and verifies her calculation with this tool.

Example 3: Dilution from Stock Solution

A pharmacy technician at Mayo Clinic needs to prepare 250 mL of 0.1 M HCl from a 12 M stock solution. Using the dilution formula M1V1 = M2V2: V1 = (0.1 x 250) / 12 = 2.08 mL. She measures 2.08 mL of the 12 M stock and dilutes it to 250 mL with distilled water. The final molarity is 0.1 M, verified by the calculator.

Real-World Scenarios

Laboratory Solutions and Buffer Preparation

Scientists prepare buffer solutions, reagents, and standard solutions using molarity every day. Phosphate-buffered saline (PBS), used extensively in biology labs, is typically prepared at specific molar concentrations of each salt component: 137 mM NaCl, 2.7 mM KCl, 10 mM Na2HPO4, and 1.8 mM KH2PO4. A research lab at Johns Hopkins uses this calculator to prepare PBS solutions daily, ensuring consistent experimental conditions across all experiments.

Pharmaceutical Formulation and IV Medications

Drug concentrations in intravenous medications are expressed in molar terms. Knowing the molarity helps pharmacists calculate the exact dosage in milligrams from the volume drawn from a vial. For example, a 2 M solution of potassium chloride (KCl, molar mass 74.55 g/mol) contains 149.1 g/L. A pharmacist drawing 5 mL of this solution delivers 0.01 mol or 0.7455 g of KCl to the patient. Precision in these calculations is critical for patient safety.

Environmental Water Testing

Environmental scientists measure pollutant concentrations in water using molarity. The EPA sets maximum contaminant levels for drinking water in parts per million (ppm), which can be converted to molarity. For example, the EPA action level for lead in drinking water is 15 ppb (0.015 ppm). Converting to molarity: 0.015 mg/L divided by (207.2 g/mol x 1000) = 7.24 x 10 to the -8 M, or 72.4 nanomolar. A water quality analyst in Denver uses this calculator to convert between ppm and molarity for compliance reporting.

Why This Calculation Matters

Incorrect molarity in a laboratory or medical setting can invalidate experimental results, ruin chemical reactions, or harm patients. Accurate molarity calculations are a basic competency for chemists, pharmacists, and laboratory technicians. The SI definition of the mole, based on the exact Avogadro constant of 6.02214076 x 10 to the 23rd, ensures that molarity calculations are traceable to an internationally recognized standard. The BIPM's May 2025 update to the mole's mise en pratique provides refined guidance for primary realizations of the mole using silicon-28 single crystals, achieving relative uncertainties below 2 x 10 to the -8.

Common Mistakes to Avoid

  • Using mL instead of L: Molarity requires volume in liters. If your volume is in mL, divide by 1000 before calculating. This is the most common error in molarity calculations
  • Confusing molarity and molality: Molarity (M) uses volume of solution in liters. Molality (m) uses mass of solvent in kilograms. They are not interchangeable. Molality is preferred for calculations involving boiling point elevation and freezing point depression because it does not change with temperature
  • Using molar mass of the wrong form: Molar mass must match the actual substance being dissolved. Hydrated salts like CuSO4-5H2O have a higher molar mass (249.69 g/mol) than anhydrous CuSO4 (159.61 g/mol). Using the wrong form leads to significant errors
  • Adding solute to the full volume of water: The correct procedure is to dissolve the solute in a smaller volume of solvent, then add solvent to reach the final volume. Adding solute to the full volume can change the total volume slightly
  • Forgetting to account for hydration water: When weighing hydrated salts, the water of crystallization contributes to the mass but not to the solute concentration. Always use the molar mass of the specific form you are weighing

Limitations of This Calculator

This calculator assumes ideal behavior and does not account for temperature effects on volume, solute-solvent interactions, or activity coefficients. For concentrated solutions (above approximately 1 M), the actual concentration may differ from the calculated molarity due to non-ideal behavior. The calculator does not handle normality, formality, or mole fraction conversions. For advanced analytical chemistry work, consult specialized software or reference tables.

Authoritative Research & Resources

  • BIPM: Mise en pratique for the Mole (May 2025) - The International Bureau of Weights and Measures provides the official guidance for realizing the SI mole. The May 2025 update (Version 2) describes primary realizations using silicon-28 single crystals with relative uncertainties below 2 x 10 to the -8. The mole is defined as exactly 6.02214076 x 10 to the 23rd elementary entities.
  • Particle Data Group: Physical Constants (2026) - The 2026 Review of Particle Physics, revised May 2026, lists the Avogadro constant as exactly 6.02214076 x 10 to the 23rd per mol. This is the authoritative source for physical constants used in chemistry and physics calculations.
  • Metrologia: Amount of Substance and the Mole in the SI - Peer-reviewed paper explaining the 2019 redefinition of the mole, the experimental work that enabled it, and the continuity of measurement results before and after the definition change. Essential reading for understanding the theoretical basis of molarity calculations.
  • Analytical Chemistry: Redefinition of the Mole - American Chemical Society publication highlighting the role of metrology in maintaining accurate chemical measurements and explaining the practical impact of the mole's redefinition on laboratory work.

Frequently Asked Questions

What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution. Molality (m) is moles of solute per kilogram of solvent. Molality does not change with temperature because it is based on mass, while molarity can change slightly as the volume of a solution expands or contracts with temperature. Molality is preferred for calculations involving boiling point elevation and freezing point depression. For most routine laboratory work, molarity is the standard because volumetric glassware is used to measure solutions.
What is a mole in chemistry?
A mole is exactly 6.02214076 x 10 to the 23rd elementary entities (atoms, molecules, ions, or other particles). This number is the Avogadro constant, established as a fixed exact value by the 26th General Conference on Weights and Measures in 2018. Just as a "dozen" always means 12, a "mole" always means this specific large number. It is used to count atoms and molecules at a scale that is practical for laboratory work, since individual atoms are far too small to count directly. The BIPM updated its guidance for realizing the mole in May 2025.
How do I use molarity for dilution calculations?
Use the formula M1V1 = M2V2, where M1 and V1 are the concentration and volume of the stock solution, and M2 and V2 are the target concentration and volume. For example, to make 200 mL of 0.2 M from a 1 M stock: V1 = (0.2 x 200) / 1 = 40 mL. Take 40 mL of stock and add water to reach 200 mL total. A pharmacy technician at Mayo Clinic uses this formula daily to prepare diluted medications from concentrated stock solutions.
How accurate is this molarity calculator?
This calculator performs exact arithmetic using the values you enter. The accuracy of your result depends on the accuracy of your inputs, particularly the molar mass value and the measured volume. Using a precise molar mass from the periodic table and accurate laboratory glassware (volumetric flasks, pipettes) will give you a highly accurate result. For concentrated solutions above approximately 1 M, non-ideal behavior may cause the actual concentration to differ slightly from the calculated value.
How does molarity relate to parts per million (ppm)?
For dilute aqueous solutions, 1 ppm is approximately 1 mg/L. To convert ppm to molarity, divide the ppm value (in mg/L) by the molar mass in g/mol x 1000. For example, 50 ppm of NaCl (molar mass 58.44 g/mol) = 50 / (58.44 x 1000) = 0.000856 M or about 0.856 millimolar (mM). The EPA sets drinking water contaminant levels in ppm or ppb, which environmental scientists convert to molarity for chemical analysis.
How do I handle hydrated salts in molarity calculations?
Hydrated salts contain water molecules in their crystal structure, which contributes to their mass but not to the solute concentration. You must use the molar mass of the hydrated form when weighing the solid. For example, copper(II) sulfate pentahydrate (CuSO4-5H2O) has a molar mass of 249.69 g/mol, while anhydrous CuSO4 has a molar mass of 159.61 g/mol. If you need 0.1 mol of CuSO4 in solution and you are using the pentahydrate form, you must weigh out 24.97 g, not 15.96 g. The water of crystallization dissolves into the solution and does not affect the molarity of the CuSO4.
Why was the mole redefined in 2019?
The mole was redefined on May 20, 2019, as part of a major revision of the International System of Units (SI). Previously, the mole was defined based on the mass of carbon-12. The new definition fixes the Avogadro constant at exactly 6.02214076 x 10 to the 23rd per mol, making the mole independent of the kilogram. This change ensures greater stability and traceability for chemical measurements. The BIPM published an updated mise en pratique in May 2025 describing how laboratories can realize the mole using silicon-28 single crystals with uncertainties below 2 x 10 to the -8.

Related Calculators

Molecular Weight Calculator

Calculate the molecular weight of a chemical compound

Density Calculator

Calculate density, mass, or volume

Mass Calculator

Convert mass between kg, lbs, oz, and more

Embed This Calculator

Molarity Calculator

Calculate
Reset
Calculators PlanetCalculators Planet

Fast, accurate, and user-friendly online calculators for all your needs.

Financial

  • Mortgage Calculator
  • Amortization Calculator
  • Mortgage Payoff Calculator
  • House Affordability Calculator
  • Rent Calculator

Math

  • Decimal to Fraction Calculator
  • Significant Figures Calculator
  • Percentage Calculator
  • Fraction Calculator
  • Ratio Calculator

Health

  • BMI Calculator
  • Ideal Weight Calculator
  • Body Fat Calculator
  • Calorie Calculator
  • Macro Calculator

Other

  • Age Calculator
  • Date Calculator
  • Time Calculator
  • Hours Calculator
  • Time Card Calculator

2026 Calculators Planet. All rights reserved.

BlogAboutContactPrivacy PolicyCookie PolicyTerms of ServiceDisclaimer