Skip to content
Engineering Bible

Results appear as you type. Use the arrow keys to move through them and Enter to open one.

Popular

↑ ↓ moveEnter openEsc close

PPM concentration converter (mg/L, % w/w, ppmv, mg/m³, mol/L)

Convert ppm and ppb by mass or volume, mg/L, g/L, % w/w, mol/L and mg/m³ for liquids and gases, using the density, molar mass, temperature and pressure.

Units

Results are estimates. They do not replace the governing code, class or flag requirements, or a check by a competent person. Report a problem

Introduction

What does ppm mean? Parts per million is a ratio: one part of a substance in a million parts of the mixture. In water and soil it is a mass ratio, so 1 ppm is 1 mg per kg. In air it is a volume ratio, so 1 ppm is 1 mL of gas per m³. In dilute water 1 ppm is very nearly 1 mg/L. In air the mass depends on the gas: 1 ppm of carbon monoxide is about 1.15 mg/m³ at 25 °C.

This calculator converts one concentration into all the others. For liquids it links ppm, ppb, % w/w, mg/L, g/L and molarity through the density of the solution and the molar mass. For gases it links ppmv, ppbv, % by volume, mg/m³ and µg/m³ through the temperature, pressure and molar mass. It is for water treatment, laboratory and environmental work and for checking exposure limits.

Formulas

Liquid or solid, mass basis:

c [g/L] = w × ρ [kg/m³]
ppm = w × 10⁶,   ppb = w × 10⁹,   % w/w = w × 100
molarity [mol/L] = c [g/L] / M

Gas, volume basis (ideal gas):

c [mg/m³] = x × M × P / (R T) × 1 000
at 25 °C and 1 atm:   mg/m³ = ppmv × M / 24.45
ppm by mass in air = x M / (x M + (1 − x) M_air) × 10⁶
  • w — mass fraction of the substance; c — mass concentration; ρ — density of the whole solution
  • x — mole fraction, equal to the volume fraction for ideal gases
  • M — molar mass of the substance, g/mol; M_air = 28.964 g/mol
  • R = 8.314 J/(mol·K); T — absolute temperature; P — absolute pressure

Assumptions and limitations

  • ppm in a liquid means mg/kg. It equals mg/L only when the solution has a density of 1 000 kg/m³, which is close enough for drinking water but not for brines, acids or sludges.
  • ppm in a gas means volume or mole fraction. Converting it to mg/m³ needs the temperature and pressure; occupational limits in the US use 25 °C and 1 atm.
  • The gas conversion uses the ideal gas law. Above about 10 bar, or close to condensation, correct the molar volume for real-gas behaviour.
  • Molarity uses the molar mass you enter. Use the formula unit for a salt, such as NaCl, not one of its ions.

Worked example

A sodium chloride brine holds 35 g of salt per litre and has a density of 1 025 kg/m³. What is its concentration in ppm, % w/w and mol/L?

  1. Mass fraction: 35 g/L / 1 025 g/L = 0.034146.
  2. ppm by mass: 0.034146 × 10⁶ = 34 146 ppm.
  3. Percent by weight: 0.034146 × 100 = 3.415 % w/w.
  4. Molarity: 35 g/L / 58.44 g/mol = 0.599 mol/L.

The brine is 35 000 mg/L but only 34 146 ppm, because a litre of it weighs more than a kilogram.

Common cases

Gas concentrations converted from ppm by volume to mg/m³ at 25 °C and 1 atm, the basis of most exposure limits. At these conditions mg/m³ = ppm × molar mass ÷ 24.45; at 0 °C the divisor is 22.41 and the mg/m³ figures are about 9 % higher.

CaseMolar mass (g/mol)ppm by volumemg/m³
Carbon dioxide in outdoor air44.01420755.52
Carbon dioxide, stuffy room44.011,5002,698.3
Carbon monoxide28.015057.244
Hydrogen sulphide34.081013.93
Ammonia17.032517.402
Sulphur dioxide64.0725.2376
Nitrogen dioxide46.0135.6418
Benzene78.1113.1927
Methane16.045,0003,278.1

Every row is worked out by this calculator each time the site is built, and checked for impossible values. Open a case to load its inputs.

Common mistakes

  • Mixing ppm by volume and ppm by mass. Gas concentrations are usually ppm by volume; concentrations in water are by mass. 1 ppm by volume of benzene in air is 2.7 ppm by mass.
  • Using a different reference temperature. At 0 °C, 20 °C and 25 °C the molar volume is 22.41, 24.04 and 24.45 L, so the same ppm gives mg/m³ figures up to 9 % apart. Use the temperature the limit was written for.
  • Taking mg/L as ppm in a dense solution. In dilute water 1 mg/L is 1 ppm by mass. In sea water or brine the solution is denser than water, and the two differ: 35 g/L of salt is 34 146 ppm.
  • Using the molar mass of the wrong form. Nitrate reported as nitrogen is 4.43 times smaller than nitrate reported as NO₃; phosphate as phosphorus is about a third of phosphate as PO₄. Check which form a result is given as.
  • Mixing percent and ppm. 1 % is 10 000 ppm, and 1 ppm is 1 000 ppb.

