Molarity Calculator

Molarity (M) = moles of solute ÷ litres of solution, so mass (g) = M × V (L) × MW (g/mol). Enter any three values below to solve for the fourth, or convert molarity to mg/mL (mg/mL = M × MW) using the built-in MW library of 50+ reagents.

Molarity Solver
How to use: pick a mode above (molarity solver, percent solution, unit converter, or reagent MW library), enter your values, and read the result. Click a common reagent to auto-fill its molecular weight.

mass (g) = Molarity (M) x Volume (L) x MW (g/mol). Select what to solve for:

Common Reagents
Molecular Weight (g/mol)
Concentration
Volume
Mass (g)
Percent Solution Calculator

% w/v = (mass of solute in g / volume of solution in mL) x 100

Desired Percentage (%)
Final Volume (mL)
Concentration Unit Converter

Convert between molar concentration units. Optionally enter MW to convert to mass concentration (mg/mL).

Input Value
Input Unit
Molecular Weight (g/mol, optional — for mg/mL conversion)
Reagent Molecular Weight Library

Click any reagent to load its MW into the molarity calculator.

ReagentFormulaMW (g/mol)

How to calculate molarity and prepare solutions

Molarity (M) is the most common concentration unit in laboratory science, defined as moles of solute per liter of solution. The fundamental relationship connecting mass, molarity, volume, and molecular weight is: mass (g) = Molarity (mol/L) x Volume (L) x Molecular Weight (g/mol). This equation can be rearranged to solve for any unknown when the other three values are known.

Percent solutions are commonly used for reagents where precise molar concentrations are less important. The three types are: % w/v (grams per 100 mL, most common in biology), % v/v (milliliters per 100 mL, used for liquid solutes like ethanol), and % w/w (grams per 100 g total, used in pharmacy and food science).

When preparing solutions, always dissolve the solute in less than the final volume of solvent, then bring to the final volume in a volumetric flask. This ensures accurate final concentration. For temperature-sensitive reagents like Tris, adjust pH at the temperature the buffer will be used, as pKa values shift with temperature.

Related Tools & Articles

Buffer Preparation Calculator
Stock solutions, dilutions, Henderson-Hasselbalch, serial dilutions
Protein MW Calculator
MW, extinction coefficient, pI from amino acid sequence
Protein Concentration Calculator
BCA, Bradford, A280 standard curve fitting
Master Mix Calculator
PCR / qPCR reaction setup with dead-volume overage
How to Calculate Molarity
Guide: molarity formula, dilutions & percent solutions

Frequently Asked Questions

How do I calculate the mass of solute needed for a molar solution?

Use the formula: mass (g) = Molarity (M) x Volume (L) x Molecular Weight (g/mol). For example, to make 500 mL of 1 M NaCl (MW = 58.44): mass = 1 x 0.5 x 58.44 = 29.22 g. Dissolve in ~400 mL water, then top up to 500 mL.

What is the difference between % w/v, % v/v, and % w/w?

% w/v (weight/volume) = grams of solute per 100 mL of solution — most common in biology labs. % v/v (volume/volume) = mL of liquid solute per 100 mL solution — used for liquids like ethanol, methanol, Tween. % w/w (weight/weight) = grams of solute per 100 g total — used in pharmacy and food science.

How do I convert molarity to mg/mL?

Use mg/mL = Molarity (mol/L) x Molecular Weight (g/mol). For a 60 kDa protein at 1 mg/mL, molarity = 1 / 60000 mol/L = 16.67 µM. Working in mM: mg/mL = mM x MW / 1000. Example: 1 mM BSA (MW ~66,500) = 66.5 mg/mL. You always need the molecular weight of the solute.

How do I convert molar to mg/mL?

Multiply molar concentration by molecular weight: mg/mL = M x MW (g/mol). For a 1 mM solution of a 150 kDa IgG, mg/mL = 0.001 x 150000 = 150 mg/mL. Going the other way, 1 mg/mL of the same IgG equals 1/150000 mol/L = 6.67 µM. Any molar to mg/mL conversion depends on knowing MW.

How do I prepare a percent solution from a concentrated stock?

Use the dilution equation: C1 x V1 = C2 x V2. For example, to make 100 mL of 1% SDS from a 10% stock: V1 = (1% x 100 mL) / 10% = 10 mL. Take 10 mL of the 10% stock and add 90 mL water. For more complex dilutions, use our Buffer Calculator.

How to calculate molarity?

Molarity (M) is moles of solute divided by litres of solution: M = mol / L. To calculate molarity from a weighed mass, first convert mass to moles using moles = mass (g) / MW (g/mol), then divide by the solution volume in litres. Worked example: 0.9 g NaCl (MW 58.44 g/mol) in 100 mL water gives moles = 0.9 / 58.44 = 0.0154 mol, so M = 0.0154 / 0.1 L = 0.154 M (normal saline). To go the other way and calculate the mass needed for a target molarity, rearrange to mass (g) = M x V (L) x MW. For 500 mL of 1 M Tris (MW 121.14), mass = 1 x 0.5 x 121.14 = 60.57 g.

What is the difference between molarity and molality?

Molarity (M) is moles of solute per litre of solution and depends on temperature, because the solution volume expands when heated. Molality (m) is moles of solute per kilogram of solvent and is temperature-independent, which is why colligative-property calculations like freezing-point depression and boiling-point elevation always use molality. For dilute aqueous solutions near 25 °C, molarity and molality are numerically close (1 L of water weighs ~1 kg), so 0.1 M NaCl is approximately 0.1 m. In concentrated solutions, in non-aqueous solvents, or at elevated temperatures, the two diverge: use molarity for everyday lab prep and dilutions, and molality for thermodynamic work and colligative calculations.

Further reading