Molarity Calculator

Last Updated: 5 May, 2026

Calculate molarity, moles, or final solution volume from the core concentration relationship M = n / V. This page is built for solution preparation, homework verification, and everyday lab concentration work where you know any two of the three values.

Edited by Gail Joyce

Gail Joyce edits core chemistry calculator pages for formula clarity, unit consistency, and practical classroom and lab-prep usability.

This calculator page is maintained by the Chemistry Calculators editorial team. The molarity equation, unit handling, worked examples, and reference notes on this page are reviewed against standard general chemistry equations and commonly used classroom and laboratory reference material before major updates.

Molarity Calculator

Calculate molarity from moles and volume, or find moles or solution volume when you already know the other two values.

Scope: this page is for direct molarity relationships in one solution setup. If you are converting from grams first, use a molar-mass or mole workflow before using this calculator.

Select what you want to calculate: molarity from moles and volume, moles from molarity and volume, or volume from moles and molarity.

Enter the number of moles of solute. Use our Mole Calculator if you need to convert from grams.

Enter the volume of solution in liters. Convert mL to L by dividing by 1000 (e.g., 500 mL = 0.5 L).

Starting from grams instead of moles? First convert mass to moles with molar mass, then use this calculator for the final molarity step.

How to Use the Molarity Calculator

Use the same order you would use in a lab notebook: decide what is missing, enter the known values, keep the volume units aligned, and then verify the result against the equation M = n / V.

1

Choose the value you need to solve for

Select molarity, moles, or final solution volume. That tells the calculator which part of the concentration relationship should stay unknown.

2

Enter the two values you already know

Type in the moles and volume, the molarity and volume, or the molarity and moles, depending on the mode you selected.

3

Keep the volume in liters before calculating

Convert milliliters to liters first so the result stays aligned with standard molarity units in mol/L.

4

Review the result against the formula

Check that the answer makes sense for your setup. Higher moles at the same volume should increase molarity, while larger volume at the same moles should decrease it.

Table of Contents

Quickly navigate to different sections of this guide. Click any item below to jump to that section.

Understanding Molarity

Molarity (M) is a measure of solution concentration, defined as the number of moles of solute per liter of solution. It's one of the most fundamental concepts in solution chemistry and is used extensively in laboratories, classrooms, and industrial settings. When you see "0.1 M NaCl" on a bottle, it means there are 0.1 moles of sodium chloride dissolved in every liter of solution.

Why is molarity so important? It provides a standardized way to express concentration that directly relates to the number of particles (molecules or ions) in solution. This makes stoichiometric calculations straightforward—if you know the molarity and volume, you can instantly determine how many moles of solute are present. Our Molarity Calculator makes these conversions instant and accurate, whether you're preparing solutions for experiments or solving chemistry problems.

Formulas and Equations

The molarity calculation is based on a simple relationship between moles, volume, and concentration. Our Molarity Calculator does all the math for you, but understanding the formulas helps you see what's happening behind the scenes:

Basic Molarity Formula

M = n / V

Where:
M = Molarity (mol/L or M)
n = Number of moles of solute
V = Volume of solution in liters (L)

This is the fundamental equation for molarity. It tells you that molarity equals the number of moles divided by the volume in liters. The calculator uses this formula to find molarity when you provide moles and volume.

Rearranged Formulas

You can rearrange the molarity formula to solve for moles or volume:

To find moles:

n = M × V

Multiply molarity by volume to get moles. This is useful when you know the concentration and volume but need to find how many moles are present.

To find volume:

V = n / M

Divide moles by molarity to get volume. Use this when you know how many moles you need and the desired concentration.

Converting from Mass to Moles

If you start with mass instead of moles, first convert to moles using molar mass:

n = mass (g) / molar mass (g/mol)

Then use the moles in the molarity formula. Our calculator can work with moles directly, but if you have grams, use our Molar Mass Calculator first to find the molar mass, then convert grams to moles.

Worked Examples

Step-by-step solutions demonstrating how to calculate molarity, moles, and volume. These examples show you how to use the Molarity Calculator effectively and demonstrate the calculation process for various scenarios.

Example 1: Calculating Molarity

Scenario: You dissolve 0.5 moles of NaCl in 2.0 liters of water. What is the molarity?

Solution:

Use the formula M = n / V

M = 0.5 mol / 2.0 L = 0.25 mol/L = 0.25 M

Answer: Molarity = 0.25 M

Example 2: Finding Moles from Molarity

