🧪 Molarity Calculator

Solve for molarity, mass, or volume of a solution, plus a dilution calculator using M1V1 = M2V2.

🧪 Molarity Formula
Solve Molarity
Solve Mass
Solve Volume
📊 Result
Molarity
Moles of Solute
🧪

Enter the known values and click Calculate

💧 Dilution Calculator (M₁V₁ = M₂V₂)
Find the volume of stock solution needed for a target dilution
Guide

About the Molarity Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This free molarity calculator solves for a solution's molarity, the mass of solute needed, or the volume of solution — using the formula M = moles ÷ volume, with moles derived automatically from mass and molar mass. It also includes a dedicated dilution calculator using the classic M₁V₁ = M₂V₂ relationship.

How It Works

Enter the solute's molar mass along with two of the three remaining values (mass, volume, molarity), and the calculator first computes moles = mass ÷ molar mass, then applies molarity = moles ÷ volume (or its rearrangement) to solve for whichever value you're missing. The separate Dilution Calculator uses M₁V₁ = M₂V₂ to find how much concentrated stock solution you need to prepare a target diluted volume and concentration.

Who Should Use This Calculator

Chemistry students solving molarity and dilution problems, lab technicians preparing solutions of a specific concentration, and anyone who needs to quickly work out how much solute or stock solution to measure out. It's a formula tool for calculation — always follow your lab's official safety and preparation procedures when actually making a solution.

Real-World Applications

  • Solving chemistry homework and lab-report molarity problems
  • Preparing a solution of a specific target concentration for a lab experiment
  • Diluting a concentrated stock solution to a working concentration
  • Checking a solution's concentration from a known mass and volume
  • Pairing with NeftCal's Molecular Weight Calculator to find a compound's molar mass first

Tips for Accurate Results

  • Look up or calculate the correct molar mass for your specific solute before starting — an incorrect molar mass throws off every other result.
  • Remember volume in the molarity formula is the total solution volume, not just the solvent added.
  • Use the Molecular Weight Calculator first if you know a compound's chemical formula but not its molar mass.
  • For dilutions, always add stock solution to solvent and bring to final volume, following standard lab safety practice — never add water directly to concentrated acid.
Formula

How Molarity Is Calculated

The formulas this calculator uses

Moles From Mass
Moles = Mass (g) ÷ Molar Mass (g/mol)

Molarity
Molarity (M) = Moles ÷ Volume (L)

Solving for Mass or Volume
Mass = Molarity × Volume × Molar Mass
Volume = Moles ÷ Molarity

Dilution
M₁V₁ = M₂V₂
⚗️

Moles as the Bridge

Molar mass converts a measured mass in grams into moles — the standard "counting unit" for chemical quantities — which molarity then relates to solution volume.

🧪

Molarity = Concentration

Molarity expresses how many moles of solute are dissolved per liter of total solution, making it the standard unit for solution concentration in chemistry.

💧

Dilution Conserves Moles

Diluting a solution adds solvent but doesn't add or remove solute, so the total moles before and after stays the same — that's exactly what M₁V₁ = M₂V₂ expresses.

⚙️ Why This Formula Works

Because moles = mass ÷ molar mass and molarity = moles ÷ volume are both direct definitions, combining them algebraically lets any one of mass, volume, or molarity be solved from the other two, once molar mass is known — no approximation involved.

🎯 When to Use It

  • Preparing a solution of a specific target concentration
  • Checking a solution's concentration from measured mass and volume
  • Diluting a concentrated stock solution to a working strength

📋 Assumptions

  • The solute fully dissolves in the solvent without a significant volume change
  • Molar mass entered is accurate for the specific solute
  • Volume refers to total solution volume, not solvent volume alone

⚠️ Limitations

  • Doesn't account for solution volume changes upon dissolving (relevant for very concentrated solutions)
  • Doesn't model temperature-dependent volume changes
  • Not a substitute for standard lab safety and solution-preparation procedures
Walkthrough

Step-by-Step: How to Use the Molarity Calculator

From choosing what to solve for to reading your result

Choose what to solve for

Select Molarity, Mass, or Volume depending on which value you're missing.

Enter the molar mass and known values

Fill in the solute's molar mass plus the two other known values.

Click "Calculate"

See the missing value in mol/L (M), along with the moles of solute.

Or use the dilution calculator

Enter initial concentration, target concentration, and target volume to find the stock volume needed using M₁V₁ = M₂V₂.

Example

Worked Example

Preparing a sodium chloride solution, then diluting a stock solution

Scenario 1 — Molarity of a Salt Solution

