🧪 Calculate Moles, Molarity, Volume & Mass in Seconds

Molarity Calculator

Instantly calculate molar concentration, moles of solute, solution volume, mass, and perform dilution calculations — for chemistry students, educators, and lab professionals.

Calculate Molarity (M)

Enter moles of solute and volume of solution to find the molar concentration.

M = n ÷ V Molarity (mol/L) = Moles of Solute ÷ Volume of Solution (L)
Moles of Solute (n)
Volume of Solution (V)

Calculate Moles of Solute

Enter molarity and volume to find the number of moles, OR enter mass and molecular weight.

n = M × V Moles = Molarity (mol/L) × Volume (L)
Molarity (M)
mol/L
Volume (V)

Calculate Mass of Solute

Enter molarity, volume, and molecular weight to find how many grams of solute you need.

m = M × V × MW Mass (g) = Molarity × Volume (L) × Molecular Weight (g/mol)
Molarity (M)
M
Volume (V)
Molecular Weight
g/mol
Quick-fill Molecular Weight

Calculate Volume of Solution

Enter moles of solute and desired molarity to find the volume of solution needed.

V = n ÷ M Volume (L) = Moles ÷ Molarity (mol/L)
Moles of Solute (n)
Molarity (M)
mol/L

Dilution Calculator (M₁V₁ = M₂V₂)

Solve for any one unknown. Leave one field blank — the tool solves for it automatically.

M₁ × V₁ = M₂ × V₂ Stock Molarity × Stock Volume = Final Molarity × Final Volume
STOCK SOLUTION
Concentration M₁
mol/L
Volume V₁
FINAL SOLUTION
Concentration M₂
mol/L
Volume V₂

Molality Calculator (m)

Calculate molality — moles of solute per kilogram of solvent (not solution).

m = n solute ÷ kg solvent Molality (mol/kg) = Moles of Solute ÷ Mass of Solvent (kg)
Moles of Solute (n)
mol
Mass of Solvent
Molarity vs Molality

Molarity (M) = moles per liter of solution — changes with temperature.
Molality (m) = moles per kg of solvent — temperature-independent, ideal for colligative properties.

Calculation History

No calculations yet. Start calculating above to see your history here.

Share this Tool

The Complete Guide to Molarity: Formulas, Calculations & Chemistry Lab Applications

Whether you're preparing solutions in a research lab, studying for a chemistry exam, or teaching concentration concepts, understanding molarity is the cornerstone of quantitative chemistry. This guide covers everything you need.

What Is Molarity — and Why Is It the Central Concept of Solution Chemistry?

Molarity (M), also called molar concentration, is defined as the number of moles of a solute dissolved per litre of solution. It is the most widely used unit of concentration in chemistry, biochemistry, pharmacology, environmental science, and industry — because it directly relates the amount of chemical substance to the volume of solution in a way that is both physically meaningful and mathematically convenient. When a solution is described as "1.0 M NaCl", it means that exactly one mole of sodium chloride (58.44 grams) is dissolved in enough water to make one litre of solution.

