Molarity Calculator - Calculate Solution Concentration (M = n/V) | Free Online Tool

Free online molarity calculator. Compute solution concentration using the formula M = n/V. Automatically converts volume units (L, mL, μL, cm³, dm³) and displays results in M, mM, μM, nM, pM. Perfect for chemistry students, lab technicians, and anyone preparing solutions.

Input Values (M = n/V)

Calculated Result

Enter required values to calculate the missing quantity

What Is a Molarity Calculator and Why Do You Need One?

A molarity calculator (also called a solution concentration calculator or M = n/V calculator) is an online tool that computes the molarity of a solution using the fundamental chemistry equation M = n / V, where M is molarity (mol·L⁻¹), n is the number of moles of solute, and V is the volume of the solution in liters. Molarity is the most common unit for expressing solution concentration, used in virtually every chemistry lab and industry that deals with aqueous solutions. A 1.00 molar solution (1.00 M) contains 1.00 mol of solute in every 1.0 L of solution.

Students in high school and college chemistry use molarity calculations daily for:

  • Preparing standard solutions for titration and calibration
  • Stoichiometry calculations involving aqueous reactions
  • Dilution problems (M₁V₁ = M₂V₂)
  • Concentration conversions (percentage to molarity, etc.)

Researchers, lab technicians, and industrial chemists use molarity to:

  • Accurately prepare reagents for chemical reactions
  • Calculate the mass of compound needed for a desired solution concentration
  • Scale chemical reactions from lab‑scale to production‑scale
  • Control solution properties in pharmaceutical, food, and environmental testing

This free online molarity tool operates entirely within your browser - no data is sent to any server, ensuring your privacy and enabling offline use. It supports 5 volume units (L, mL, μL, cm³, dm³) and 5 concentration units (M, mM, μM, nM, pM), with automatic unit conversion. You can also use the calculator to solve for moles (n = M × V) or volume (V = n / M), making it a complete solution for all three rearranged forms of the molarity equation. Whether you're a student verifying a homework problem, a lab technician preparing a precise solution, or a researcher calculating stock concentrations, this calculator is your go‑to tool.

How to Use This Free Online Molarity Calculator

Using this solution concentration calculator is straightforward. Just follow these steps:

  1. Choose what you want to calculate by selecting from the “Calculate” dropdown. Options include:
    • Molarity: Solve M = n / V (given moles and volume)
    • Moles: Solve n = M × V (given molarity and volume)
    • Volume: Solve V = n / M (given moles and molarity)
  2. Enter the known values for the required fields. For example, in "Molarity" mode, enter the number of moles and the solution volume. In "Volume" mode, enter the moles and the molarity.
  3. Select the appropriate units from the dropdown menus. Volume units include liters (L), milliliters (mL), microliters (μL), cubic centimeters (cm³), and cubic decimeters (dm³). Concentration units include Molar (M), Millimolar (mM), Micromolar (μM), Nanomolar (nM), and Picomolar (pM).
  4. View the result. The calculation happens automatically as you type (no need to press a separate Convert button). The result appears in the output panel, and you can copy it to your clipboard with a single click.
  5. Use Clear All to reset all values and start a new calculation.

The calculator also supports very small and very large numbers, making it useful for everything from concentrated stocks to trace analysis.

Tip: To calculate moles from mass (when you know the grams of solute but not the moles), use the formula n = m / MW, where m is mass in grams and MW is molecular weight in g·mol⁻¹. Then enter the resulting moles into the calculator.

The Molarity Formula - M = n / V Explained

M = n / V
Molarity = Moles of Solute ÷ Volume of Solution (in Liters)

Molarity (M) is defined as the number of moles of solute dissolved in exactly one liter of solution. It is one of the most commonly used concentration units because it directly relates the amount of substance (in moles) to the volume of the solution, making stoichiometric calculations straightforward.

The formula can be rearranged to solve for any of the three variables:

  • Molarity: M = n / V
  • Moles: n = M × V
  • Volume: V = n / M

The SI unit for molarity is mol·L⁻¹, often written as M (molar). A 1 M solution contains 1 mole of solute per liter of solution. Because molarity depends on volume, it is temperature‑dependent - volume expands with temperature, so the concentration changes slightly with temperature. (This is one difference between molarity and molality; the latter is based on mass of solvent and is temperature‑independent.)

All Supported Units - Complete Reference Tables

Volume Units

UnitSymbolValue in LCommon Uses
MicroliterμL1 × 10⁻⁶Microbiology, pipettes, molecular biology
MillilitermL0.001Medicine, chemistry lab, pipettes
Cubic centimetercm³0.001Equivalent to mL; engine displacement, lab
Cubic decimeterdm³1Equivalent to L; used in some chemistry contexts
LiterL1SI‑derived unit; standard lab and beverage volume

Concentration (Molarity) Units

UnitSymbolValue in MCommon Uses
PicomolarpM1 × 10⁻¹²Hormone assays, trace analysis, drug detection
NanomolarnM1 × 10⁻⁹Drug discovery, enzyme kinetics, IC₅₀ measurements
MicromolarμM1 × 10⁻⁶Biochemistry, cell culture, inhibitor studies
MillimolarmM0.001Buffer solutions, common lab stocks
MolarM1Standard stock solutions, high concentration

