Molarity Calculator

Calculators  ›  Lab Prep Tools  ›  Molarity Calculator

Molarity Calculator

Calculate the exact mass to weigh, final volume, or concentration for any laboratory solution. Instantly switch between find mass, find volume, and find molarity modes depending on the variables you know.

  • Supports all standard units (M, mM, µM, nM, g, mg, µg, L, mL, µL).
  • Generates automated bench preparation instructions.
  • Includes a quick-fill database of common lab compound molecular weights.

Common uses: 🧬 Buffer Prep 🧪 Cell Culture Media 🔬 Reagent Stocks ✓ Free · No login

Molarity Calculator

Calculate how much solute to weigh for any solution — or work backwards from a known mass to find the resulting molarity. Three solve modes cover the most common bench scenarios in biochemistry, molecular biology, and cell culture.

Lab Prep Tools M = moles / V

Solution Parameters

Used to personalise the preparation instructions. Leave blank to use generic steps.
click to auto-fill MW
Clicking fills the MW field and sets the solute name automatically.
g/mol
Find MW on the reagent bottle, supplier catalogue, or PubChem. For proteins, use the MW from the sequence calculator or supplier datasheet.
Molarity (M) = moles of solute per litre of solution. Switch units using the dropdown — the conversion is automatic.
Use volumetric flasks (100 mL, 250 mL, 500 mL, 1 L) for highest accuracy. Never prepare solutions directly in measuring cylinders.
Used when back-calculating molarity from a known weighed amount. Switch units using the dropdown.
Moles
Mass
Molarity
Volume

Results

Mass Required
Weigh on an analytical balance
Moles
Amount of substance
Molarity
mol / L of solution
Volume
Final solution volume
Solute:

Formulae Used updates as you type

Three formulae connect molarity, volume, moles, and mass. Solve for any one unknown given the other three.

Molarity Definition
M = moles / V
? = ? / ?
Molarity expresses the amount of substance dissolved per unit volume of solution. The volume refers to the final solution volume — not the solvent volume alone.
Step 1 — Moles Required
moles = M × V
? = ? × ?
Rearranging the molarity definition. V must be in litres; convert mL → L by dividing by 1000 before calculating.
Step 2 — Mass Required
mass = moles × MW
? = ? × ?
The molecular weight (g/mol) converts from amount of substance (mol) to a weighable mass in grams. Find MW on the reagent bottle label or supplier datasheet.
Dilution from Stock (C₁V₁ = C₂V₂)
V₁ = (C₂ × V₂) / C₁
Use when diluting a concentrated stock solution — see the Primer Dilution Calculator.
If you already have a concentrated stock, the Primer Dilution Calculator on this platform can calculate the exact transfer and diluent volumes needed.

Symbol Reference

Symbol Meaning SI Unit Common Lab Units
M Molarity — concentration of solution mol/L M, mM, µM, nM
n Amount of substance (moles) mol mol, mmol, µmol, nmol
V Final solution volume L L, mL, µL
MW Molecular weight of solute g/mol Da, kDa (× 1000 for g/mol)
m Mass of solute g g, mg, µg, kg

Solution Preparation — Visual Guide

Accurate molar solutions depend on technique as much as calculation. Always add solvent to the solute — never weigh directly into a volumetric flask. Final volume adjustment must be done at the correct temperature.

⚖️
Weigh solute
Analytical balance
Tared weighing boat
🥃
Dissolve in beaker
~80% final volume
Stir until clear
🧪
Transfer to flask
Volumetric flask
Rinse beaker 3×
💧
Add to mark
Dropwise near mark
Eye level meniscus
🔄
Mix & label
Invert 10×
Name, conc, date
🧊
Store correctly
4 °C / −20 °C
Light-protect if needed
Critical: always adjust to final volume — never final volume of water. Adding 1 L of water to your solute is incorrect and will give the wrong concentration. Dissolve in less water first, then bring the total solution volume to 1 L using a volumetric flask.

Common Lab Compounds Reference

Click Use to auto-fill any compound into the calculator above.

