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?
- Mass fraction: 35 g/L / 1 025 g/L = 0.034146.
- ppm by mass: 0.034146 × 10⁶ = 34 146 ppm.
- Percent by weight: 0.034146 × 100 = 3.415 % w/w.
- 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.
| Case | Molar mass (g/mol) | ppm by volume | mg/m³ |
|---|---|---|---|
| Carbon dioxide in outdoor air | 44.01 | 420 | 755.52 |
| Carbon dioxide, stuffy room | 44.01 | 1,500 | 2,698.3 |
| Carbon monoxide | 28.01 | 50 | 57.244 |
| Hydrogen sulphide | 34.08 | 10 | 13.93 |
| Ammonia | 17.03 | 25 | 17.402 |
| Sulphur dioxide | 64.07 | 2 | 5.2376 |
| Nitrogen dioxide | 46.01 | 3 | 5.6418 |
| Benzene | 78.11 | 1 | 3.1927 |
| Methane | 16.04 | 5,000 | 3,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
- Molarity — moles, mass and volume of a solution.
- Dilution C1V1 = C2V2 — diluting a stock to a target concentration.
- Chemical dosing — feed rate for a target dose in mg/L.
- Ideal gas law — molar volume at other conditions.