Scenario: How many moles of glucose are in 500 mL of a 0.1 M solution?

Solution:

First convert mL to L: 500 mL = 0.5 L

Use the formula n = M × V

n = 0.1 M × 0.5 L = 0.05 mol

Answer: Moles = 0.05 mol

Example 3: Finding Volume from Molarity

Scenario: What volume of a 2.0 M HCl solution contains 0.5 moles of HCl?

Solution:

Use the formula V = n / M

V = 0.5 mol / 2.0 M = 0.25 L = 250 mL

Answer: Volume = 0.25 L (250 mL)

Example 4: Preparing a Solution from Solid

Scenario: How many grams of NaOH are needed to prepare 500 mL of a 0.5 M solution? (Molar mass of NaOH = 40.00 g/mol)

Solution:

First find moles: n = M × V = 0.5 M × 0.5 L = 0.25 mol

Then convert to grams: mass = n × molar mass = 0.25 mol × 40.00 g/mol = 10.0 g

Answer: Mass = 10.0 g

Common Mistakes

A few setup mistakes cause most molarity errors. Use these checks before trusting the result.

Using milliliters without converting to liters

Molarity uses liters in the denominator. If you enter 250 mL as 250 instead of 0.250 L, the answer will be off by a factor of 1000.

Using solvent volume instead of final solution volume

The formula uses the final solution volume after the solute is dissolved, not just the starting solvent volume.

Mixing grams and moles in one step

If your starting value is mass, convert it to moles with the molar mass first. The calculator expects moles directly, not grams.

Forgetting that temperature changes volume

For most coursework this is a minor effect, but for precise work remember that molarity changes with volume and therefore with temperature.

Frequently Asked Questions (FAQs)

Got questions? We've got answers. Here are the most common things people ask about molarity calculations and using this Molarity Calculator.

What is molarity?

Molarity (M) is the number of moles of solute per liter of solution. It's expressed in units of mol/L or M. For example, a 1 M solution contains 1 mole of solute per liter of solution. Molarity is the most common way to express solution concentration in chemistry.

How do I calculate molarity?

Use the formula M = n / V, where M is molarity, n is moles of solute, and V is volume in liters. Divide the number of moles by the volume in liters. Our Molarity Calculator does this automatically when you enter moles and volume.

Do I need to use liters for volume?

Yes! Molarity always uses liters (L) for volume. Convert milliliters to liters by dividing by 1000. For example, 500 mL = 0.5 L. The calculator expects volume in liters, so always convert first.

Can I calculate molarity from grams?

Yes, but you need to convert grams to moles first using the molar mass. Use our Molar Mass Calculator to find the molar mass, then divide grams by molar mass to get moles. Then use those moles in the molarity formula.

How do I find volume from molarity?

Use the formula V = n / M. Divide moles by molarity. For example, 0.5 mol / 2.0 M = 0.25 L. Select "Volume" in the calculator and enter moles and molarity.

How do I prepare a solution of known molarity?

First calculate how many moles you need: n = M × V. Then convert to grams using molar mass. Weigh out the solid, dissolve it in some solvent, then add solvent to reach the final volume. Use a volumetric flask for accuracy.

Can I dilute a solution using molarity?

Yes! Use the dilution formula M₁V₁ = M₂V₂, where M₁ and V₁ are initial molarity and volume, and M₂ and V₂ are final values. This works because moles are conserved during dilution. Our Dilution Calculator handles this automatically.

How do I verify my calculation?

Double-check by working backwards. If you calculated molarity, multiply by volume to get moles and verify it matches your input. Compare with known values or use our calculator to verify. Always check that units are correct (liters, not milliliters).

References and Further Reading

For more in-depth information about molarity, solution concentration, and related chemistry topics, consult these authoritative sources:

Resource Description Category
ChemLibreTexts: Solution Concentrations Reference overview of molarity and concentration relationships General Chemistry
Khan Academy: Chemistry Free educational content on solution chemistry General Chemistry
PubChem Database of chemical properties and solution data Chemical Data
NIST Chemistry WebBook Standard reference data for solutions Chemical Data

Disclaimer: The calculators and tools available on ChemistryCalculators.net are intended for educational and informational purposes only. While we make every effort to ensure accuracy, the results and calculations provided may contain errors or inaccuracies. Users are encouraged to verify the information independently and should not rely solely on these results for academic, professional, or laboratory purposes. ChemistryCalculators.net assumes no responsibility or liability for any loss, damage, or consequences arising from the use of these tools.