Compound Formula MW (g/mol) Typical Use
Sodium Chloride NaCl 58.44 Buffers, saline, osmotic control
Sodium Hydroxide NaOH 40.00 pH adjustment, lysis
Potassium Chloride KCl 74.55 Buffers, electrolyte solutions
Calcium Chloride CaCl₂ 110.98 Cell culture media, competent cells
Magnesium Chloride MgCl₂ 95.21 PCR buffer, enzyme cofactor
D-Glucose C₆H₁₂O₆ 180.16 Cell culture energy, osmotic control
Sucrose C₁₂H₂₂O₁₁ 342.30 Density gradients, cryoprotection
Tris base C₄H₁₁NO₃ 121.14 Buffering (pH 7.0–9.0)
EDTA (free acid) C₁₀H₁₆N₂O₈ 292.24 Metal chelation, lysis buffers
HEPES (free acid) C₈H₁₈N₂O₄S 238.31 Cell culture, CO₂-independent buffer
DTT C₄H₁₀O₂S₂ 154.25 Reducing agent, protein stability
IPTG C₉H₁₈O₅S 238.30 Lac operon induction
Ampicillin C₁₆H₁₉N₃O₄S 349.40 Antibiotic selection
Urea CH₄N₂O 60.06 Protein denaturation (8 M)

Step-by-Step Bench Procedure

Follow these steps for accurate, reproducible molar solutions every time.

  1. 1
    Look up the molecular weight (MW)

    Check the reagent bottle label, the certificate of analysis (CoA), or the supplier catalogue. Use the exact MW listed — anhydrous vs. hydrated forms have different MWs (e.g. MgCl₂ 95.21 g/mol vs. MgCl₂·6H₂O 203.30 g/mol).

  2. 2
    Calculate mass and tare your balance

    Enter your target molarity, volume, and MW into the calculator. Note the mass required, then tare (zero) an analytical balance with a clean, dry weighing boat. Weigh directly to ±0.001 g accuracy — never estimate.

  3. 3
    Pre-dissolve in a beaker with ~80% of the final volume

    Transfer your weighed solute to a glass beaker. Add approximately 80% of the final target volume of distilled water or appropriate buffer. Stir on a magnetic stirrer or swirl until completely dissolved. For heat-sensitive compounds, dissolve at room temperature and avoid excessive agitation.

    💡 Why 80%? Dissolving in less than the final volume allows you to adjust the total volume precisely in the volumetric flask, avoiding overshoot. The solute volume itself contributes to total volume.
  4. 4
    Transfer to a volumetric flask and rinse

    Pour the dissolved solution into a volumetric flask of the appropriate size. Rinse the beaker 3× with small amounts of distilled water and add the rinse to the flask. This ensures complete quantitative transfer.

  5. 5
    Adjust to the graduation mark

    Using a wash bottle or pasteur pipette, add water dropwise until the bottom of the meniscus just touches the graduation mark. Read at eye level — parallax error will give the wrong volume. Allow the flask to equilibrate to room temperature before reading if exothermic dissolution has occurred.

    Temperature matters: Volumetric flasks are calibrated at 20–25 °C. Solutions prepared hot will contract as they cool — always adjust volume at room temperature.
  6. 6
    Mix, label, and store

    Stopper the flask firmly and invert 10–15 times to ensure uniform mixing. Label immediately with: compound name, concentration, solvent, date, lot number, and your initials. Store at the temperature specified for your reagent.

Tips & Troubleshooting

Check hydration state of your reagent

Many salts are sold as hydrates (e.g. MgCl₂·6H₂O, Na₂HPO₄·2H₂O). The MW printed on the bottle includes the water molecules — always use the MW on the bottle label, not from memory.

Use a pH meter after preparation

Many buffer solutions require pH adjustment after dissolving (e.g. Tris, HEPES, phosphate). Prepare slightly above target volume, adjust pH with HCl or NaOH, then bring to final volume in the volumetric flask.

Avoid preparing in measuring cylinders

Measuring cylinders are for approximate volumes only (±5%). For accurate molar solutions, always use Class A volumetric flasks. The accuracy of your solution is only as good as your volume measurement.

Prepare from fresh for critical applications

Enzyme assays, cell culture experiments, and qPCR standard curves require freshly prepared solutions. Reagents like DTT, IPTG, and antibiotics degrade rapidly at room temperature — prepare on the day of use or aliquot and store at −20 °C.

Never add water to concentrated acids or bases

Always add concentrated acid or base slowly to water — never add water to the concentrated reagent. The exothermic reaction can cause dangerous spattering. Work in a fume hood with appropriate PPE.

Do not prepare solutions in plastic if using organic solvents

Organic solvents (ethanol, DMSO, acetonitrile) can leaching plasticisers from polypropylene tubes and flasks. Use borosilicate glass for all organic solvent-based solutions, and check solvent compatibility for every plasticware type before use.

What is Molarity?

Molarity (M) defines the concentration of a solution by measuring the number of moles of a solute dissolved per litre of solution. It is the universal standard for preparing reagents in molecular biology and biochemistry labs.

Crucially, molarity relies on the final volume of the entire mixture, not the volume of the solvent. Because solute molecules take up physical space when dissolved, adding exactly one litre of water to a heavy solid will result in a total volume greater than one litre, skewing the final concentration.

