Molarity Calculator

Instantly calculate molarity, mass, or volume of a solution.

Enter any three values to automatically calculate the fourth. Clear a field to calculate a different value.

g
g/mol
L
M

Understanding Molarity and Chemical Concentration

Molarity (abbreviated as M) is the most common and standardized method for expressing the concentration of a chemical solution in chemistry and laboratory settings. It fundamentally defines the relationship between the amount of a dissolved substance (the solute) and the total volume of the resulting mixture (the solution). Whether you are formulating medication, preparing reagents, or balancing chemical equations, understanding molarity is essential.

Interestingly, the concept of molarity heavily relies on understanding proportional relationships, making it closely related to general mathematical ratio calculations.

The Fundamental Molarity Formula

Molarity is defined as the number of moles of solute per liter of solution. A "mole" is a fundamental unit in chemistry that represents a very specific number of atoms or molecules (Avogadro's number: 6.022 × 1023). By measuring in moles rather than pure weight, chemists can directly compare the reactive properties of different substances.

The core equation for Molarity is:

  • Molarity (M) = Moles of Solute (mol) / Volume of Solution (L)

However, because laboratories cannot easily "count" moles directly, we must calculate the number of moles based on the measurable physical weight (mass) of the substance. We do this using the substance's specific Molar Mass (often called molecular weight), which is the mass of one mole of that specific substance, measured in grams per mole (g/mol).

Therefore, the expanded, highly practical formula used in labs and in our calculator is:

  • Molarity (M) = (Mass of Solute in grams / Molar Mass) / Volume of Solution in Liters

How to Calculate Each Variable

Because the molarity equation establishes a strict mathematical relationship between four variables, if you know any three, you can easily use algebra to find the missing fourth variable. Our interactive tool handles these conversions instantly.

1. Calculating Molarity (M)

If you know the mass, molar mass, and volume, you calculate Molarity by first dividing the mass by the molar mass to find the moles, and then dividing those moles by the volume in liters.
M = (Mass / Molar Mass) / Volume

2. Calculating Required Mass (g)

This is arguably the most common use case in a laboratory. If a procedure requires 1 Liter of a 0.5 M solution of Sodium Chloride (NaCl, Molar Mass: 58.44 g/mol), how much physical salt do you need to weigh out on a scale? To find out, multiply the target Molarity by the Volume and then by the Molar Mass.
Mass = Molarity × Molar Mass × Volume

3. Calculating Volume (L)

If you have a specific mass of a substance and need to achieve a specific target molarity, you can calculate the exact amount of liquid solvent required to reach that concentration.
Volume = Mass / (Molarity × Molar Mass)

4. Calculating Molar Mass (g/mol)

Though less common in routine lab work, if you know the mass, volume, and final molarity of an unknown solution, you can calculate its molar mass, which can help identify the substance.
Molar Mass = Mass / (Molarity × Volume)

Real-World Laboratory Example

Let's say you need to prepare 500 milliliters (0.5 L) of a 2.0 M solution of Glucose. Glucose has a known molar mass of 180.16 g/mol.

  1. Identify the knowns: Volume = 0.5 L, Molarity = 2.0 M, Molar Mass = 180.16 g/mol.
  2. Identify the unknown: We need to find the Mass.
  3. Use the formula: Mass = 2.0 × 180.16 × 0.5
  4. Result: You need to weigh exactly 180.16 grams of glucose, place it in a flask, and add solvent until the total volume reaches 500 mL.

Important Note: The volume in the molarity equation refers to the total final volume of the solution, not just the volume of the solvent (like water) added. When dissolving a large mass of solid, the solid itself will contribute to the final volume.

Frequently Asked Questions

What is the difference between Molarity and Molality?

Molarity is defined as moles of solute per liter of solution, making it dependent on volume. Molality is defined as moles of solute per kilogram of solvent, making it dependent purely on mass. Molality is often preferred in experiments involving extreme temperature changes, because volume expands and contracts with temperature, whereas mass does not.

How do I convert milliliters (mL) to Liters (L)?

The standard molarity formula strictly requires volume to be measured in Liters. Since there are 1,000 milliliters in one Liter, you must divide your volume in mL by 1,000 to convert it to Liters. For example, 250 mL becomes 0.25 L.

Where do I find the Molar Mass of a substance?

The molar mass of an element is found on the periodic table (usually the atomic weight). For compounds, you add the atomic weights of all the atoms in its chemical formula. For example, Water (H2O) has two Hydrogen atoms (approx 1.01 g/mol each) and one Oxygen atom (approx 16.00 g/mol), making the total molar mass roughly 18.02 g/mol.

Can Molarity be negative?

No, molarity cannot be negative. It is a physical measurement of concentration involving mass, volume, and atomic particles, none of which can exist in negative quantities in this context.

What does 1 M mean?

1 M is read as "one molar". It means that the solution has exactly one mole of the dissolved substance (solute) for every one liter of total solution.