To convert milligrams per cubic meter (mg/m³) to parts per million by volume (ppm) for a gas, use the formula: ppm = (mg/m³ × 24.45) / molecular weight (g/mol), where 24.45 L/mol is the molar volume of an ideal gas at 25 °C and 1 atm. This calculator performs that conversion for you, and the sections below explain the chemistry, when to use 24.45 vs. other molar volumes, and why the conversion depends on temperature and pressure.
Formula
The conversion relies on the ideal gas law, which relates the volume occupied by a gas to its amount in moles. For a gas at temperature T (in kelvin) and pressure P (in atm), the molar volume Vm is:
Vm = R · T / P
where R = 0.0820574 L·atm/(mol·K). At 25 °C (298.15 K) and 1 atm, Vm = 24.45 L/mol.
Then, the concentration in ppm (parts per million by volume) is:
ppm = (mg/m³) × Vm / MW
where MW is the molecular weight of the gas in g/mol. The logic: mg/m³ is a mass-per-volume unit (micrograms per liter, effectively). Dividing the mass by the molecular weight gives moles, then multiplying by the molar volume gives the volume fraction in parts per million.
Worked Example
Suppose you measure 35 mg/m³ of carbon monoxide (CO) in workplace air at 25 °C and 1 atm. The molecular weight of CO is 28.01 g/mol.
- Convert temperature to kelvin: 25 + 273.15 = 298.15 K.
- Compute molar volume: Vm = 0.0820574 × 298.15 / 1 = 24.47 L/mol (slightly higher than 24.45 because 25 °C is 298.15 K, not 298 K).
- Apply the formula: ppm = 35 × 24.47 / 28.01 = 30.58 ppm.
The calculator gives 30.58 ppm (rounded to two decimals). If you used the common shortcut 24.45, you would get 35 × 24.45 / 28.01 = 30.55 ppm – a negligible difference for most purposes.
Assumptions
- The gas behaves ideally (valid for most gases at ambient temperature and pressure, but not for highly condensable vapors or very high pressures).
- The gas is a pure substance with a known molecular weight; mixtures require an average molecular weight.
- Temperature and pressure are specified; the conversion is not valid if they are not stated.
- The concentration is uniform and the gas is at the given temperature and pressure.
Why 24.45? The Role of Molar Volume
The factor 24.45 L/mol is the molar volume of an ideal gas at 25 °C (298.15 K) and 1 atm (101.325 kPa). It comes from the ideal gas law: V = RT/P = (0.0820574 × 298.15) / 1 = 24.47 L/mol. Many reference sources round to 24.45, which corresponds to 298 K (not 298.15 K). The difference is about 0.1%, which is usually irrelevant for occupational exposure limits.
However, if you are working at a different temperature or pressure – for example, stack gas at 150 °C or at high altitude – you must use the molar volume at those conditions. The calculator lets you input temperature and pressure to get the exact molar volume for your situation.
How to Use This Calculator
Enter the concentration in mg/m³, the molecular weight of the gas (g/mol), the temperature in °C, and the pressure in atm. The calculator returns the ppm value and the molar volume used. For a gas mixture, use the average molecular weight of the mixture.
To convert ppm to mg/m³, simply rearrange: mg/m³ = ppm × MW / Vm. For example, 10 ppm of benzene (MW = 78.11) at 25 °C and 1 atm is 10 × 78.11 / 24.47 = 31.9 mg/m³.
Common Mistakes and Pitfalls
- Using 24.45 without checking conditions: The factor is only valid at 25 °C and 1 atm. At 0 °C, the molar volume is 22.41 L/mol, which changes the result by about 9%.
- Forgetting to convert temperature to kelvin: Always add 273.15 to °C.
- Using the wrong molecular weight: For gases like nitrogen (N₂), use 28.01, not 14.01. For ozone (O₃), use 48.00, not 16.00.
- Confusing ppm by volume with ppm by mass: In gas measurements, ppm is almost always by volume (mole fraction). For liquids, ppm often means mg/L (mass/volume). The conversion here is for gases only.
- Rounding too early: Keep intermediate values with enough significant figures to avoid errors.
When to Use mg/m³ vs. ppm
Regulatory exposure limits are often given in both units. For example, OSHA’s permissible exposure limit (PEL) for carbon monoxide is 50 ppm (55 mg/m³) as an 8-hour time-weighted average. The two units describe the same concentration but from different perspectives: ppm is a volume fraction (how many molecules of the gas per million molecules of air), while mg/m³ is a mass density (how much mass of the gas per cubic meter of air).
In practice, you will need to convert when a standard gives a limit in one unit but your instrument reports in the other. Many direct-reading instruments output ppm, while gravimetric methods (e.g., filter-based sampling) give mg/m³.
Limitations of the Ideal Gas Assumption
The ideal gas law is accurate for most gases at ambient conditions, but it deviates for:
- High pressures (above a few atmospheres) where intermolecular forces become significant.
- Low temperatures near the boiling point of the gas, where condensation may occur.
- Highly polar or heavy molecules (e.g., water vapor, some volatile organic compounds) that deviate from ideality even at moderate conditions.
For such cases, use the compressibility factor or real-gas equations of state. For most workplace air monitoring and environmental measurements, the ideal gas assumption introduces errors of less than 1%.
Frequently Asked Questions
What is the difference between ppm and mg/m³?
ppm (parts per million) is a ratio of volumes (or moles) – it tells you how many molecules of the gas are present per million molecules of air. mg/m³ is a mass concentration – how many milligrams of the gas are in one cubic meter of air. They are proportional, but the conversion factor depends on the gas’s molecular weight and the temperature and pressure.
Can I use the same conversion for liquids?
No. This conversion is for gases. For liquids, ppm often means mg/L (mass of solute per volume of solution) and is effectively the same as mg/m³ only if the density of the solution is 1 g/mL. For solids, ppm is usually mg/kg (mass per mass).
Why does temperature affect the conversion?
Because gases expand when heated. At higher temperatures, a given mass of gas occupies a larger volume, so the same mg/m³ corresponds to a lower ppm (fewer molecules per unit volume). The molar volume increases with temperature, so the conversion factor changes.
What if I don’t know the molecular weight of the gas?
If the gas is a mixture, you need the average molecular weight. For example, air has an average molecular weight of about 28.97 g/mol. For a pure gas, look up the molecular weight from the periodic table (e.g., CO₂ = 44.01 g/mol).
Is 24.45 always the right constant?
Only at 25 °C and 1 atm. If you are working at standard conditions of 0 °C and 1 atm, use 22.41 L/mol. Many regulatory agencies specify the conditions; always check the standard you are using (e.g., NIOSH uses 25 °C and 760 mmHg).
How do I convert ppm back to mg/m³?
Rearrange the formula: mg/m³ = ppm × MW / Vm. For example, 10 ppm of nitrogen dioxide (MW = 46.01) at 25 °C and 1 atm is 10 × 46.01 / 24.47 = 18.8 mg/m³.
Related
Formula used
in m | Concentration in mg/m³ | mg/m³ | 35 | 0 in mm | Molecular weight of gas | g/mol | 28.01 | 0.001 in t | Temperature | °C | 25 | -273.15 in p | Pressure | atm | 1 | 0.0001 out ppm | Concentration in ppm | ppm | m * (0.0820574 * (t + 273.15) / p) / mm | 2 out molv | Molar volume at given T, P | L/mol | 0.0820574 * (t + 273.15) / p | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Normality to g/L Converter & Formula29.220 g/L
- Normality to meq/mL Conversion Calculator1.0000 meq/mL
- Normality Test Q-Q Plot: How to Read It
- Normality Test Results: How to Analyze Them
- Normality Slay the Spire?
- Normality Test for Paired t Test: How to Check