How the Molarity Calculator Works

This calculator interlinks the four fundamental properties of a solution: molarity, volume, moles, and molecular mass. It primarily uses the formulas M = moles / volume and mass = moles × MW to solve for your unknown variable instantly.

  • Find Mass Mode: Enter target molarity, volume, and MW to find how much powder to weigh.
  • Find Volume Mode: Determine how much solvent is needed to reach a specific molarity with a known mass.
  • Find Molarity Mode: Back-calculate the exact concentration after dissolving a specific mass into a known volume.

Worked Example (Molarity → Mass)

Imagine you need to prepare 500 mL of a 1 M Sodium Chloride (NaCl) solution. The molecular weight (MW) of NaCl is 58.44 g/mol. Setting the calculator to "Find Mass" applies the formula to determine the exact weight needed.

Concentration Final Volume Mass Required
1 M 500 mL 29.22 g

To prepare it, you would weigh exactly 29.22 g of NaCl, dissolve it in ~400 mL of water, and then carefully adjust the final volume up to the 500 mL mark using a volumetric flask.

Worked Example (Mass → Molarity)

Sometimes you weigh a reagent and need to know the resulting concentration. For example, if you weigh exactly 5 g of Tris base (MW = 121.14 g/mol) and dissolve it into a final volume of 250 mL.

Switching the calculator to "Find Molarity" mode reveals that the solution contains ~0.041 moles. Divided by 0.25 L, the resulting concentration is exactly 165.1 mM (0.165 M).

Solution Preparation Principles

A mathematically correct mass only yields a correct molarity if mixed properly at the bench. Keep these principles in mind to avoid concentration drift.

  • 🌡️ Temperature Control: Adjust your final volume only when the liquid is at room temperature. Exothermic reactions expand liquids, creating errors.
  • ⚖️ Analytical Precision: Always use an analytical balance to weigh your calculated mass and a Class A volumetric flask to set your final volume.
  • 💧 Hydration States: Always verify the chemical hydration state (e.g., anhydrous vs. hexahydrate) on the physical bottle to ensure the molecular weight matches your calculation.

Common Applications

Molar solution preparation is a universal skill used across virtually every area of the life sciences.

  • 🧫 Cell Culture Media: Preparing precise molar concentrations of amino acids, glucose, and salts to maintain osmotic balance for cell lines.
  • 🔬 Buffer Preparation: Creating Tris, PBS, or HEPES buffers requiring exact molar amounts to lock into specific pH ranges.
  • 🧪 Enzyme Kinetics: Standardising substrate and inhibitor concentrations to accurately map reaction rates (Km, Vmax).

Common Mistakes

🔴

Adding solvent directly to the final volume

If you need 1 L of solution, do not add 1 L of water to the powder. The powder displaces volume. Dissolve in ~800 mL first, then top up to the 1 L mark.

🟡

Using the wrong molecular weight

Assuming MW from memory often ignores the hydration salts attached to the molecule (like ·2H₂O). Always read the MW printed directly on your reagent bottle.

🟡

Measuring volume in beakers

Beakers and Erlenmeyer flasks have up to a ±5% volume error margin. Always use a volumetric flask for the final liquid adjustment.

Frequently Asked Questions

What is molarity and how is it calculated?
Molarity (M) is the number of moles of solute per litre of solution. Formula: Molarity = moles / volume (L) = mass (g) / (molecular weight (g/mol) × volume (L)).
How do I calculate the mass needed to make a molar solution?
Use the formula: mass (g) = Molarity (mol/L) × Volume (L) × Molecular Weight (g/mol). For example, for 500 mL of 1 M NaCl (MW = 58.44 g/mol): 1 × 0.5 × 58.44 = 29.22 g.
How do I convert mg/mL to mM?
Divide the concentration in mg/mL by the molecular weight in g/mol, then multiply by 1000 to convert to mM. Formula: mM = (mg/mL ÷ MW) × 1000.
What is the difference between molarity and molality?
Molarity (M) is moles of solute per litre of solution, while molality (m) is moles of solute per kilogram of solvent. Molarity changes with temperature (as volume changes); molality does not. Molarity is the standard for laboratory solutions.
How do I calculate the molarity of a diluted solution?
Use the dilution equation C₁V₁ = C₂V₂, where C₁ is the initial concentration, V₁ is the initial volume, C₂ is the target concentration, and V₂ is the final volume. Solve for the unknown variable.
Is the LabPrepX Molarity Calculator free?
Yes. The Molarity Calculator is completely free with no login required. Simply enter molecular weight, mass or concentration, and volume — and get instant results.