Ekuation

Chemistry

Molarity Calculator

A comprehensive chemistry calculator for solution preparation. Calculate molarity from mass and volume, find required mass for a solution of specific molarity, or determine volume needed based on desired concentration. Essential for laboratory work and chemistry studies.

Select what you want to calculate

g/mol
Calculator Tips

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

Documentation

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.

Molarity (M)=Moles of solute (mol)Volume of solution (L)\text{Molarity (M)} = \frac{\text{Moles of solute (mol)}}{\text{Volume of solution (L)}}

When you only know the mass of the solute, substitute moles with mass over molar mass:

Molarity (M)=Mass of solute (g)Molar mass (g/mol)×Volume of solution (L)\text{Molarity (M)} = \frac{\text{Mass of solute (g)}}{\text{Molar mass (g/mol)} \times \text{Volume of solution (L)}}

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 Mass=Molarity×Molar mass×Volume\text{Mass} = \text{Molarity} \times \text{Molar mass} \times \text{Volume}
  • 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:

Moles of NaCl=MassMolar mass=5.85 g58.44 g/mol=0.1001 mol\text{Moles of NaCl} = \frac{\text{Mass}}{\text{Molar mass}} = \frac{5.85 \text{ g}}{58.44 \text{ g/mol}} = 0.1001 \text{ mol}

Finally, calculate molarity:

Molarity=MolesVolume (L)=0.1001 mol0.5 L=0.2002 M\text{Molarity} = \frac{\text{Moles}}{\text{Volume (L)}} = \frac{0.1001 \text{ mol}}{0.5 \text{ L}} = 0.2002 \text{ M}

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:

Moles of KOH=Molarity×Volume=0.5 M×0.25 L=0.125 mol\text{Moles of KOH} = \text{Molarity} \times \text{Volume} = 0.5 \text{ M} \times 0.25 \text{ L} = 0.125 \text{ mol}

Calculate mass:

Mass of KOH=Moles×Molar mass=0.125 mol×56.11 g/mol=7.01 g\text{Mass of KOH} = \text{Moles} \times \text{Molar mass} = 0.125 \text{ mol} \times 56.11 \text{ g/mol} = 7.01 \text{ g}

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:

Moles of glucose=MassMolar mass=27 g180.16 g/mol=0.1499 mol\text{Moles of glucose} = \frac{\text{Mass}}{\text{Molar mass}} = \frac{27 \text{ g}}{180.16 \text{ g/mol}} = 0.1499 \text{ mol}

Calculate volume in liters:

Volume=MolesMolarity=0.1499 mol1.5 M=0.0999 L\text{Volume} = \frac{\text{Moles}}{\text{Molarity}} = \frac{0.1499 \text{ mol}}{1.5 \text{ M}} = 0.0999 \text{ L}

Convert to milliliters:

Volume=0.0999 L×1000 mL/L=99.9 mL\text{Volume} = 0.0999 \text{ L} \times 1000 \text{ mL/L} = 99.9 \text{ mL}

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

ChemicalFormulaMolar Mass (g/mol)
WaterH2O18.02
Sodium ChlorideNaCl58.44
GlucoseC6H12O6180.16
Sodium HydroxideNaOH40.00
Hydrochloric AcidHCl36.46
Sulfuric AcidH2SO498.08
Acetic AcidCH3COOH60.05
Potassium PermanganateKMnO4158.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 Calculators

More Chemistry calculators

Calculator Search

Search and find calculators