Main Tools
🧬 DNA & RNA Tools 15 tools 🌡️ PCR Tools 14 tools ⚗️ Lab Calculators 14 tools
More Tools
🔬 Protein Tools 12 tools 🦠 Microbiology Tools 12 tools 🧫 Cell Biology Tools 10 tools 📚 Reference Tools 8 tools
ℹ️ About Us Contact Us
⚗️ Lab Calculators

Molarity Calculator

Calculate moles, molarity, volume or mass for any solution. Solve for any unknown using the standard molarity formula.

The Molarity Calculator is a free online tool designed for biotechnology students, chemists, and lab researchers who need to quickly compute solution concentration parameters. Enter any combination of known values — mass, moles, volume, or molecular weight — and instantly solve for molarity, moles, volume, or the mass of solute required.

⚗️
Molarity Calculator
FREE TOOL
Solve For:
NaCl 58.44
NaOH 40.00
Tris 121.14
EDTA 372.24
KCl 74.55
Glucose 180.16
📋 See a Worked Example ▾
You are preparing 250 mL of a working NaCl solution and need to know its molarity. You weigh out 5.85 g of NaCl (molecular weight 58.44 g/mol) on a balance.

Inputs: Solve For → Molarity; Mass = 5.85 g; Volume = 250 mL; Molecular Weight = 58.44 g/mol.
Result: n = 5.85 / 58.44 = 0.1001 mol, so M = 0.1001 mol ÷ 0.25 L = 0.4 M.

This confirms the stock is a 0.4 M NaCl solution — useful when you need to verify a bench preparation before adding it to a buffer or reaction.
Result
Moles (n)
Molarity (M)
Volume
Mass (g)
⚠️
🖨️ Print / Save Result
Reference — Common Reagent Molecular Weights
ReagentMolecular Weight (g/mol)
Water (H₂O)18.02
Sodium Chloride (NaCl)58.44
Sodium Hydroxide (NaOH)40.00
Potassium Chloride (KCl)74.55
Tris Base (C₄H₁₁NO₃)121.14
EDTA (C₁₀H₁₆N₂O₈)372.24
Glucose (C₆H₁₂O₆)180.16
HEPES (C₈H₁₈N₂O₄S)238.30
Magnesium Chloride (MgCl₂)95.21
Sodium Phosphate Dibasic (Na₂HPO₄)141.96

How to Use the Molarity Calculator

Select what you want to solve for using the "Solve For" buttons at the top of the calculator. The tool supports four calculation modes: solving for Molarity (M), Moles (n), Volume (V), or Mass (g). Once you select your target, the corresponding input field is hidden and the remaining fields accept your known values. Enter your numbers, select the appropriate units from the dropdowns, and click Calculate. The result and a complete summary of all four parameters appear instantly below the form.

The Molarity Formula — All Variables Explained

M = n / V     where n = mass (g) / MW (g/mol)

M = Molarity in mol/L (molar concentration) — the number of moles of solute per litre of solution.
n = Moles of solute — the amount of substance measured in moles (mol, mmol, or µmol).
V = Volume of the final solution in litres — not the volume of solvent added before dissolution.
MW = Molecular weight (molar mass) of the solute in g/mol — found on the reagent label or in chemical databases.
mass = The mass of solute weighed in grams, milligrams, or micrograms before dissolving.

Step-by-Step Instructions

Step 1 — Choose your target variable. Use the Solve For selector to pick whether you are calculating Molarity, Moles, Volume, or Mass. The input for that variable will be hidden since it is what you are solving for.

Step 2 — Enter your known values. Fill in the fields that appear with the values you already know. If you know the mass but not the moles, enter the mass and the molecular weight and the calculator will compute moles automatically. If you already know moles directly, enter that instead.

Step 3 — Select the correct units. Each numeric field has a unit selector. Choose from mol/mmol/µmol for amount of substance, M/mM/µM for molarity, L/mL/µL for volume, and g/mg/µg for mass. The calculator converts all values to SI base units before computing.

Step 4 — Review your results. The result panel shows your primary answer prominently, along with a full breakdown of moles, molarity, volume, and mass — useful for cross-checking your lab notebook entries or verifying a protocol.

When to Use This Calculator

This calculator is used in a wide range of real laboratory scenarios. Researchers use it when preparing stock solutions of salts, buffers, antibiotics, and growth factors at a defined molar concentration. It is essential when scaling a protocol from a small-volume test to a larger batch preparation, since both the mass of reagent and the final volume must be recalculated precisely. Educators use it to demonstrate the relationship between mass, moles, and solution concentration to undergraduate and graduate students in biochemistry and molecular biology courses. It is also widely used for quick on-the-bench calculations when a pipette calculation needs to be confirmed before adding a reagent to a sensitive assay.

Common Mistakes to Avoid

1. Using volume of solvent instead of volume of solution. Molarity is defined per litre of final solution, not per litre of water added. Always bring the total solution to the target volume in a volumetric flask after the solute has dissolved — do not measure the water volume in advance.

2. Not accounting for water of crystallisation. Many laboratory reagents such as MgSO₄·7H₂O, Na₂HPO₄·2H₂O, and CaCl₂·2H₂O contain crystalline water. Always use the molecular weight of the hydrated form when weighing the solid to ensure the correct number of anhydrous moles is delivered to the solution.

