Click to show tips
Try an Example
Pick a scenario to see how the calculator works, then adjust the values
Saline Solution
Calculate the molarity of a standard saline (NaCl) solution
Key values: 5.844 g NaCl · 58.44 g/mol · 1 L
Sugar Water Mass
Find the mass of sucrose needed for a 0.5 M solution
Key values: 0.5 mol/L · 342.3 g/mol · 500 mL
Lab Dilution Volume
Determine the volume needed for a 1 M HCl solution from 36.46 g
Key values: 36.46 g HCl · 36.46 g/mol · 1 mol/L
How we ensure accuracy
- Formulas sourced from
- International Union of Pure and Applied ChemistryIUPAC Compendium of Chemical TerminologyNational Institute of Standards and TechnologyRoyal Society of Chemistry+2 more
- Research validated by
- 4 independent research systems— multi-source consensus methodology
- Last reviewed
- March 2025(formula v1.0)
- Methodology
- Full process details
Molarity calculations follow IUPAC nomenclature and quantity definitions for solution chemistry, verified against NIST standard reference data
Understanding Molarity in Chemistry
What molarity actually measures
Molarity (M, the upper-case Roman) tells you how many moles of solute sit in one litre of solution — not solvent. That single word matters: when you dissolve 58.44 g of NaCl in 900 mL of water then top up to a 1 L mark, the solution itself is 1 M, even though you only added 900 mL of water. Volume is measured after mixing because dissolution changes density.
When you only know the mass of the solute, substitute moles with mass over molar mass:
A common pitfall
Students often write “1 M” when they mean “1 m” — molarity (mol per litre of solution) versus molality (mol per kg of solvent). At sub-percent concentrations in water near room temperature the two are numerically close, so the substitution “works” most of the time and quietly fails in colligative-property problems and at high concentration.
Key Concepts
1. Mole Concept
A mole is the amount of substance containing exactly 6.02214076 × 1023 elementary entities (atoms, molecules, ions, etc.). This number is known as Avogadro's constant.
2. Molar Mass
The molar mass is the mass of one mole of a substance, typically expressed in grams per mole (g/mol). For compounds, it equals the sum of the atomic masses of all atoms in the compound.
3. Solution Preparation
When preparing a solution of specific molarity:
- Calculate the required mass of solute using
- Dissolve the solute in less than the final volume of solvent
- Add additional solvent until the desired volume is reached
Calculation Examples
Example 1: Calculating Molarity
Problem: If 5.85 g of sodium chloride (NaCl, molar mass = 58.44 g/mol) is dissolved in water to make 500 mL of solution, what is the molarity?
Solution:
First, convert volume to liters: 500 mL = 0.5 L
Then calculate moles of NaCl:
Finally, calculate molarity:
Answer: The molarity of the NaCl solution is 0.2002 M (or approximately 0.2 M).
Example 2: Finding Mass from Molarity
Problem: How many grams of potassium hydroxide (KOH, molar mass = 56.11 g/mol) are needed to prepare 250 mL of a 0.5 M solution?
Solution:
Convert volume to liters: 250 mL = 0.25 L
Calculate moles needed:
Calculate mass:
Answer: 7.01 grams of KOH are needed.
Example 3: Finding Volume from Molarity
Problem: What volume (in mL) of a 1.5 M glucose solution contains 27 g of glucose (C₆H₁₂O₆, molar mass = 180.16 g/mol)?
Solution:
Calculate moles of glucose:
Calculate volume in liters:
Convert to milliliters:
Answer: The required volume is 99.9 mL.
Applications of Molarity in Chemistry
Laboratory Use
- Preparing reagents for chemical analysis
- Standardizing solutions for titrations
- Preparing buffer solutions of specific pH
- Creating calibration standards for instruments
Industrial Applications
- Pharmaceutical manufacturing
- Food and beverage production
- Water treatment processes
- Quality control procedures
Common Molar Masses of Frequently Used Chemicals
| Chemical | Formula | Molar Mass (g/mol) |
|---|---|---|
| Water | H2O | 18.02 |
| Sodium Chloride | NaCl | 58.44 |
| Glucose | C6H12O6 | 180.16 |
| Sodium Hydroxide | NaOH | 40.00 |
| Hydrochloric Acid | HCl | 36.46 |
| Sulfuric Acid | H2SO4 | 98.08 |
| Acetic Acid | CH3COOH | 60.05 |
| Potassium Permanganate | KMnO4 | 158.03 |
Unit Conversions in Molarity Calculations
When working with molarity calculations, it's common to need to convert between different units:
Mass Conversions
- 1 kilogram (kg) = 1000 grams (g)
- 1 gram (g) = 1000 milligrams (mg)
- 1 milligram (mg) = 0.001 grams (g)
Volume Conversions
- 1 liter (L) = 1000 milliliters (mL)
- 1 milliliter (mL) = 0.001 liters (L)
- 1 deciliter (dL) = 100 milliliters (mL) = 0.1 liters (L)
Limits of this calculator
The arithmetic here is exact for the inputs you provide. The chemistry, however, makes three working assumptions that you should keep in mind before relying on a result:
- Ideal solution behaviour. The calculator does not apply activity coefficients, so the “effective” concentration in highly non-ideal mixtures (concentrated electrolytes, non-aqueous solvents, mixed-solvent systems) will diverge from the molarity reported here.
- Temperature and density. Molarity is volume-based, so it shifts with temperature. For solutions used at temperatures meaningfully different from where they were prepared, expect a small offset; if you need temperature-independent concentration, prepare and report by molality or mass fraction instead.
- Purity and hydration state. Hydrated salts (e.g. CuSO4·5H2O) and reagents below stated purity will not match the textbook molar mass — adjust the molar mass input, or correct the mass for purity, before using the result for stoichiometry.
For analytical work, GMP/GLP-regulated preparation, or anything fed into a publication, verify the result against your laboratory’s validated SOP and a primary reference such as the IUPAC Gold Book or NIST Chemistry WebBook. This tool is intended to support — not replace — professional judgment.
Frequently Asked Questions
What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution, while molality (m) is moles of solute per kilogram of solvent. Molality does not change with temperature because mass is unaffected by thermal expansion, making it preferred for colligative property calculations. Molarity is more commonly used in laboratory work because measuring volume is simpler than weighing solvent.
How do I convert between molarity and mass concentration (g/L)?
Multiply molarity by the molar mass of the solute: concentration (g/L) = Molarity (mol/L) × Molar mass (g/mol). For example, a 0.5 M NaCl solution has a mass concentration of 0.5 × 58.44 = 29.22 g/L.
Does molarity change with temperature?
Yes. Because molarity is defined per liter of solution, and liquids expand or contract with temperature changes, molarity varies with temperature. A solution prepared at 25°C will have a slightly different molarity at 4°C. For precise work at varying temperatures, molality or mass fraction may be more appropriate.
What happens if I add solute to a volumetric flask and fill to the mark?
This is the correct procedure for preparing a solution of known molarity. You dissolve the weighed solute in less than the final volume of solvent, then add solvent up to the calibration mark on the volumetric flask. This ensures the total solution volume is exact, which is critical for an accurate molarity calculation.
How do I perform a dilution calculation with molarity?
Use the dilution equation: M₁V₁ = M₂V₂, where M₁ and V₁ are the molarity and volume of the concentrated stock, and M₂ and V₂ are the molarity and volume of the diluted solution. For example, to make 500 mL of 0.1 M HCl from a 1.0 M stock: V₁ = (0.1 × 0.5) / 1.0 = 0.05 L = 50 mL of stock.
What is the molar mass and how do I find it?
Molar mass is the mass of one mole of a substance in grams per mole (g/mol). For elements, it equals the atomic mass from the periodic table. For compounds, sum the atomic masses of all atoms in the formula. For example, H₂O: (2 × 1.008) + 16.00 = 18.02 g/mol.
Can I use this calculator for ionic compounds that dissociate in solution?
Yes, but the molarity reflects the concentration of the formula units you dissolved, not the individual ions. For example, dissolving 1 mol of NaCl in 1 L gives a 1 M NaCl solution, which contains 1 M Na⁺ and 1 M Cl⁻ ions. For ion-specific concentrations, multiply molarity by the number of that ion per formula unit.
Related Calculators
1 CalculatorsMore Chemistry calculators