Molarity Calculator

Calculate molarity, required solute mass, solution volume, moles, or dilution stock volume with unit conversions and solution steps.

Calculator is for informational purposes only. Terms and Conditions

\[ M=\frac{n}{V} \]
1

Choose what to solve for

Pick the unknown value. The required inputs update automatically.

Choose the value you want to calculate. Hidden fields are disabled automatically.
This fills molar mass. Use the exact reagent form for hydrates, salts, and labeled chemicals.
Enter mass, molar mass, and final solution volume to calculate molarity.
2

Enter the known values

Use final total solution volume, not just the starting solvent volume.

Mass of the solute being dissolved. For hydrate or salt forms, weigh the exact compound form used.
g/mol
Molar mass in grams per mole. Use the molar mass for the exact reagent form, not a different hydrate or salt.
The total final solution volume after the solute is dissolved and the solution is brought to volume.
Concentration for mass, volume, moles, or dilution calculations.
Amount of substance. Moles can be calculated from mass divided by molar mass.
Starting concentration before dilution. It should be greater than the final concentration for a normal dilution.
Total final volume after the stock solution is diluted.
Advanced Options
3

Visual Check

A simplified relationship diagram that stays readable on desktop and mobile.

Molarity calculator visual diagram A clean three-part diagram showing input values, solution preparation, and the calculated result.
4

Solution

Live result, quick checks, warnings, and full solution steps.

Molarity
Real-time result updates as you type.

Quick checks

  • Check
Show solution steps See equations, conversions, substitutions, and assumptions
  1. Enter values to see the full calculation steps and checks.
5

Source, Standards, and Assumptions

Calculation basis, constants, assumptions, and limitations.

Standard chemistry concentration formula

Source/standard information updates after a valid calculation.

  • Assumptions will appear after a valid calculation.
On this page

Calculator Guide

How to Use the Molarity Calculator

The Molarity Calculator above helps you calculate molarity, required solute mass, final solution volume, moles, or dilution stock volume. Use it when you know values such as mass, molar mass, concentration, and volume and need a fast chemistry concentration result with units.

Molarity is the number of moles of solute per liter of final solution. The most important idea is that the volume in the formula is the final total solution volume, not simply the amount of solvent poured into a container before dissolving the solute. Because molarity is a molar concentration, this page also works as a molar concentration calculator for common solution problems.

Best for Calculating molarity, solution prep mass, moles, volume, and dilutions
Main result Molar concentration in M, mM, µM, nM, or a related solve-for result
Most important input Final solution volume and correct molar mass

Quick Answer

To calculate molarity, convert the solute mass to moles, convert the final solution volume to liters, then divide moles by liters. For solution preparation, rearrange the formula to calculate the mass required for a target molarity and final volume. This is the common grams-to-molarity workflow users expect from a molarity calculator.

When not to rely on the simplified result

Do not treat a molarity calculation as a complete lab procedure. Real solution preparation may also require solubility checks, density data, temperature control, reagent purity, safety data sheets, proper PPE, and your lab’s standard operating procedure.

Inputs and Outputs Used by the Molarity Calculator

The calculator uses the values normally required for molar concentration and dilution problems. Depending on the solve mode, it may calculate molarity, mass required, final volume, moles, or the volume of stock solution needed for a dilution.

Molarity calculator inputs and outputs
ValueUsed ForWhat It MeansCommon Units
Solute massMolarity or volumeThe amount of compound being dissolved.g, mg, µg, kg
Molar massMass-to-moles conversionThe molecular weight of the exact compound form.g/mol
Final solution volumeMolarity, mass, or molesThe total solution volume after the solution is prepared.L, mL, µL
Target concentrationMass, volume, moles, or dilutionThe desired final molarity of the solution.M, mM, µM, nM
Stock concentrationDilutionThe starting concentration before dilution.M, mM, µM, nM
Calculated resultOutputThe unknown value selected in the solve mode.Mode-specific

Molarity Formula

The main molarity formula is \(M=n/V\), where molarity equals moles of solute divided by liters of final solution. If you start with grams instead of moles, first convert grams to moles using molar mass, sometimes written as molecular weight.

Main Formula

\[ M=\frac{n}{V} \]

Use this when you already know moles of solute and final solution volume in liters.

Moles from Mass

\[ n=\frac{m}{MW} \]