Molarity vs. Molality - Key Differences

PropertyMolarity (M)Molality (m)
Definitionmoles of solute per liter of solutionmoles of solute per kilogram of solvent
FormulaM = n / V (L)m = n / kg_solvent
SI Unitmol·L⁻¹ (mol/L or M)mol·kg⁻¹ (mol/kg or m)
Temperature DependenceDependent (volume expands/contracts)Independent (mass doesn't change with T)
Common UseRoutine lab work, titrations, stoichiometryColligative properties, thermodynamics

Because molality uses the mass of the solvent rather than the volume of the solution, it is independent of temperature. This makes molality the correct unit for colligative properties such as boiling point elevation and freezing point depression. However, for most everyday laboratory work and stoichiometric calculations, molarity is more convenient and widely used.

Example Calculations - Step‑by‑Step

Example 1 - Simple Molarity from Moles

What is the molarity of a solution prepared by dissolving 0.250 moles of NaCl in enough water to make 0.500 L of solution?

M = n / V = 0.250 mol / 0.500 L = 0.500 M

Example 2 - Molarity from Mass (via Moles)

Calculate the molarity of a solution made by dissolving 5.00 g of glucose (C₆H₁₂O₆, MW = 180.2 g/mol) in enough water to make 100.0 mL of solution.

Step 1: Find moles: n = mass / MW = 5.00 g / 180.2 g·mol⁻¹ = 0.0277 mol
Step 2: Convert volume to liters: 100.0 mL = 0.1000 L
Step 3: Calculate molarity: M = 0.0277 mol / 0.1000 L = 0.277 M

Example 3 - Finding Moles from Molarity

How many moles of sodium chloride are present in 250 mL of a 0.500 M NaCl solution?

n = M × V = 0.500 mol·L⁻¹ × 0.250 L = 0.125 mol

Example 4 - Finding Volume from Molarity

What volume of a 0.200 M NaOH solution contains 0.0500 mol of NaOH?

V = n / M = 0.0500 mol / 0.200 mol·L⁻¹ = 0.250 L (250 mL)

Real‑World Applications of Molarity

1. Chemistry Laboratory

Standard solutions of known molarity are prepared for titrations, calibration curves, and quality control. For example, a 0.100 M HCl solution is commonly used for acid‑base titrations with NaOH. The molarity is used to determine the moles of reactant consumed in a reaction.

2. Pharmaceutical Formulation

Oral and injectable medications are often prepared at specific molar concentrations. The exact amount of active pharmaceutical ingredient (API) must be calculated using the molar mass and desired volume. Even small errors in molarity can affect drug efficacy and patient safety.

3. Biochemical and Cell Culture Work

Growth media, buffer solutions, and reagent stocks in biology labs are prepared at specific molarities (e.g., 1 M Tris‑HCl, 0.5 M EDTA). Cell culture additives like antibiotics are often added to media at micromolar or millimolar concentrations.

4. Environmental Testing

Water quality labs use molarity to prepare standards for atomic absorption spectroscopy (AAS), ICP‑MS, and ion chromatography. The concentration of pollutants in water samples is often expressed in mg/L or mol/L (molarity).

Frequently Asked Questions (FAQ) About Molarity

How do I calculate molarity from moles and volume?

Use the formula M = n / V. Enter the number of moles of solute and the solution volume (in liters). Our calculator automatically converts other volume units (mL, μL, etc.) to liters before calculating.

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution and is temperature‑dependent. Molality (m) is moles of solute per kilogram of solvent and is temperature‑independent. Molality is preferred for colligative properties like freezing point depression; molarity is more common for everyday lab work.

Why do I need to convert volume to liters?

The molarity formula (M = n/V) requires volume in liters because molarity is defined as moles per liter. If you use milliliters, you will get a numerical result that is off by a factor of 1000. Our calculator handles the conversion automatically.

What if I only know the mass (in grams) of my compound?

First, calculate the number of moles using n = mass (g) / molar mass (g·mol⁻¹). Then enter the resulting moles into the calculator. Alternatively, many molarity calculators (including this one) allow you to enter mass and molecular weight to compute moles automatically.

How accurate is this molarity calculator?

The calculator uses the exact formula M = n / V with results displayed to 6 decimal places. It is more than accurate enough for educational labs, industrial QC, and research applications.

Is my data secure when using this online molarity calculator?

Absolutely. All calculations happen locally in your browser using JavaScript. No data is transmitted to any server - your inputs remain on your own device. This ensures your privacy and also means the tool works offline after the initial page load.

Can I use this molarity calculator offline?

Yes. Once the page has loaded, all calculation logic runs locally in your browser. No internet connection is required after the first load - perfect for use in labs without Wi‑Fi or during travel.

Why Choose Our Molarity Calculator Over Others?

  • Completely free, no registration. Unlimited calculations with no hidden costs.
  • Privacy‑first design. All calculations happen locally in your browser. Your data never leaves your device.
  • Solves for any variable - molarity, moles, or volume. Simply select your calculation mode.
  • Supports 5 volume units and 5 concentration units - from picoliters to liters, from picomolar to molar.
  • High precision with results to 6 decimal places, suitable for educational, lab, and research use.
  • Works offline after initial page load.
  • Fully responsive design with resizable panels on desktop for custom workflow.