3. Mixing up molar units. Switching between M, mM, and µM without adjusting the numeric value is a frequent source of 1000-fold concentration errors. Double-check unit selections carefully, especially when preparing solutions in the micromolar range from millimolar stock solutions.

4. Ignoring purity or assay values. Technical-grade reagents and some biochemicals are not 100% pure. If the label lists a purity or assay value (e.g. 98.5%), adjust the mass accordingly: actual mass to weigh = theoretical mass / (purity / 100). This is particularly important for buffer salts and nucleotides.

Interpreting Your Results

The primary result shows the value of the unknown variable you selected, expressed in the most appropriate unit (mol/L for molarity, mol for moles, mL for volume, or grams for mass). The detail panel below the primary result displays all four parameters simultaneously — this is useful for entering results directly into your protocol or electronic lab notebook without repeating the calculation. Moles are always reported in mol (not mmol or µmol) to maintain precision. Volume is reported in mL since this is the most practical unit at bench scale. If mass cannot be calculated (because molecular weight was not provided), the mass field will show a dash — enter the molecular weight to obtain a mass value.

Example Calculations

Example 1 — Find Molarity
Dissolve 5.85 g of NaCl (MW = 58.44 g/mol) in 250 mL water.

n = 5.85 / 58.44 = 0.1001 mol
M = 0.1001 / 0.25 = 0.4 M
Example 2 — Find Mass
Prepare 500 mL of 1 M NaOH (MW = 40 g/mol).

n = 1 × 0.5 = 0.5 mol
mass = 0.5 × 40 = 20 g
Example 3 — Find Volume
How much volume for 0.2 mol of 2 M HCl?

V = n / M = 0.2 / 2 = 0.1 L = 100 mL
Example 4 — Find Moles
How many moles in 750 mL of 0.5 M glucose?

n = M × V = 0.5 × 0.75 = 0.375 mol

About Molarity in the Laboratory

Molarity (symbol M) is the most common unit of concentration used in chemistry and biotechnology laboratories. It is defined as the number of moles of solute dissolved per litre of solution.

Molarity is essential for preparing reagents, buffers, media and standard solutions. Common biotechnology applications include preparing NaCl solutions, phosphate buffers (PBS), gel electrophoresis buffers (TAE, TBE) and cell culture media.

Common Molecular Weights for Reference

NaCl — 58.44 g/mol
Used in PBS, saline solutions, electrophoresis buffers and cell culture.
NaOH — 40.00 g/mol
Used for pH adjustment, buffer preparation and cleaning procedures.
Tris — 121.14 g/mol
Common buffer component in DNA/RNA extraction and electrophoresis.
EDTA — 372.24 g/mol
Chelating agent used in TE buffer, DNA extraction and cell lysis.

Frequently Asked Questions

What is molarity and how is it calculated?

Molarity (M) is a measure of solution concentration defined as the number of moles of solute dissolved per litre of solution. The formula is M = n / V, where n is moles of solute and V is the volume in litres. Moles can be derived from mass using n = mass (g) / molecular weight (g/mol). For example, dissolving 58.44 g of NaCl (MW = 58.44 g/mol) in 1 litre of water gives a 1 M solution. Molarity is the most widely used concentration unit in biotechnology and chemistry laboratories.

How do I use molecular weight to calculate molarity from mass?

To calculate molarity from mass, you need both the mass of the solute in grams and its molecular weight (MW) in g/mol. First, convert mass to moles using n = mass / MW. Then divide moles by the volume of solution in litres: M = n / V. For instance, to find the molarity of 20 g NaOH (MW = 40 g/mol) dissolved in 500 mL: n = 20 / 40 = 0.5 mol; M = 0.5 / 0.5 L = 1.0 M. The molecular weight of common reagents such as NaCl (58.44), Tris (121.14), and EDTA (372.24) can be found on the reagent label or in a chemical database.

What is the difference between molarity, molality, and normality?

Molarity (M) is defined as moles of solute per litre of solution and is the most common unit used in laboratory settings. Molality (m) is moles of solute per kilogram of solvent, which is useful when temperature variation matters because it is not affected by thermal expansion. Normality (N) is moles of equivalents per litre of solution and is used for acid-base and redox reactions where the reactive unit differs from a full mole. For most biotechnology applications — preparing buffers, reagents, and cell culture media — molarity is the standard unit of choice.

How do I prepare a 1 M NaCl solution in the lab?

To prepare 1 litre of 1 M NaCl, weigh out 58.44 g of NaCl (its molecular weight) and dissolve it in approximately 800 mL of distilled water in a volumetric flask. Stir until fully dissolved, then bring the volume up to exactly 1000 mL with additional distilled water. Always add solute to solvent and adjust volume after dissolution — never fill to the final volume before dissolving. For sterile applications, filter through a 0.22 µm membrane or autoclave at 121 °C for 15 minutes after preparation.

Why does my molarity calculation use volume of solution, not volume of solvent?

Molarity is defined with respect to the total volume of the final solution, not the volume of solvent used. When a solute dissolves, it contributes to the total volume, so the final volume of the solution will differ from the volume of solvent added initially. This is why volumetric flasks are used: you dissolve the solute in a partial volume of solvent, then bring the total solution to the desired final volume (e.g. 100 mL, 500 mL, 1000 mL). Using the volume of solvent instead of solution volume is one of the most common errors in solution preparation and leads to a higher-than-intended concentration.

Related Lab Calculators