Use this when the solute amount is entered as a mass instead of moles. \(MW\) means molar mass or molecular weight in \(g/mol\).

Molarity from Mass, Molar Mass, and Volume

\[ M=\frac{m}{MW \times V} \]

This is the common “molarity from grams” form used when the known values are solute mass, molar mass, and final solution volume.

Mass Required for a Target Molarity

\[ m=M \times V \times MW \]

This rearranged formula is useful for preparing a solution with a known target molarity and final volume.

Dilution Formula

\[ C_1V_1=C_2V_2 \]

Use this for stock solution dilution, where \(C_1\) and \(V_1\) describe the stock solution and \(C_2\) and \(V_2\) describe the final diluted solution.

What the Variables Mean

Each variable must use compatible units. The calculator can convert common units, but the chemistry meaning does not change: molarity is always based on moles of solute per liter of final solution.

Variables in molarity and dilution formulas
VariableMeaningRequired Unit in FormulaCommon Mistake
\(M\)Molarity or molar concentrationmol/LConfusing M with mM or µM
\(n\)Moles of solutemolUsing grams directly as moles
\(V\)Final solution volumeLUsing mL without converting to L
\(m\)Solute massgMixing mg and g
\(MW\)Molar mass or molecular weightg/molUsing the wrong hydrate, salt, or compound form
\(C_1,V_1,C_2,V_2\)Dilution concentrations and volumesConsistent concentration and volume unitsAdding \(V_2\) of water instead of diluting to final volume \(V_2\)

How to Use the Calculator

Start by choosing the solve mode that matches your unknown value. Then enter only the known values for that mode, verify the unit selectors, and compare the result with the formula and quick checks.

1

Select the solve mode

Choose whether you want to calculate molarity, mass required, final solution volume, moles, or dilution stock volume.

2

Enter the known values

For molarity from grams, enter solute mass, molar mass, and final solution volume. For dilution, enter stock concentration, final concentration, and final volume.

3

Check the units

Confirm that mass, volume, concentration, and mole units match the selected values. The most common error is forgetting that \(500\text{ mL}=0.500\text{ L}\).

4

Review the result and steps

Use the step-by-step output to verify unit conversions, substitutions, and whether the result is practical for the solution you are preparing.

How to Interpret Molarity Results

A molarity result tells you how many moles of solute are present in each liter of final solution. A higher molarity means more solute per liter, while a lower molarity means a more dilute solution.

What to do with the result

Use the result to label a solution, check a homework problem, prepare a target concentration, or calculate a dilution from a stock solution.

What changes the result most?

Molarity is highly sensitive to final volume and molar mass. Doubling the final volume cuts molarity in half if the moles of solute stay the same.

Sanity check

For simple classroom checks, 1 mole in 1 liter is 1 M. A tenth of a mole in 1 liter is 0.1 M. Use that scale to spot decimal mistakes.

What a suspicious result looks like

A result may be suspicious if the calculated concentration is extremely high, the required mass is larger than the final solution volume can realistically dissolve, or the dilution mode says the final concentration is greater than the stock concentration.

Input Checklist Before You Trust the Answer

Most molarity calculator errors come from using the wrong molar mass, the wrong volume basis, or inconsistent units. Run through this checklist before using the result in a lab calculation.

Use final solution volume

The volume in the molarity formula is the final volume after dissolving and bringing the solution to volume.

Confirm molar mass

Hydrates, salts, and free-base forms can have different molar masses. For example, \(CuSO_4\) and \(CuSO_4\cdot5H_2O\) are not the same compound form for weighing calculations.

Convert mL to L

Because \(M\) means mol/L, milliliters must be converted to liters before manual calculation.

Check concentration scale

Remember that \(1\text{ mM}=0.001\text{ M}\), \(1\text{ µM}=10^{-6}\text{ M}\), and \(1\text{ nM}=10^{-9}\text{ M}\).

Worked Example: Calculate Molarity from Grams

This example matches the most common molarity calculator use case: finding molarity from solute mass, molar mass, and final solution volume.

Given values

Solute
Sodium chloride, NaCl
Mass
\(5.844\text{ g}\)
Molar mass
\(58.44\text{ g/mol}\)
Final volume
\(1.000\text{ L}\)

Step 1: Convert grams to moles

\[ n=\frac{m}{MW}=\frac{5.844}{58.44}=0.1000\text{ mol} \]