The concept was formalized in the 19th century alongside the development of modern stoichiometry, and it has remained unchanged because it aligns naturally with the way chemical reactions are quantified. Reaction stoichiometry operates in moles — the mole being the SI unit representing 6.022 × 10²³ particles (Avogadro's number). Since molarity expresses concentration in moles per litre, it allows chemists to directly translate between the volume of a solution used and the number of moles of reactant or product involved, which is the heart of all quantitative wet chemistry.

"Molarity is to chemistry what density is to physics — a fundamental bridge between the macroscopic world we measure (litres, grams) and the submicroscopic world where chemistry actually happens (atoms, molecules, moles). Every solution preparation, titration, and kinetics experiment depends on knowing the molarity of the solutions involved."

How the Molarity Calculator Works — Six Calculation Modes

Our calculator provides six interconnected calculation modes covering every aspect of solution concentration work. Each mode solves for a different unknown, with built-in unit conversion so you never have to manually convert between millilitres, litres, grams, milligrams, or moles before entering values.

Molarity (M = n ÷ V)

Enter moles of solute and volume of solution in any unit (L, mL, µL). The calculator converts to litres automatically and returns molarity in mol/L. The result is also expressed in mmol/mL (which equals mol/L) and µmol/µL for lab convenience.

Moles (n = M × V or n = m ÷ MW)

Two sub-modes: calculate moles from molarity × volume, or from mass ÷ molecular weight. The second sub-mode is essential for solution preparation — you know the target molarity and volume but need to know how many grams to weigh out, which requires knowing moles first.

Mass (m = M × V × MW)

The most practically useful mode for lab work. Enter target molarity, desired volume, and molecular weight of the compound — the calculator tells you exactly how many grams to weigh. Quick-fill buttons for 7 common compounds (NaCl, Glucose, NaOH, HCl, H₂SO₄, Sucrose, CaCl₂) speed up routine solution preparation.

Dilution (M₁V₁ = M₂V₂)

Leave any one of the four variables blank — the calculator identifies which is unknown and solves for it. The result includes a clear dilution protocol: how many mL of stock solution to take and what final volume to dilute to, expressed in the most practical units for pipetting.

The Molarity Formula: From Theory to Practical Calculation

The core molarity formula is elegantly simple: M = n / V, where M is molarity in moles per litre, n is the number of moles of solute, and V is the volume of solution in litres. From this single equation, four different calculations can be performed depending on which variable is unknown, and the equation rearranges naturally to cover all scenarios encountered in chemistry work.

Solving for Molarity

M = n ÷ V — Used when you know how many moles of compound were dissolved and the final volume of solution. Most commonly encountered when verifying the concentration of a solution already prepared. Example: 0.146 mol NaCl dissolved in 250 mL = 0.146 ÷ 0.250 = 0.584 M.

Solving for Moles

n = M × V — Used when you need to know how many moles of solute are present in a specific volume of solution at known concentration. Critical for stoichiometry calculations. Example: 500 mL of 0.1 M HCl contains 0.1 × 0.500 = 0.05 mol HCl.

Solving for Volume

V = n ÷ M — Used when you have a specific number of moles and want to know what volume of solution at a given concentration contains that amount. Also useful in titration planning. Example: To deliver 0.025 mol at 2.0 M, use 0.025 ÷ 2.0 = 0.0125 L = 12.5 mL.

Mass from Molarity (Solution Preparation)

m = M × V × MW — The single most important calculation for solution preparation. Tells you exactly how many grams of compound to weigh. Example: To make 500 mL of 1.0 M NaCl: 1.0 × 0.500 × 58.44 = 29.22 g NaCl.

Dilution Calculations: The M₁V₁ = M₂V₂ Equation Explained

Dilution is the process of reducing the concentration of a solution by adding more solvent. The fundamental law governing dilution is that the number of moles of solute doesn't change during dilution — only the volume increases. This gives us the dilution equation: M₁V₁ = M₂V₂, where subscript 1 refers to the concentrated stock solution and subscript 2 to the diluted final solution.

The Golden Rule of Dilution: Moles of solute before dilution = Moles of solute after dilution. Since n = M × V, and moles are conserved: M₁ × V₁ = M₂ × V₂. This equation can solve for any one of the four variables when the other three are known — which is exactly what our dilution calculator does automatically.

Finding Volume of Stock (V₁)

Most common use: "How many mL of 5.0 M stock solution do I need to make 100 mL of 0.5 M solution?" V₁ = M₂ × V₂ ÷ M₁ = 0.5 × 100 ÷ 5.0 = 10 mL stock. Then add water to 100 mL total volume.

Finding Final Concentration (M₂)

When you've added a known volume of stock to reach a known final volume: M₂ = M₁ × V₁ ÷ V₂. Used to verify the actual concentration after dilution or to track serial dilution series concentrations step by step.

Molality vs Molarity: Knowing When to Use Each

Molality (lowercase m, in units of mol/kg) is often confused with molarity (uppercase M, mol/L) by students, but they measure fundamentally different things and are used in different contexts. Molarity measures moles per litre of solution, while molality measures moles per kilogram of solvent. The critical difference is that molality is temperature-independent, while molarity changes with temperature because solution volume expands and contracts.

Use Molarity (M) When:

  • Preparing lab reagents and standard solutions
  • Performing titrations and stoichiometry
  • Working at a specific temperature (typically 25°C)
  • The concentration is specified in mol/L on reagent labels
  • Calculating amounts for volumetric glassware

Use Molality (m) When:

  • Studying colligative properties (freezing point depression, boiling point elevation)
  • Working at varying temperatures where volume changes matter
  • Calculating osmotic pressure precisely
  • Pharmaceutical formulations with temperature sensitivity
  • Electrochemical studies requiring temperature independence

Who Benefits from the Molarity Calculator?

From undergraduate chemistry students preparing their first solutions to seasoned pharmaceutical chemists designing drug formulations, precise concentration calculations are needed at every level of chemistry practice. Our calculator eliminates calculation errors, saves time, and provides the full range of solution chemistry calculations in one integrated tool.

Chemistry Students

Undergraduate and postgraduate chemistry students perform molarity calculations daily — for pre-lab preparation, in-lab solution making, post-lab analysis, and exam practice. Our calculator instantly checks manual calculations and provides the step-by-step logic students need to understand each result, not just get the number.

Research Scientists & Lab Technicians

Research laboratories preparing buffers, reagents, standard solutions, and culture media require accurate molarity calculations at every step. The Mass Calculator mode — which tells you exactly how many grams of compound to weigh for a target molarity and volume — is the single most used function in wet lab environments worldwide.

Chemistry Educators & Professors

Teachers demonstrating solution preparation and dilution calculations can use this tool in live classroom settings. The clear formula displays, unit flexibility, and step-by-step dilution protocols make it an excellent teaching aid that students can then use independently for homework and laboratory assignments.

Pharmaceutical & Industrial Chemists

Pharmaceutical formulators, quality control analysts, environmental chemists, and industrial process engineers all work with concentration calculations as part of routine operations. The calculation history and CSV export features allow these professionals to document their solution preparation calculations for batch records and regulatory compliance purposes.

Real-World Applications of Molarity Calculations

Molarity is not just a classroom concept — it governs the preparation of virtually every chemical solution used in science, medicine, and industry. 🔬 Here are the fields and specific applications where accurate molarity calculations are mission-critical.

Who Needs This Tool?

  • Biochemists & Molecular Biologists: Preparing buffers (PBS, Tris, HEPES), enzyme solutions, substrate concentrations, and cell culture media at precise molarities. A mistake in buffer preparation can ruin experiments worth thousands of dollars in reagents and weeks of work.
  • Clinical Laboratory Scientists: Hospital and clinical laboratories prepare standard solutions for calibration, reagents for diagnostic assays, and reference standards for analytical instruments — all requiring exact molar concentrations verified by calculation.
  • Environmental Scientists: Preparing calibration standards for environmental water quality testing, soil analysis, and air pollutant measurements. Accurate standard concentrations are essential for instrument calibration in parts-per-million and parts-per-billion measurements.
  • Pharmacists & Pharmaceutical Scientists: Drug solution concentrations, IV drip preparations, compounding pharmacy calculations, and dissolution testing all involve precise molarity calculations that directly affect patient safety.

The Mathematical Foundation

The complete relationship between all solution concentration variables:

M = n/V   |   n = M×V   |   V = n/M   |   m = M×V×MW
Dilution: M₁V₁ = M₂V₂   |   Molality: b = n/kg(solvent)

This complete formula set allows any solution chemistry problem to be solved — from the simplest concentration calculation to multi-step serial dilution series used in biological assays.

Key Features of Our Advanced Molarity Calculator

Six calculation modes, automatic unit conversion, quick-fill compound presets, dilution protocol generation, and full calculation history — all free and fully private.

01

6 Calculation Modes

Molarity, Moles (from M×V or m÷MW), Mass, Volume, Dilution (M₁V₁=M₂V₂), and Molality — covering every solution concentration calculation scenario encountered in chemistry education and research. Switch instantly between modes without losing previously entered data.

02

Auto Unit Conversion

Enter volumes in L, mL, or µL. Enter amounts in mol, mmol, or µmol. Enter masses in g, mg, or kg. The calculator converts all inputs to base SI units automatically before computing, eliminating the most common source of concentration calculation errors in lab settings.

03

100% Private & Free

All calculations run entirely within your browser using JavaScript — no data is ever sent to any server. Your concentration values, compound information, and calculation history stay private on your device. Works fully offline after page load. No account, no limits, no charges.

04

History & Export

Every calculation is automatically saved to the History tab with its type, inputs, result, formula used, and timestamp. Export your complete calculation session as a CSV file for documentation in lab notebooks, batch records, or assignment submission. Clear history anytime with one click.

Pro Tips for Using the Molarity Calculator Effectively

💡
Use the Mass Calculator for every solution preparation — don't calculate manually

The most common calculation error in lab work is incorrectly calculating grams from molarity. Use the Mass tab every time you prepare a solution: enter your target molarity, desired final volume, and molecular weight, then click Calculate Mass. The quick-fill compound buttons for NaCl, NaOH, HCl, Glucose, and other common compounds make this even faster.

🔍
For dilutions, always identify your unknown before opening the calculator

The dilution calculator solves for whichever variable you leave blank. Before entering numbers, clearly identify which of the four variables (M₁, V₁, M₂, V₂) you need to find and leave that field empty. The most common use is finding V₁ (how much stock to take) — enter M₁, leave V₁ blank, enter M₂ and V₂.

📋
Export your History to CSV for lab notebook documentation

Good laboratory practice (GLP) requires documentation of all calculations used in solution preparation. After completing a set of calculations for a lab session or experiment, switch to the History tab and click Export CSV. The exported file includes all inputs, results, formulas, and timestamps — ready to paste into your electronic lab notebook or attach to a batch record.

📦
Check your molecular weight from a reliable source before calculating

The Mass and Moles calculations are only as accurate as the molecular weight you enter. Always verify the molecular weight from the chemical's Safety Data Sheet (SDS), the supplier's certificate of analysis, or a peer-reviewed chemical database (PubChem, ChemSpider). For hydrated salts, use the molecular weight of the hydrate form that you actually have in hand — e.g., MgSO₄·7H₂O has MW 246.47, not 120.37 for anhydrous MgSO₄.

Frequently Asked Questions

Conclusion

Molarity is the language in which chemistry solutions speak — it is the universal currency of concentration that connects the macroscopic world of grams and litres to the submicroscopic world of molecules and moles. Whether you are a student preparing your first 0.1 M NaCl solution, a researcher making a 50 mM enzyme buffer, or a pharmacist verifying a drug concentration calculation, accurate molarity mathematics is non-negotiable. Our free Molarity Calculator provides all six fundamental concentration calculation modes in a single, private, browser-based tool — eliminating manual calculation errors and the time-consuming unit conversions that introduce mistakes into even experienced chemists' work. Start calculating with confidence.

Ready to Calculate Molarity & Prepare Your Solutions?

Use our advanced Molarity Calculator now — get accurate concentration, mass, volume, and dilution results instantly!