Use our free molarity calculator to find the molar concentration of any solution in seconds. Whether you are preparing reagents in a lab, running a titration, converting grams to moles, or checking your chemistry homework, this tool gives you accurate results with zero guesswork.
Molarity Calculator
Calculate molarity from moles of solute and liters of solution.
Result
-
What Is Molarity?
Molarity is a measure of the concentration of a solute in a solution. It tells you how many moles of a substance are dissolved in exactly one litre of solution. The symbol for molarity is
M
, and the unit is
mol/L
(moles per litre), sometimes written as mol/dm³.
For example, if you dissolve 1 mole of sodium chloride (NaCl) in enough water to make 1 litre of solution, you have a
1 M NaCl solution
. If you dissolve 2 moles in the same volume, you have a
2 M solution
— twice as concentrated.
Molarity is a fundamental concept in analytical chemistry, biochemistry, pharmacology, and environmental science. It provides a standardised way to express how concentrated a solution is, which is critical for reproducibility in experiments and accurate dosing in medicine.
The Molarity Formula Explained
The formula for molarity is straightforward and used universally across chemistry disciplines:
M = n ÷ V
M
= Molarity (mol/L)
n
= Number of moles of solute (mol)
V
= Volume of solution (L)
The formula can be rearranged depending on which value you need to find:
To find
moles
: n = M × V
To find
volume
: V = n ÷ M
To find
molarity
: M = n ÷ V
Our calculator supports all three variations. This makes it useful for solution preparation, titration calculations, and finding how much solute you need to dissolve to reach a target concentration.
How to Use This Molarity Calculator
This calculator is designed to be fast and intuitive. Follow these steps to get your result:
Select what you want to calculate
— molarity, moles, or volume.
Enter the known values
— type in the number of moles and the volume of solution (or use the grams-to-moles converter if you are starting from a mass).
Choose your units
— you can enter volume in litres (L) or millilitres (mL); the calculator handles the conversion automatically.
Press Calculate
— your result appears instantly, rounded to the appropriate number of significant figures.
Results are displayed in mol/L (M) by default, with options to view in mM (millimolar) for dilute solutions used in biochemistry and life science applications.
Worked Example: Calculating Molarity Step by Step
⚗ NaCl Solution Preparation
You dissolve 5.85 g of NaCl in distilled water to make a total solution volume of 500 mL. What is the molarity?
Step 1 — Find the molar mass of NaCl:
Na = 22.99 g/mol | Cl = 35.45 g/mol
Molar mass of NaCl = 22.99 + 35.45 =
58.44 g/mol
Step 2 — Convert grams to moles:
n = 5.85 g ÷ 58.44 g/mol =
0.1001 mol
Step 3 — Convert volume to litres:
500 mL ÷ 1000 =
0.5 L
Step 4 — Apply M = n ÷ V:
M = 0.1001 mol ÷ 0.5 L
M = 0.200 mol/L (0.2 M NaCl solution)
Lab Applications
Molarity is not just a textbook concept. It is applied every day across a wide range of scientific and industrial settings. Once you have your concentration, you can proceed to calculate the
percent yield
of your reaction or identify the
limiting reagent
if you are working with multiple reactants. Here is where you will encounter it most:
Solution preparation:
Making stock solutions of known concentration for use in experiments. A 1 M stock solution can be diluted to any working concentration.
Acid-base titration:
Calculating unknown concentrations by reacting a solution of known molarity with the analyte until the equivalence point is reached.
Buffer preparation:
Biochemistry labs routinely prepare phosphate-buffered saline (PBS), Tris-HCl, and other buffers at precise molar concentrations to maintain physiological pH.
Pharmacology and drug formulation:
Drug concentrations in intravenous solutions, oral suspensions, and topical formulations are expressed in molar units.
Environmental testing:
Measuring concentrations of heavy metals, nitrates, or organic pollutants in water samples requires molar calculations.
Clinical laboratory medicine:
Electrolyte concentrations in blood (sodium, potassium, chloride) are often expressed in millimolar (mM) units.
Molarity vs Molality vs Normality: Key Differences
Molarity (M)
measures moles of solute per litre of
solution
. It is temperature-dependent because the volume of a liquid changes with temperature. This is the most common unit in general chemistry and analytical work.
Molality (m)
measures moles of solute per kilogram of
solvent
(not solution). Because it is based on mass rather than volume, it does not change with temperature or pressure. Molality is preferred in thermodynamic calculations such as boiling point elevation and freezing point depression.
Normality (N)
measures equivalents of solute per litre of solution. It accounts for the reactive capacity of a compound — for example, H₂SO₄ has two acidic protons, so a 1 M H₂SO₄ solution is 2 N. If you are working with acids and bases where the reactive capacity matters, you may need our
normality calculator
.
For most laboratory work and chemistry courses,
molarity is the standard
. Use molality when working with colligative properties.
Frequently Asked Questions
What is molarity?
Molarity (M) is the number of moles of solute dissolved per litre of solution. It is expressed in mol/L and is the most widely used measure of solution concentration in chemistry. A 1 M solution contains exactly 1 mole of solute in every litre of solution.
What is the formula for molarity?
The molarity formula is
M = n / V
, where M is molarity in mol/L, n is the number of moles of solute, and V is the volume of solution in litres. The formula can also be rearranged to find moles (n = M × V) or volume (V = n / M).
What is the difference between molarity and molality?
Molarity (M) is moles of solute per litre of
solution
. Molality (m) is moles of solute per kilogram of
solvent
. Molarity changes with temperature; molality is temperature-independent. Use molality for colligative property calculations; use molarity for most standard lab work.
How do I convert grams to moles for this calculator?
Divide the mass of your substance in grams by its molar mass (g/mol). For example, 10 g of NaOH (molar mass = 40 g/mol) = 10 ÷ 40 =
0.25 mol
.
What units does molarity use?
Molarity is expressed in
mol/L
, written as
M
(molar). Related units include millimolar (mM = 0.001 M), micromolar (µM = 10⁻⁶ M), and nanomolar (nM = 10⁻⁹ M), widely used in biochemistry and pharmacology.
Can I use this calculator for dilution problems?
Yes. For dilutions, use the relationship C₁V₁ = C₂V₂. Rearrange and use the molarity calculator to find any missing variable. For more complex dilutions involving different volume units, use our
dilution calculator
which handles the unit conversions for you automatically.
Does this page work offline?
Yes. The CSS and JavaScript are included inside this standalone HTML file, so you can use it anywhere without an internet connection.
Found This Calculator Useful?
Share it with a classmate, lab partner, or study group — it's free.