Step 2: Divide moles by final volume

\[ M=\frac{n}{V}=\frac{0.1000}{1.000}=0.1000\text{ M} \]

Final answer

The solution is 0.1000 M NaCl. This is reasonable because \(5.844\text{ g}\) of NaCl is exactly one-tenth of its molar mass, so it represents \(0.1000\text{ mol}\) in \(1.000\text{ L}\).

Mass required example

To prepare \(500\text{ mL}\) of \(0.250\text{ M}\) NaCl, first convert volume to liters: \(500\text{ mL}=0.500\text{ L}\).

\[ m=M \times V \times MW=0.250 \times 0.500 \times 58.44=7.305\text{ g} \]

The required mass is 7.305 g NaCl. Weigh the solute, dissolve it in less than the final volume, then bring the solution to a final total volume of \(500\text{ mL}\).

Dilution example

To make \(100\text{ mL}\) of \(0.100\text{ M}\) solution from a \(1.00\text{ M}\) stock solution, solve for the stock volume \(V_1\).

\[ V_1=\frac{C_2V_2}{C_1}=\frac{0.100 \times 100}{1.00}=10.0\text{ mL} \]

Measure 10.0 mL of stock solution, then add solvent until the final total volume is \(100\text{ mL}\). Do not add \(100\text{ mL}\) of solvent on top of the stock unless the procedure specifically calls for that.

What the Formula Represents

Molarity is a relationship between the amount of solute and the final volume of solution. The visual below keeps the idea simple: moles of solute divided by liters of final solution gives molarity.

Reference Checks for Molarity Problems

Molarity does not have one universal “good” value because the right concentration depends on the chemical, experiment, solubility, and safety requirements. Instead, use simple reference checks to catch scale errors.

1 M reference

A \(1\text{ M}\) solution contains \(1\text{ mol}\) of solute per liter of final solution.

0.1 M reference

A \(0.1\text{ M}\) solution contains one-tenth of a mole per liter.

mM reference

\(1\text{ mM}\) is \(0.001\text{ M}\), so millimolar values are common for much smaller concentrations.

Common molar masses for quick checks

Use these values only when they match the exact compound form you are weighing. Labels, certificates of analysis, and hydrates can change the correct molar mass.

NaCl

Sodium chloride: 58.44 g/mol

NaOH

Sodium hydroxide: 40.00 g/mol

Glucose

\(C_6H_{12}O_6\): 180.16 g/mol

Sucrose

\(C_{12}H_{22}O_{11}\): 342.30 g/mol

Practical Range and Lab Notes

Molarity calculations are exact mathematically, but real solutions may be limited by solubility, heat generation, safety hazards, reagent purity, and volume changes during mixing. A calculated concentration can be correct on paper but impractical in a real container.

Very concentrated solutions

If a result is above several molar, check whether the compound is soluble and safe to prepare at that concentration.

Very small masses

If the required mass is below the capability of the balance, prepare a larger volume or make an intermediate stock solution.

Very small volumes

If the dilution stock volume is below normal pipetting accuracy, prepare a less concentrated intermediate dilution first.

Molarity Units and Conversions

Molarity is usually reported as \(M\), which means mol/L. Most mistakes happen when users forget to convert milliliters to liters or confuse \(M\), \(mM\), \(µM\), and \(nM\).

Common molarity and volume conversions
ConversionEquivalent ValueUse It When
\(1\text{ M}\)\(1\text{ mol/L}\)Reporting standard molarity
\(1\text{ mM}\)\(0.001\text{ M}\)Working with millimolar solutions
\(1\text{ µM}\)\(0.000001\text{ M}\)Working with micromolar solutions
\(1\text{ nM}\)\(0.000000001\text{ M}\)Working with nanomolar solutions
\(1\text{ L}\)\(1000\text{ mL}\)Converting volume before using \(M=n/V\)
\(1\text{ g}\)\(1000\text{ mg}\)Converting solute mass before using molar mass

Hidden unit trap

If you enter \(500\text{ mL}\) manually into a formula that expects liters, the value must be \(0.500\text{ L}\), not \(500\text{ L}\). That single mistake can make the answer wrong by a factor of 1000.

For mass, \(1\text{ kg}=1000\text{ g}\), \(1\text{ mg}=0.001\text{ g}\), and \(1\text{ µg}=0.000001\text{ g}\).