SoluteNaCl (58.44 g/mol)
Mass58.44 g
Volume2 L
Step 1 — Moles: 58.44 ÷ 58.44 = 1 mol.
Step 2 — Molarity: 1 ÷ 2 = 0.5 M.
Moles
1 mol
Molarity
0.5 M

Scenario 2 — Diluting a 5 M Stock Solution to 1 M

M₁ (stock)5 M
M₂ (target)1 M
V₂ (target volume)500 mL
Step: V₁ = (M₂ × V₂) ÷ M₁ = (1 × 0.5 L) ÷ 5 = 0.1 L (100 mL).
Measure 100 mL of the 5 M stock solution, then add solvent until the total volume reaches 500 mL to get a 1 M solution.
Stock Volume Needed
100 mL
Use Cases

Practical Use Cases for the Molarity Calculator

Where solving for molarity, mass, volume, or dilution comes up

🎓

Chemistry homework

Solve molarity, mass, and volume problems and verify your work.

🧪

Lab solution preparation

Find exactly how much solute to weigh out for a target concentration and volume.

💧

Stock solution dilutions

Calculate how much concentrated stock to dilute for a working-strength solution.

🔬

Research & experiment planning

Plan reagent quantities needed for an experimental protocol.

📋

Lab report verification

Double-check concentration calculations before submitting lab work.

Pros & Cons

Advantages and Limitations

What this molarity calculator does well, and where it has boundaries

✅ Advantages

  • Free, instant, and requires no signup
  • Runs entirely in your browser — no data is sent to a server
  • Solves for molarity, mass, or volume in one tool
  • Includes a dedicated dilution calculator (M₁V₁ = M₂V₂)
  • Automatically computes moles from mass and molar mass

⚠️ Limitations

  • Doesn't account for solution volume changes upon dissolving concentrated solutes
  • Doesn't model temperature-dependent volume changes
  • Not a substitute for standard lab safety and solution-preparation procedures
Reference

Common Mistakes and Expert Tips

Get accurate molarity and dilution results

❌ Common Mistakes

  • Using an incorrect or approximate molar mass for the solute
  • Forgetting to convert milliliters to liters before entering volume
  • Using solvent volume instead of total solution volume in the molarity formula
  • Adding water to concentrated acid instead of acid to water — always add concentrated reagents to solvent, not the reverse, for safety

💡 Expert Tips & Best Practices

  • Use NeftCal's Molecular Weight Calculator to find a compound's exact molar mass from its formula
  • Double-check units carefully — grams, liters, and mol/L are the standard units this calculator expects
  • For serial dilutions, apply the dilution formula step by step for each dilution stage
  • Always follow your lab's official safety procedures when actually preparing a solution
📝

Summary: This molarity calculator solves for molarity, mass, or volume using M = moles/volume, plus a dilution calculator using M₁V₁ = M₂V₂ — free, instant, and useful for chemistry coursework and lab prep alike. Pair it with the Molecular Weight Calculator to find a compound's molar mass first.

FAQ

Frequently Asked Questions

Common questions about calculating molarity and dilutions

How do I calculate molarity?
Molarity (M) = moles of solute ÷ liters of solution. If you know the solute's mass and molar mass instead of moles directly, first find moles = mass ÷ molar mass, then divide by volume in liters.
What is the formula for dilution?
The dilution formula is M1V1 = M2V2, where M1 and V1 are the initial concentration and volume, and M2 and V2 are the final (diluted) concentration and volume. Rearranging gives V1 = (M2 × V2) ÷ M1 — the volume of concentrated stock solution needed to prepare a diluted solution.
How do I find the mass of solute needed for a target molarity?
Rearrange the formula: Mass = Molarity × Volume (L) × Molar Mass. Select "Solve for Mass" on this calculator, enter the target molarity, volume, and the solute's molar mass, and it computes the required mass automatically.
What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution, while molality (m) is moles of solute per kilogram of solvent. Molarity is more common for everyday lab work, but molality doesn't change with temperature (since it's mass-based, not volume-based), making it preferred for precise physical chemistry calculations.
Why does molarity change with temperature but molality doesn't?
Molarity is defined using the volume of the solution, and liquids expand or contract slightly with temperature, which changes the volume and therefore the molarity. Molality uses mass, which doesn't change with temperature, so it stays constant regardless of thermal expansion.
How do I use this calculator to prepare a specific solution?
Select "Solve for Mass," enter your target molarity, the volume of solution you want to prepare, and the solute's molar mass (look this up or use NeftCal's Molecular Weight Calculator). The result tells you exactly how many grams of solute to dissolve and bring to the target volume.
Learn More

Authoritative Resources on Solution Chemistry

Standards and educational references to complement this calculator

Related Calculators

Other measurement and chemistry tools