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.

⚗️
Molarity Calculator
FREE TOOL
Solve For:
NaCl 58.44
NaOH 40.00
Tris 121.14
EDTA 372.24
KCl 74.55
Glucose 180.16
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

Introduction

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. Select what you want to solve for using the "Solve For" buttons at the top of the calculator, enter your known values with the correct units, and click Calculate to get an instant, complete breakdown of all four parameters.

About the Molarity Calculator

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. This calculator solves the standard molarity relationship in any direction — given any two of moles, molarity, and volume (or mass and molecular weight in place of moles), it computes the remaining unknowns automatically, so you never have to rearrange the formula by hand.

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.

Understanding the Inputs

The calculator has five possible fields, and you only need to fill in the ones relevant to what you already know. Selecting a "Solve For" target automatically hides that field, since it is the value being calculated.

Solve For — sets which of the four quantities (Molarity, Moles, Volume, or Mass) the calculator computes for you.
Moles of Solute (n) — the amount of substance you are dissolving, entered directly in mol, mmol, or µmol.
Molarity (M) — the target or known concentration, entered in M, mM, or µM.
Volume of Solution (V) — the total volume of the final solution (not the volume of solvent added), entered in L, mL, or µL.
Mass of Solute (g) — the weighed-out mass of solute, entered in g, mg, or µg — used together with Molecular Weight to derive moles when moles are not already known.
Molecular Weight (g/mol) — the molar mass of your solute. Use one of the preset chips for common reagents or enter a custom value; this field stays visible in every mode because it is needed to cross-check mass against moles.

The Molarity Formula

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.

All five quantities are related through this single relationship, so the calculator rearranges the same formula algebraically depending on which variable you select as your "Solve For" target.

Worked Example

Sample Input: 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. Solve For → Molarity; Mass = 5.85 g; Volume = 250 mL; Molecular Weight = 58.44 g/mol.

Step-by-Step Calculation:
Step 1 — Convert mass to moles: n = mass / MW = 5.85 g ÷ 58.44 g/mol = 0.1001 mol.
Step 2 — Convert volume to litres: V = 250 mL = 0.25 L.
Step 3 — Apply the molarity formula: M = n / V = 0.1001 mol ÷ 0.25 L = 0.4004 mol/L.

Final Result: M ≈ 0.4 M.

Interpretation: This confirms the stock is a 0.4 M NaCl solution — a typical working concentration that you can verify on the bench before adding it to a buffer or reaction, and it falls comfortably within the solubility limit of NaCl in water.

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.

Practical Applications

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.

Scientific Notes & Limitations

This calculator applies the standard molarity relationship M = n / V and assumes an ideal, fully dissolved solution at the stated final volume. It does not automatically correct for reagent purity, assay value, or water of crystallisation in a hydrated salt — you must enter the molecular weight of the specific form you are weighing (anhydrous or hydrated) and adjust the mass yourself if the reagent is not 100% pure. The calculator also does not account for temperature-dependent volume changes; volumetric glassware is calibrated at a reference temperature (commonly 20 °C), so solutions prepared or measured at very different temperatures may deviate slightly from the calculated concentration. For very concentrated or non-ideal solutions, activity coefficients can cause the effective (thermodynamic) concentration to differ from the calculated molarity — this tool reports nominal molarity, not activity.

Practical Tips

Use the molecular weight preset chips for common reagents (NaCl, NaOH, Tris, EDTA, KCl, Glucose) to fill the field instantly and avoid transcription errors. After calculating, use the Copy Result button to paste the answer straight into your lab notebook or protocol, or use Print / Save Result to keep a physical or PDF record. Watch for the amber advisory message — it flags concentrations above roughly 10 M or unusually large masses, which usually indicate a unit mistake rather than a real solubility limit. When switching between fields, double-check the unit dropdown next to each input, since the calculator always converts to SI base units internally before computing.

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.

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.