Molarity Calculator
This molarity calculator converts the mass concentration of any solution to molar concentration (M), and recalculates grams per milliliter (g/mL) to moles. The molarity calculator computes the mass of a substance needed to achieve a desired molarity. This article covers the molarity definition, the molarity formula, molarity units, a step-by-step guide on how to calculate molarity, worked example calculations, a live molarity conversion chart, and a comparison of the molarity formula vs molality formula.
Virtual Beaker
Formula Used
Enter 3 values above to see the step-by-step solution
What is Molarity?
Molarity expresses the concentration of a solution. Molarity is the number of moles of a substance (solute) dissolved per liter of solution (not per liter of solvent).
Molarity means exactly the same as molar concentration (M). Chemists use many different units for describing concentration, but molarity is the most common way.
The mole (mol) is the SI unit for the amount of substance. One mole contains exactly 6.02214076 × 10²³ particles (atoms, molecules, ions). That number is Avogadro's constant, and its symbol is NA. Moles allow reading weight directly from the periodic table — 1 mole of NaCl weighs 58.5 g, 1 mole of N₂ weighs 28 g.
When reactants are expressed in mole units, writing chemical reactions with integer coefficients is straightforward. Concentration measures how much of a substance is dissolved in a given volume of solution — molarity standardizes this measurement in moles per liter (mol/L).
Molarity Concept Visualizer
Molarity Formula
The molarity formula calculates the molar concentration of a solution:
Concentration refers to the mass concentration of the solution, expressed in density units (g/L or g/mL). Molar mass is the mass of 1 mole of the solute, expressed in grams per mole (g/mol). Molar mass is a constant property — the molar mass of water is 18 g/mol.
The calculator finds the mass of substance needed to reach a target molar concentration:
Where mass is the mass of solute in grams (g), and volume is the total volume of solution in liters (L).
Try the molarity formula
Enter values below to see the molarity formula in action. The calculator supports 2 modes: calculating from concentration (g/mL) and from mass + volume.
Molarity Units
The units of molar concentration are moles per cubic decimeter, written as mol/dm³ or M (pronounced "molar"). 1 cubic decimeter (1 dm³) equals 1 liter (1 L), so mol/dm³ and mol/L represent identical numeric values.
The molar concentration of a solute is sometimes written with square brackets around the chemical formula. For example, the concentration of hydroxide anions is written as [OH⁻].
Older references use moles per liter (mol/L) notation. Modern conventions favor the M notation. The mole has become the standard way of quoting the quantity of a chemical substance, so molarity replaced the older weight-of-solute-per-volume format. This calculator supports 7 molarity units: M, mM, µM, nM, pM, fM, and aM.
Molarity (uppercase M) should not be confused with molality (lowercase m). The difference between these 2 terms is explained in the molarity vs. molality section below.
| Molarity | SI Prefix | Value | Example |
|---|---|---|---|
10⁻¹⁵ | fM | 2 fM | Bacteria in surface seawater (1×10⁹/L) |
10⁻¹⁴ | — | 50–100 fM | Gold in seawater |
10⁻¹² | pM | 7.51–9.80 pM | Erythrocytes in blood (adult male) |
10⁻⁷ | — | 101 nM | H₃O⁺ and OH⁻ ions in pure water at 25 °C |
10⁻⁴ | — | 180–480 µM | Uric acid in blood |
10⁻³ | mM | 7.8 mM | Upper bound for healthy blood glucose (2h post-meal) |
10⁻² | cM | 44.6 mM | Pure ideal gas at 0 °C and 101.325 kPa |
10⁻¹ | dM | 140 mM | Sodium ions in blood plasma |
10² | hM | 118.8 M | Pure osmium at 20 °C (22.587 g/cm³) |
10⁴ | myM | 24 kM | Helium in solar core (150 g/cm³ × 65%) |
How to Calculate Molarity
To calculate the molarity of a solution, follow these 6 steps:
- Choose the substance. This example uses hydrochloric acid (HCl).
- Find the molar mass of the substance. The molar mass of HCl is 36.46 g/mol.
- Determine the mass and volume. This example uses 5 g of HCl in a 1.2 liter (L) solution.
- Convert: mass / volume = molarity × molar mass → mass / (volume × molar mass) = molarity.
- Substitute: molarity = 5 ÷ (1.2 × 36.46) = 0.114 mol/L = 0.114 M.
- Use the molarity calculator above to verify the result. Enter mass, volume, and molecular weight to get the molarity instantly.
Step-by-Step Molarity Calculator
Enter your own values or use the HCl example to see each calculation step
Invention of the Molarity Calculator
This molarity calculator was built to make molarity calculations fast and accessible. Molarity calculations require unit conversions and multi-step arithmetic that are tedious to perform by hand. The calculator handles all conversions — from micrograms (µg) to kilograms (kg), milliliters (mL) to gallons (gal), and molars (M) to attomolars (aM) — in a single step.
The calculator serves 3 main audiences: students learning solution chemistry, researchers preparing molar solutions in the laboratory, and professionals in the food and pharmaceutical industries who need precise concentration measurements for quality control and regulatory compliance.
The tool supports over 30 unit combinations across 5 variables (mass, molecular weight, volume, concentration, molarity). Each calculation includes a step-by-step formula breakdown, calculation history, and one-click copy and share functions.
Timeline of Concentration History
Click the milestones to explore the evolution of chemical measurement.
Early Stoichiometry
Jeremias Benjamin Richter establishes the principles of stoichiometry, laying the groundwork for precise chemical proportions.
Avogadro's Concept
Amedeo Avogadro proposes that equal volumes of gases contain identical numbers of molecules, introducing the concept of the mole.
Volumetric Analysis
Karl Friedrich Mohr standardizes volumetric titration, creating the need for exact "normal" and "molar" concentration expressions.
Defining Molarity
The term "molarity" becomes widely standardized in chemistry textbooks to mean "moles per liter of solution."
Digital Era
The rise of online molarity calculators, enabling instant complex chemical solution computations for researchers and students.
How to Use the Molarity Calculator
The molarity calculator is straightforward. Determining the molarity of specific compounds or additives is required for product quality and safety compliance in the food, beverage, and pharmaceutical industries.
- Enter the concentration of the solution into the 4th field, if known. The mass concentration equals the density for a pure substance. The default unit is g/mL (grams per milliliter). Change the unit from the dropdown before entering the value.
- Enter the molecular weight (molar mass) of the substance. The default unit is grams per mole (g/mol). Other unit options include kg/mol, kg/kmol, and lb/lbmol.
- The calculator computes the molarity instantly. The default unit is molars (M). Change the unit to mM, µM, nM, pM, fM, or aM from the dropdown.
- Leave the mass concentration empty, if the mass concentration is unknown. Enter the mass of the substance in grams (g) (or change the unit to mg, kg, oz, lb) and enter the volume of the solution in liters (L) (or mL, µL, gallons).
- The calculator determines the mass concentration and molarity from the mass and volume values.
See How It Works
Use the steps below to watch the calculator in action.
Example Calculations
The 4 examples below show how to calculate molarity from mass concentration, from mass and volume, and by titration. Click any tab to see the full step-by-step breakdown.
Example 1: Sulphuric acid (H₂SO₄) has a molar mass of 98 g/mol and a mass concentration of 10 g/mL. The molarity is 102.0408 M.
Example 2: 5 g of hydrochloric acid (HCl) in 1.2 L of solution. Molar mass of HCl is 36.46 g/mol. The molarity is 0.114 M.
Example 3: 35 mL of 1.25 M HCl titrates a 25 mL NaOH solution (1:1 ratio). The NaOH molarity is 1.75 M.
Example 4: 970 g of H₂SO₄ in 2.1 L of solution. The molarity is 4.71331 M and the mass concentration is 0.461905 g/mL.
Worked Molarity Examples
Select an example:
Sulphuric acid (H₂SO₄) has a molar mass of 98 g/mol and a mass concentration of 10 g/mL. Find the molarity.
5 g of hydrochloric acid (HCl) is dissolved in 1.2 L of solution. The molar mass of HCl is 36.46 g/mol. Find the molarity.
35 mL of 1.25 M HCl titrates a 25 mL NaOH solution. HCl and NaOH react in a 1:1 mole ratio. Find the molarity of NaOH.
970 g of H₂SO₄ is dissolved in a 2.1 L solution. The molar mass of H₂SO₄ is 98 g/mol. Find the molarity and mass concentration.
Molarity Conversion Chart
The molarity conversion chart below converts any molarity value across 7 standard units: M, mM, µM, nM, pM, fM, and aM. Enter an optional molar mass to see the equivalent g/L, g/mL, and mg/mL values.
The reference values section shows 6 common molar concentrations found in nature, the human body, and the laboratory.
| Unit | Symbol | Factor (relative to 1 M) | Example |
|---|---|---|---|
| Molar | M | 1 | 1 M NaCl |
| Millimolar | mM | 10⁻³ | 5 mM glucose |
| Micromolar | µM | 10⁻⁶ | 50 µM drug |
| Nanomolar | nM | 10⁻⁹ | 10 nM hormone |
| Picomolar | pM | 10⁻¹² | 100 pM cytokine |
| Femtomolar | fM | 10⁻¹⁵ | 1 fM biomarker |
| Attomolar | aM | 10⁻¹⁸ | DNA detection |
Molarity vs. Molality
Both molarity and molality express solution concentration, but there is 1 significant difference. Molarity measures the amount of substance per unit volume of solution. Molality measures the amount of substance per unit mass of the solvent. Molality is the number of moles of solute per kilogram (kg) of solvent.
Converting between molarity and molality uses this formula:
The molarity vs molality table below shows 5 key differences between these 2 terms:
| Property | Molarity | Molality |
|---|---|---|
| Definition | Moles of solute ÷ liters of solution | Moles of solute ÷ kilograms of solvent |
| Symbol | M | m or b |
| Unit | mol/L | mol/kg |
| Temperature & Pressure | Dependent | Independent |
| Usage | More popular, practical in the lab, faster | Accurate but rarely used |
Molarity vs. Molality Comparison
Select a solute and adjust temperature to see how molarity changes while molality stays constant
Molarity Calculator Tools
Explore our collection of 20 specialized molarity calculators. Each tool is designed for a specific type of calculation with its own unique input fields and formulas.
FAQs
What is a Molarity Calculator?
A molarity calculator is a tool that computes the molar concentration of a solution from mass, molecular weight, volume, and concentration inputs. Enter any 3 of the 5 variables and the calculator determines the remaining values. The result is expressed in molars (M), which equals moles per liter (mol/L).
What is the Formula for Molarity?
The formula for molarity is: molarity = concentration ÷ molar mass (when starting from mass concentration in g/L). An equivalent form is: molarity = moles of solute ÷ volume of solution in liters. For example, 5 g of HCl (molar mass 36.46 g/mol) in 1.2 L gives molarity = 5 ÷ (1.2 × 36.46) = 0.114 M.
How Do You Calculate Molarity of a Solution?
To calculate molarity of a solution, follow 3 steps. First, find the moles of solute by dividing the mass (g) by the molar mass (g/mol). Second, measure the total volume of the solution in liters (L). Third, divide the moles by the volume: molarity = moles ÷ volume. The result is in mol/L or M.
How Do I Find Moles From Molarity?
Multiply the molarity (M) by the volume (L) of the solution. The formula is: moles = molarity × volume. For example, 0.5 M NaCl in 2 L contains 0.5 × 2 = 1.0 mole of NaCl.
Is Molarity the Same as Concentration?
No, molarity is not the same as concentration. Concentration is a broad measure of how much of a substance is dissolved in a given amount of liquid — concentration can use any mass and volume units (mg/mL, g/L, lb/gal). Molarity is a specific type of concentration measured in moles per liter (mol/L) of solution.
What is the Molarity of Water?
Water has a molarity of 55.5 M. 1 liter of water weighs 1000 g. The molar mass of water (H₂O) is 18.02 g/mol. Dividing 1000 g by 18.02 g/mol gives 55.49 mol/L, which rounds to 55.5 M.
Why Do We Use Molarity?
Molarity provides a standard metric for comparing solution concentrations without unit conversions. Concentration units range from nanograms per milliliter (ng/mL) to tons per gallon (t/gal). Molarity (M), measured in moles per liter (mol/L), offers a single consistent unit for quick comparison across all chemical solutions.
What is the Difference Between Molarity and Molality?
Molarity (M) is the number of moles of solute per liter of solution. Molality (m) is the number of moles of solute per kilogram of solvent. The key difference: molarity changes with temperature because volume expands or contracts with heat. Molality stays constant because mass does not change with temperature.
Can Molarity Be Converted to Mg/ml?
Yes, molarity can be converted to mg/mL using the formula: mg/mL = molarity (M) × molar mass (g/mol). For example, a 0.5 M NaCl solution (molar mass 58.5 g/mol) has a concentration of 0.5 × 58.5 = 29.25 g/L = 29.25 mg/mL. The molarity conversion chart above performs this calculation automatically.