Convert ppm to moles for a solution, sample or gas using the chemical formula or molar mass, with molarity, or convert ppm to mol % and back.

Mass-based ppm needs solution density. mg/L is a separate mass-per-volume measure.

Default 1 g/mL is an approximation for dilute water solutions; enter the actual density when known.

Case-sensitive, e.g. NaCl, Ca(OH)2 or CuSO4·5H2O. Use Manual molar mass for ions or isotopes.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Moles in a liquid solutionFinds the moles of solute in a volume of solution from mass-based ppm or from mg/LRequires the concentration, the solution volume, the solution density for mass-based ppm, and a chemical formula or molar mass
Moles in a sample by massFinds the moles of a substance in a weighed sampleRequires the mass-based ppm, the total sample mass, and a chemical formula or molar mass
Moles in a gas sampleFinds the moles of one gas in a gas sample from ppm by volumeRequires the ppmv, the sample volume, the gas temperature and the absolute pressure
Concentration from molesConverts moles of solute back to ppm or mg/LRequires the moles, the solution volume, the solution density for mass-based ppm, and a chemical formula or molar mass
ppm ↔ mol %Converts mole-based ppm to mole percent, or mole percent to ppmRequires the ppm or the mol % value

The molar mass comes from a typed formula such as NaCl, Ca(OH)2 or CuSO4·5H2O, added up from standard atomic weights [3], or from a molar mass entered directly. Each result also lists millimoles, micromoles, the solute mass and the number of entities, which is the moles times 6.02214076 × 10²³ [4]. When a volume is known, the result includes molarity.

ppm to Moles Formulas

n = C × V × ρ ÷
(1,000 × M)
nAmount of solute (mol)
CMass-based concentration in ppm, which is mg of solute per kg of sample [1]
VSolution volume (L)
ρSolution density (kg/L). The calculator starts at 1, for dilute water solutions
MMolar mass (g/mol)

Moles in a liquid solution

150 ppm of a solute with a molar mass of 32 g/mol in 0.5 L of water holds 150 × 0.5 × 1 ÷ 32,000 = 0.00234375 mol. 100 ppm of NaCl (58.44 g/mol) in 1 L is 0.1 g of salt, or 0.00171116 mol. At a density of 1.2 kg/L the same liter weighs 1.2 kg and holds 0.00205339 mol.

n = C × V ÷ (1,000 × M)

This shorter form applies when the concentration is in mg/L, chosen with Mass per volume (mg/L). 100 mg/L of NaCl in 2 L is 0.2 g, or 0.00342231 mol. A liter of water weighs about a kilogram, so 1 mg/L is close to 1 ppm in dilute water [1] [2], and the two forms only agree when the density is 1 kg/L.

ppm to Molarity

mol/L = n ÷ V

Molarity is listed with every solution result. 100 ppm of NaCl in water at 1 kg/L is 0.00171116 mol/L, or 1.711 mM. For dilute water solutions this reduces to ppm ÷ (1,000 × M).

Moles in a sample by mass

n = C × m ÷ (1,000 × M)

m is the total sample mass in kg, used in place of volume times density. 50 ppm of lead (207.2 g/mol) in a 2 kg sample is 0.1 g, or 0.00048263 mol.

Moles in a gas sample

n = (ppmv ÷ 10⁶) ×
P × V ÷ (R × T)

P is the absolute pressure in kPa, V the sample volume in L, T the temperature in K and R = 8.31446261815324 J/(mol·K) [5]. 1 m³ of gas at 25 °C and 1 atm holds 40.874 mol in total, so 400 ppmv is 0.01634962 mol. With CO2 chosen for the gas mass, that is 0.7195 g, or 719.53 mg/m³.

Concentration from moles

C = n × M × 1,000 ÷
(V × ρ)

0.001 mol of NaCl in 1 L at 1 kg/L is 58.44 mg of salt in 1 kg, or 58.44 ppm. On the mg/L basis the density drops out: 0.001 mol in 2 L is 29.22 mg/L.

ppm ↔ mol %

mol % = ppm ÷ 10,000

This is for ppm counted by moles, not by mass. 500 ppm is 0.05 mol %, a mole fraction of 0.0005, and 2 mol % is 20,000 ppm. For an ideal gas, ppm by mole is the same number as ppm by volume.

Limits of This Estimate

  • ppm can mean parts by mass, by volume or by moles, and the three give different answers. Use the function that matches how the concentration was measured.
  • The 1 kg/L default density suits dilute water solutions. Brines, acids and solvents need their actual density, or the mg/L basis.
  • The gas function uses the ideal gas law, so it does not model real-gas behavior at high pressure or near condensation.
  • Formula masses use abridged standard atomic weights [3]. Ions, isotopes and elements without a standard atomic weight need a molar mass entered by hand.

Sources