Updated on April 21st, 2026

Molarity Calculator

Created By Jehan Wadia

General Molarity Equation Solver
Molarity (C) = Mass (m) Molecular Weight (MW) × Volume (V)
Mass = Concentration × Volume × Molecular Weight
Fill in any three fields, leave one blank to solve for it.
=
← Leave blank to solve
×
×
Result
Concentration = 0.5000 mM
Solved VariableConcentration
Raw Value0.0005 M
Auto-Scaled0.5000 mM = 500.0 µM
Mass5 mg
Concentration0.5000 mM
Volume10 mL
Molecular Weight100 g/mol
Dilution Calculator (C₁V₁ = C₂V₂)
C₁ × V₁ = C₂ × V₂
Fill in any three fields, leave one blank to solve for it.
×
=
×
← Leave blank to solve
Dilution Result
V₂ = 25.0000 mL
Solved VariableV₂ (Final Volume)
Auto-Scaled25.0000 mL
C₁10 mM
V₁5 mL
C₂2 mM
V₂25.0000 mL
Solvent to Add (V₂ − V₁)20.0000 mL

Introduction

Molarity tells you how much of a substance is dissolved in a liquid. It is one of the most common ways to measure the concentration of a solution in chemistry. Molarity is written in units called moles per liter (mol/L), which is also shown as the capital letter M. To find molarity, you divide the number of moles of solute by the volume of the solution in liters. This Molarity Calculator makes that math quick and easy. Just enter your values, and the tool will give you the answer right away. Whether you are working on a homework problem or preparing a solution in the lab, this calculator helps you get accurate results in seconds.

How to Use Our Molarity Calculator

Enter the amount of solute and the volume of your solution to quickly calculate the molarity (moles per liter) of your solution.

Moles of Solute: Type in the number of moles of solute dissolved in your solution. This is the substance that gets dissolved. If you only know the mass in grams, divide it by the molar mass of your solute first to get moles.

Volume of Solution: Enter the total volume of your solution. Make sure the volume is in liters. If your volume is in milliliters, divide it by 1,000 to convert it to liters before entering it.

Molarity (Result): The calculator will give you the molarity of your solution in moles per liter (mol/L), also written as M. Molarity tells you how concentrated your solution is. A higher number means more solute is packed into the same amount of liquid.

What Is Molarity?

Molarity is a way to measure how concentrated a solution is. It tells you how much of a substance (called a solute) is dissolved in a certain amount of liquid (called a solvent). Molarity is written with the unit M, which stands for "moles per liter."

How Molarity Is Calculated

The formula for molarity is simple:

Molarity (M) = Moles of Solute ÷ Liters of Solution

A mole is a unit chemists use to count tiny particles like atoms or molecules. One mole equals about 602 sextillion particles (6.02 × 10²³). When you divide the number of moles of solute by the total volume of the solution in liters, you get the molarity.

Why Molarity Matters

Molarity is one of the most common measurements used in chemistry. Scientists and students use it every day to:

  • Mix solutions with exact concentrations in a lab
  • Predict how chemical reactions will behave
  • Dilute strong solutions to a weaker, safer strength
  • Calculate how much of a chemical is needed for an experiment

When working with solutions, you may also need to understand pH levels to determine how acidic or basic a solution is, or use the Ideal Gas Law Calculator when your solute involves gases dissolving into liquids.

A Quick Example

Imagine you dissolve 1 mole of table salt (NaCl) in enough water to make exactly 1 liter of solution. That solution has a molarity of 1 M. If you used 2 moles of salt in 1 liter, the molarity would be 2 M. If you used 1 mole of salt but made 2 liters of solution, the molarity would be 0.5 M.

Molarity vs. Other Concentration Units

Molarity is not the only way to describe concentration. Other methods include molality (moles per kilogram of solvent), percent by mass, and parts per million (ppm). However, molarity is the most widely used unit in general chemistry because it directly relates the amount of solute to the volume of the solution, making it very practical for lab work. When dealing with very precise measurements, understanding significant figures is important to ensure your molarity calculations maintain the correct level of precision. You may also find a Scientific Notation Calculator helpful when working with extremely large or small molar concentrations, and a Percent Error Calculator useful for evaluating the accuracy of your experimental results against expected values.