FAQ

How do I convert ppm to mg/L?

For water and dilute solutions, 1 ppm is 1 mg/L. For denser liquids, multiply ppm by the density in kg/L: 1 000 ppm in a liquid of 1.2 kg/L is 1 200 mg/L.

How do I convert ppm to mg/m³ for a gas?

At 25 °C and 1 atm, multiply ppm by the molar mass and divide by 24.45. For ammonia, 25 ppm × 17.03 / 24.45 = 17.4 mg/m³.

What is the difference between ppm and ppmv?

ppm usually means a mass ratio and is used for liquids and solids. ppmv is a volume ratio and is used for gases. For a gas mixture they differ by the ratio of molar masses.

How many ppm is 1 %?

10 000 ppm. One percent is one part per hundred, and a million is ten thousand hundreds.

What is ppb?

Parts per billion, one thousandth of a ppm. In water 1 ppb is 1 µg/L, a level used for lead, arsenic and pesticides.

How do I convert mg/L to molarity?

Divide the mg/L by the molar mass in g/mol to get mmol/L, then divide by 1 000 for mol/L. 100 mg/L of calcium carbonate is 0.999 mmol/L.

Related calculators

What this calculator is checked against

Before every release the calculator must reproduce each case below. The note under each case says where the expected answer comes from: a standard, a textbook, a published table, or a hand calculation shown in full.

  1. 35 g/L of NaCl in a 1 025 kg/m³ solution: 34 146 ppm, 3.415 % w/w, 0.5989 mol/LHand calculation: w = c / ρ, molarity = c / M with M(NaCl) = 58.44 g/mol (IUPAC 2021)
  2. NIOSH factors at 25 °C and 1 atm: 1 ppm of CO is 1.15 mg/m³, of H₂S 1.39 mg/m³, of benzene 3.19 mg/m³ (M / 24.45)NIOSH Pocket Guide to Chemical Hazards (2005-149), conversion factors; NIOSH rounds the molar volume to 24.45 L (exact 24.465)
  3. Molar volume is 22.414 L/mol at 0 °C and 1 atm; 1 % by volume is 10 000 ppmv; mg/m³ round-trips to ppmvCODATA molar volume of an ideal gas (273.15 K, 101.325 kPa)
  4. 1 000 ppmv of CO₂ in air is 1 518.6 ppm by mass; in water 1 mg/L is 1 ppm; 100 mg/L of CaCO₃ is 0.999 mmol/LHand calculation: w = x M / (x M + (1 − x) M_air) with M_air = 28.9644 g/mol (ISO 2533); M(CaCO₃) = 100.09 g/mol
  5. More than 100 % is rejected; strong solutions at the default density warn; a bad unit is rejectedBehaviour check: warnings and rejected inputs
  6. Worked example of the article: the calculator reproduces 34 146, 3.415, 0.599 to the digits printedThe worked example on this page, to the digits printed

Assumptions and sources

Assumptions and limits

  • In a liquid, ppm and ppb are by mass (mg/kg and µg/kg); converting them to mg/L uses the density of the whole solution, so 1 ppm equals 1 mg/L only when the density is 1 000 kg/m³.
  • In a gas, ppm and ppb are by volume, which for ideal gases equals the mole fraction; mg/m³ uses the ideal gas molar volume R T / P at the stated temperature and pressure (24.45 L/mol at 25 °C and 1 atm).
  • The ppm by mass in a gas is for a binary mixture with dry air (28.964 g/mol); for other carrier gases use the volume fraction and molar masses directly.
  • Molarity uses the molar mass of the dissolved species as entered: for a salt that dissociates, the molar mass of the formula unit, not of one ion.

Sources

  • NIOSH Pocket Guide to Chemical Hazards, DHHS (NIOSH) Publication 2005-149, Introduction: conversion of ppm to mg/m³ at 25 °C and 760 mmHg (mg/m³ = ppm × M / 24.45)
  • IUPAC Compendium of Chemical Terminology (Gold Book): mass fraction, mass concentration, amount concentration
  • CODATA 2018 recommended values: molar gas constant R = 8.314 462 618 J/(mol·K)

Cite this calculator

Papandreou, C. (2026). PPM concentration converter (mg/L, % w/w, ppmv, mg/m³, mol/L). Engineering Bible. https://engineeringbible.com/process/ppm-concentration/

Embed this calculator on your site

Copy this HTML into your page. The calculator stays free to use and links back here.

By Christos Papandreou. Updated . How the numbers are checked.