Convert mg/m³ to ppm or ppm to mg/m³ for gases and custom compounds based on molecular weight, temperature, pressure, and ideal gas law.

Convert gas or vapor mass concentration to a mixing ratio.

Gas conditions and display

Use absolute pressure, not gauge pressure.

Calculator Functions

FunctionWhat it doesWhat it requires
PPM by volume from mg/m³Converts the mass concentration of a gas or vapor in air to parts per million by volumeRequires the concentration in mg/m³ or µg/m³ and the gas, or a custom molar mass
mg/m³ from PPM by volumeConverts a gas mixing ratio in ppm by volume to mass per cubic meter of airRequires the concentration in ppm by volume and the gas, or a custom molar mass

Both functions offer twelve preset gases and a custom molar mass in g/mol. Optional settings change the gas temperature from 25 °C (in °C, °F or K), the absolute pressure from 1 atm (in atm, kPa or mmHg) and the number of decimal places shown. Each result also lists the molar volume used, the concentration in µg/m³ and the factor for 1 mg/m³.

mg/m³ to ppm Formulas

ppm = C × Vm ÷ M
ppmMixing ratio in parts per million by volume
CMass concentration (mg/m³)
VmMolar volume of an ideal gas at the stated temperature and pressure (L/mol)
MMolar mass of the gas (g/mol)
Vm = 1,000 × R × T ÷ P [1]

R is the molar gas constant, 8.314462618 J/(mol·K) [1], T is the absolute temperature in kelvin and P is the absolute pressure in pascals. One standard atmosphere is 101,325 Pa and one conventional millimeter of mercury is 133.3224 Pa [2]. At 25 °C and 1 atm, the conditions workplace exposure limits use for this conversion [3] [4], Vm is 24.4654 L/mol. At 0 °C and 1 atm it is 22.414 L/mol, so the same mg/m³ reading converts to a lower ppm value in colder air.

PPM by volume from mg/m³

The main formula applies directly. For 10 mg/m³ of carbon monoxide (28.01 g/mol) at 25 °C and 1 atm, ppm = 10 × 24.4654 ÷ 28.01 = 8.73 ppm. A reading in µg/m³ is divided by 1,000 first.

mg/m³ from PPM by volume

C = ppm × M ÷ Vm

For 50 ppm of hydrogen sulfide (34.08 g/mol) at 25 °C and 1 atm, C = 50 × 34.08 ÷ 24.4654 = 69.65 mg/m³.

mg/m³ to ppm Conversion Table

These factors are for 25 °C and 1 atm, with the molar masses the calculator uses. Multiply a concentration in mg/m³ by the middle column to get ppm, or a concentration in ppm by the last column to get mg/m³.

Gas or vaporMolar mass (g/mol)1 mg/m³ in ppm1 ppm in mg/m³
Ammonia (NH₃)17.031.43660.6961
Benzene (C₆H₆)78.110.31323.1927
Carbon dioxide (CO₂)44.010.55591.7989
Carbon monoxide (CO)28.010.87351.1449
Chlorine (Cl₂)70.90.34512.8980
Formaldehyde (CH₂O)30.030.81471.2274
Hydrogen sulfide (H₂S)34.080.71791.3930
Methane (CH₄)16.041.52530.6556
Nitrogen dioxide (NO₂)46.010.53171.8806
Ozone (O₃)480.50971.9620
Sulfur dioxide (SO₂)64.070.38192.6188
Toluene (C₇H₈)92.140.26553.7661

Limits of This Estimate

  • The conversion treats the gas as ideal and applies to gases and vapors only. It does not apply to dust, mist or fume, and ppm here is by volume, not by mass.
  • The temperature and pressure must be the ones the mg/m³ figure refers to. A fixed gas mixture keeps the same ppm when it is heated or compressed, but its mg/m³ value changes.
  • A molar volume rounded to 24.45 L/mol gives results 0.06% lower than the 24.4654 L/mol used here, so the last digit can differ from a table built on the rounded value.
  • The result is a unit conversion. It does not say whether an exposure is safe and it makes no correction for humidity or instrument calibration.

Sources

  1. NIST, CODATA Value: molar gas constant: value of the molar gas constant R
  2. NIST, Guide to the SI (SP 811), Appendix B.8: pascals in a standard atmosphere and a conventional millimeter of mercury
  3. NIOSH, Pocket Guide to Chemical Hazards, Introduction: ppm and mg/m³ conversion factors are given for 25 °C and 1 atmosphere
  4. OSHA, 29 CFR 1910.1000 Table Z-1, Limits for Air Contaminants: ppm is by volume at 25 °C and 760 torr, and mg/m³ is milligrams per cubic meter of air