Frequently Asked Questions

What is the difference between molarity and molality?

Molarity measures moles of solute per liter of solution. Molality measures moles of solute per kilogram of solvent. Molarity changes with temperature because liquid volume expands or shrinks. Molality does not change with temperature because mass stays the same.

How do I use the dilution calculator (C₁V₁ = C₂V₂)?

Enter any three of the four values: initial concentration (C₁), initial volume (V₁), final concentration (C₂), and final volume (V₂). Leave the one you want to find blank. Click Calculate, and the tool solves for the missing value. It also tells you how much solvent to add (V₂ − V₁).

What is molecular weight and why do I need it?

Molecular weight (also called molar mass) is the mass of one mole of a substance, measured in grams per mole (g/mol). You need it to convert between grams and moles. For example, water has a molecular weight of about 18 g/mol, so 18 grams of water equals 1 mole.

Can I solve for mass, volume, or molecular weight instead of concentration?

Yes. The General Molarity Equation Solver lets you solve for any one of the four variables: mass, concentration, volume, or molecular weight. Just leave the field you want to solve blank and fill in the other three. Then click Calculate.

What units does this calculator support?

It supports many units. For mass: pg, ng, µg, mg, g, kg, metric ton, Da, lb, and oz. For concentration: fM, pM, nM, µM, mM, M, mol/m³, kg/L, g/L, mg/L, ppm, ppb, kg/m³, and g/m³. For volume: nL, µL, mL, L, m³, cm³, mm³, US gallon, quart, pint, cup, fl oz, yd³, ft³, and in³. For molecular weight: g/mol and kg/mol.

What does the auto-scaled result mean?

Auto-scaling picks the best unit prefix so the number is easy to read. For example, instead of showing 0.0005 M, it shows 0.5 mM. Instead of 0.000001 g, it shows 1 µg. The value is the same — just written in a friendlier way.

Why can't I solve for molecular weight when using mass concentration units like ppm or g/L?

Mass concentration units like g/L or ppm relate mass of solute to volume of solution without involving moles. Since molecular weight connects mass to moles, you need molarity-based concentration units (like mM or M) to solve for it. Switch the concentration unit to a molarity unit and try again.

How do I convert grams to moles?

Divide the mass in grams by the molecular weight (g/mol) of the substance. For example, if you have 10 g of NaCl (molecular weight 58.44 g/mol), you have 10 ÷ 58.44 = 0.171 moles. This calculator does that conversion for you automatically.

What does C₁V₁ = C₂V₂ mean?

This is the dilution equation. C₁ is the starting concentration, V₁ is the starting volume, C₂ is the final concentration, and V₂ is the final volume. It says the amount of solute stays the same before and after you add more solvent. You just spread it out into more liquid.

What does the Solvent to Add value mean in the dilution result?

It is the amount of extra solvent you need to pour in. It equals V₂ minus V₁ (final volume minus initial volume). For example, if V₁ is 5 mL and V₂ is 25 mL, you need to add 20 mL of solvent to your original solution.

Can I mix different units between C₁ and C₂ in the dilution calculator?

You can, but be careful. The calculator converts both concentrations to the same base unit before solving. Mixing molar units (like mM) with mass units (like ppm) works mathematically, but the result only makes physical sense if both concentrations describe the same type of measurement for the same solute.

What happens if I leave more than one field blank?

The calculator needs exactly one blank field to know what to solve for. If you leave zero or more than one field blank, it will show an error message asking you to leave exactly one field empty.

How do I make a 1 M solution of NaCl?

NaCl has a molecular weight of about 58.44 g/mol. To make 1 liter of a 1 M solution, weigh out 58.44 grams of NaCl and dissolve it in water, then add enough water to bring the total volume to exactly 1 liter. You can use this calculator to check by entering 58.44 g mass, 1 L volume, and 58.44 g/mol molecular weight.

Is molarity the same as concentration?

Molarity is one type of concentration. Concentration is a general term that can be expressed in many ways, such as molarity (mol/L), mass per volume (g/L), percent, or parts per million. Molarity specifically measures moles of solute per liter of solution.


Related Calculators

pH Calculator

Visit pH Calculator

Dilution Calculator

Visit Dilution Calculator