This calculator converts a gas concentration in parts per billion (ppb) to micrograms per cubic meter (µg/m³) at a given temperature and pressure. You enter the ppb value, the gas’s molar mass, and the conditions (temperature in °C and pressure in atm), and you get the mass concentration in µg/m³. The conversion depends on the ideal gas law, so the result is accurate for dilute gases at normal environmental conditions.
Formula
The conversion uses the ideal gas law to relate volume to moles. For a gas at concentration C (in ppb), the mass concentration in µg/m³ is:
µg/m³ = ppb × (molar mass in g/mol) × (pressure in atm) / (0.0820574 × (temperature in K)) × 1000
Where:
- ppb – parts per billion by volume (10⁻⁹ mol/mol).
- molar mass – molecular weight of the gas in g/mol (e.g., NO₂ = 46.01 g/mol).
- pressure – absolute pressure in atmospheres (1 atm = 101.325 kPa).
- temperature – in Kelvin (K = °C + 273.15).
- 0.0820574 – ideal gas constant R in L·atm/(mol·K).
- 1000 – converts g/m³ to µg/m³ (1 g = 1,000,000 µg, but the formula already yields g/m³; the factor 1000 converts from mg/m³ to µg/m³ because ppb × molar mass gives µg per m³ when using the correct units). Let’s derive it cleanly below.
Derivation: 1 ppb means 1 part of gas per 10⁹ parts of air by volume. At a given temperature and pressure, the molar volume of air is Vm = RT/P (in L/mol). The mass of gas in 1 m³ of air is: (1×10⁻⁹) × (1 m³ / Vm) × molar mass. Converting m³ to L (1 m³ = 1000 L) gives: µg/m³ = (10⁻⁹ × 1000 × molar mass × P) / (R × T) × 10⁶ (to get µg). Simplifying: µg/m³ = ppb × molar mass × P / (R × T) × 1000. Yes, the factor 1000 is correct.
Worked Example
Convert 100 ppb of nitrogen dioxide (NO₂, molar mass = 46.01 g/mol) at 25 °C and 1 atm to µg/m³.
- Convert temperature to Kelvin: T = 25 + 273.15 = 298.15 K.
- Calculate the molar volume of air: Vm = (0.0820574 × 298.15) / 1 = 24.465 L/mol.
- Find the number of moles of gas per m³: (100 × 10⁻⁹) × (1000 L / 24.465 L/mol) = 4.087 × 10⁻⁶ mol/m³.
- Multiply by molar mass: 4.087 × 10⁻⁶ mol/m³ × 46.01 g/mol = 1.880 × 10⁻⁴ g/m³.
- Convert to µg/m³: 1.880 × 10⁻⁴ g/m³ × 10⁶ µg/g = 188.0 µg/m³.
Using the calculator with defaults (100 ppb, 46.01 g/mol, 25 °C, 1 atm) gives 188.0 µg/m³.
Assumptions
- The gas behaves ideally (valid for trace gases at ambient conditions).
- Concentration is by volume (ppb v/v), which is standard for gas measurements.
- Pressure is absolute, not gauge.
- Temperature is in Kelvin after conversion.
When to Use This Conversion
Air quality regulations and health guidelines often express limits in µg/m³ (e.g., PM2.5, NO₂, SO₂). However, many instruments report concentrations in ppb. To compare a reading to a standard, you must convert. This is also essential when calculating emission factors, exposure doses, or when modeling atmospheric chemistry.
For example, the U.S. EPA’s 1-hour NO₂ standard is 100 ppb. At 25 °C and 1 atm, that equals 188 µg/m³. At 0 °C (273.15 K), it would be 205 µg/m³ because the gas is denser. Always note the temperature and pressure when reporting converted values.
How to Choose the Right Molar Mass
The molar mass must match the gas you’re measuring. For a pure gas, use its molecular weight from the periodic table (e.g., O₃ = 48.00 g/mol, CO = 28.01 g/mol). For a mixture, you would need the average molar mass, but ppb conversion usually applies to a single pollutant. Be careful with common gases:
- NO₂ – 46.01 g/mol
- SO₂ – 64.07 g/mol
- O₃ – 48.00 g/mol
- CO – 28.01 g/mol
- Benzene (C₆H₆) – 78.11 g/mol (if measuring vapor)
If you’re measuring a gas that is not pure, like a VOC mixture, you need the average molecular weight, which is rarely known. In that case, report in ppb only.
Common Mistakes and Misconceptions
A frequent error is forgetting to convert °C to Kelvin. Using 25 directly instead of 298.15 changes the result by about 8%. Another mistake is using the wrong gas constant: if you use R = 8.314 (J/mol·K), you must work in pascals and cubic meters, not atm and liters. This calculator uses atm and liters, so stick to 0.0820574.
Also, ppb is sometimes confused with ppm (parts per million). 1 ppm = 1000 ppb. If you enter 100 ppm instead of 100 ppb, the result will be 1000 times too high. Always check your instrument’s units.
Finally, the conversion is only valid for gases. For particles or aerosols, ppb is not used; instead, mass concentration is measured directly. This formula does not apply to liquids or solids.
Limits of the Formula
The ideal gas law assumes no intermolecular interactions and negligible molecular volume. For trace gases in air (ppb levels), this is an excellent approximation. However, at very high pressures (e.g., >10 atm) or very low temperatures (near condensation), deviations occur. Also, the conversion assumes the gas is uniformly mixed and that the molar volume of air is the same as that of the pure gas—true for dilute mixtures.
If you need higher accuracy, use the compressibility factor (Z) for the specific gas, but for environmental monitoring, the ideal gas law is standard.
Frequently Asked Questions
Why does the conversion depend on temperature and pressure?
Because ppb is a volume ratio, while µg/m³ is a mass per volume. The same number of molecules occupies different volumes at different temperatures and pressures. Warmer air expands, so the same ppb corresponds to fewer molecules per cubic meter, hence a lower µg/m³. Higher pressure compresses air, so more molecules per cubic meter, hence a higher µg/m³.
What is the difference between ppb and µg/m³?
ppb (parts per billion) is a dimensionless ratio of molecules (or volume) of the gas to the total air. µg/m³ is a mass concentration. They are proportional but the conversion factor depends on the gas’s molar mass and the air’s molar volume. For example, 100 ppb of NO₂ (heavy gas) gives a higher µg/m³ than 100 ppb of CO (light gas) at the same conditions.
Can I use this calculator for any gas?
Yes, as long as you know the molar mass and the gas behaves ideally. For common pollutants like ozone, nitrogen dioxide, sulfur dioxide, and carbon monoxide, it works perfectly. For very reactive or condensable gases, the ideal gas assumption may fail, but for typical ambient measurements it’s fine.
What is the conversion factor at standard conditions (0 °C, 1 atm)?
At 0 °C (273.15 K) and 1 atm, the molar volume is 22.414 L/mol. The formula becomes: µg/m³ = ppb × molar mass × 1000 / 22.414. For example, 100 ppb of NO₂ (46.01 g/mol) gives 100 × 46.01 × 1000 / 22.414 = 205.3 µg/m³.
How do I convert from µg/m³ back to ppb?
Rearrange the formula: ppb = µg/m³ × 0.0820574 × (T in K) / (molar mass × pressure × 1000). Simply divide the µg/m³ value by the factor you used to get it. For instance, 188 µg/m³ of NO₂ at 25 °C and 1 atm gives 188 / (46.01 × 1000 / (0.0820574 × 298.15)) = 100 ppb.
Why do some references use 24.45 L/mol instead of 24.465?
That’s the molar volume at 25 °C and 1 atm, rounded to 24.45 L/mol. The exact value is 24.465 L/mol using R = 0.0820574. The difference is less than 0.1%, so it’s negligible for most purposes. Some sources use 25 °C and 1 atm, giving 24.465; others use 0 °C giving 22.414. Always check which conditions are being used.
Related
Formula used
in ppb | Concentration (ppb) | ppb | 100 | 0 in mm | Molar mass of gas | g/mol | 46.01 | 0 in t | Temperature | °C | 25 | -273.15 | 100 in p | Pressure | atm | 1 | 0 out ugm3 | Concentration (µg/m³) | µg/m³ | ppb * mm * p / (0.0820574 * (t + 273.15)) * 1000 | 3
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
- QPP Calculator Canada: How It Works & How to Use It
- PPP Calculator World Bank: How It Works & How to Use It2,000.00
- PPP Calculator: India vs USA Cost Comparison1,000.00 USD
- PPP Calculator USD to INR: How It Works2,335 INR
- PPP Calculator India vs UK: Real Cost Comparison103.63 GBP
- PPP Calculator India vs Dubai: Real Cost Comparison8,954.58 AED