Molarity vs Molality and Dilution

Molarity, molality, and dilution calculations are related, but they answer different questions. Use molarity for moles per liter of solution, molality for moles per kilogram of solvent, and dilution when a stock solution is being diluted to a lower concentration.

Molarity

\(M=n/V\). Use liters of final solution. This is the main concentration used by the calculator above.

Molality

Molality uses moles of solute per kilogram of solvent. It is not the same as molarity because it is based on solvent mass, not solution volume.

Dilution

\(C_1V_1=C_2V_2\). Use this when you have a stock solution and want a lower final concentration.

Common Mistakes When Calculating Molarity

The formula is simple, but molarity mistakes are common because unit conversions and solution-preparation wording can be easy to misread.

Do

  • Use final total solution volume in liters.
  • Convert grams to moles using molar mass.
  • Use the exact molar mass for the chemical form being weighed.
  • For dilution, bring the solution to the final volume \(V_2\).

Don’t

  • Do not use solvent volume when the formula needs final solution volume.
  • Do not put mL directly into a formula expecting liters.
  • Do not confuse \(mM\), \(µM\), and \(M\).
  • Do not assume an anhydrous molar mass applies to a hydrate.

Troubleshooting Unrealistic Results

If the result looks too high, too low, or impossible, start with the units and solve mode before assuming the chemistry is unusual. Most bad molarity results come from a decimal, unit, or molar-mass mismatch.

Result is 1000 times too high or low

Check whether mL was treated as L, mg was treated as g, or mM was treated as M.

Mass required seems too large

Confirm the target concentration, final volume, and molar mass. Also check whether the solute can realistically dissolve at that concentration.

Dilution result is impossible

If the final concentration is higher than the stock concentration, dilution cannot achieve the result. You need a stronger stock or a lower final concentration.

Very tiny stock volume

If \(V_1\) is too small to pipette accurately, make an intermediate dilution and then dilute again to the target concentration.

Assumptions and Limitations

The molarity calculator uses standard concentration formulas and unit conversions. It does not automatically account for solution non-ideality, volume contraction, temperature effects, reagent purity, or safety constraints.

Final volume assumption

The formulas assume the entered volume is the final total solution volume after preparation.

Exact compound form

The molar mass must match the actual reagent form, including hydrates, salts, and labeled molecular weight.

Ideal calculation

The result is a stoichiometric concentration calculation, not a solubility, activity, density, or safety analysis.

Lab safety

Follow your lab SOP, SDS, PPE requirements, and supervisor guidance when preparing real chemical solutions.

Related Calculators

Molarity calculations often connect to other chemistry, unit conversion, and lab-preparation checks. Use the main calculator library when you need another tool to support a related step.

Key Terms

These terms help connect the calculator inputs, formulas, and final concentration result.

Molarity

Concentration measured as moles of solute per liter of final solution.

Solute

The substance being dissolved, such as NaCl in a saltwater solution.

Solvent

The liquid doing the dissolving, such as water in many aqueous solutions.

Molar Mass

The mass of one mole of a compound, usually written in g/mol.

Stock Solution

A concentrated solution used to prepare lower concentrations by dilution.

Final Volume

The total solution volume after the solute is dissolved and the solution is brought to volume.

Molarity Calculator FAQ

What is the formula for molarity?

The molarity formula is \(M=n/V\), where \(M\) is molarity in mol/L, \(n\) is moles of solute, and \(V\) is the final solution volume in liters.

How do you calculate molarity from grams?

To calculate molarity from grams, divide the solute mass by molar mass to get moles, convert the final solution volume to liters, then divide moles by liters.

How do you calculate grams needed for a molar solution?

Use \(m=M \times V \times MW\), where \(M\) is target molarity, \(V\) is final solution volume in liters, and \(MW\) is molar mass in g/mol.

Does molarity use solvent volume or solution volume?

Molarity uses the final total solution volume, not just the amount of solvent added before the solute dissolves.

What does C1V1 = C2V2 mean?

\(C_1V_1=C_2V_2\) is the dilution formula. \(C_1\) and \(V_1\) are the stock concentration and stock volume, while \(C_2\) and \(V_2\) are the final concentration and final volume.

How do you convert mM to M?

To convert mM to M, divide by 1000. For example, \(250\text{ mM}=0.250\text{ M}\).

Scroll to Top