**This gas density calculator utilizes key parameters such as temperature, pressure, and molecular weight to compute the density of a given gas.**

For instance, consider calculating the density of

nitrogen gasat room temperature (20°C) and standard atmospheric pressure (1 atm).

## Gas Density Calculator

Gas | Temperature (°C) | Pressure (atm) | Molar Mass (kg/mol) | Density (kg/m³) |
---|---|---|---|---|

Nitrogen | 0 | 1 | 0.028 | 1.25 |

Oxygen | 25 | 2 | 0.032 | 2.61 |

Hydrogen | 100 | 0.5 | 0.002 | 0.02 |

Methane | -50 | 5 | 0.016 | 4.97 |

Argon | 50 | 3 | 0.040 | 4.37 |

Carbon Dioxide | 20 | 1 | 0.04401 | 1.98 |

Helium | 0 | 1 | 0.004 | 0.18 |

Ammonia | -33 | 1 | 0.01703 | 0.73 |

Ethanol Vapor | 25 | 1 | 0.04607 | 2.38 |

Propane | -42 | 1 | 0.04410 | 1.81 |

Butane | -1 | 1 | 0.05812 | 2.48 |

Neon | -250 | 1 | 0.02018 | 0.90 |

Xenon | -108 | 1 | 0.13130 | 5.89 |

Sulfur Dioxide | 25 | 1 | 0.06407 | 2.86 |

Nitrous Oxide | -88 | 1 | 0.04401 | 1.98 |

## Gas Density Formula

The **gas density formula** is derived from the ideal gas law:

**ρ = (P ***M) / (R* T)

Where:

- ρ (rho) =
gas density(kg/m³)- P =
pressure(Pa)- M =
molar mass(kg/mol)- R =
universal gas constant(8.314 J/(mol·K))- T =
temperature(K)

## How is gas density calculated?

Calculating gas density involves the following steps:

**Gather the necessary information**: Obtain the gas pressure, temperature, and molar mass.

**Convert units**: Ensure all units are compatible (e.g., pressure in Pascals, temperature in Kelvin).

**Apply the formula**: Use the gas density formula mentioned above.

**Perform the calculation**: Substitute the values and compute the result.

Let’s calculate the density of **oxygen** at 25°C and 2 atm:

- Given: T = 25°C + 273.15 = 298.15 K, P = 2 atm = 202,650 Pa, M(O₂) = 0.032 kg/mol
- ρ = (202,650
0.032) / (8.314298.15)- ρ ≈ 2.61 kg/m³

## What is the density of gas?

The **density of a gas** refers to its mass per unit volume. Unlike liquids and solids, gas density can vary significantly with changes in temperature and pressure. Gases generally have much lower densities than liquids or solids due to the large spaces between their molecules.

For example, air at sea level and 20°C has a density of approximately 1.2 kg/m³. In contrast, water at the same conditions has a density of about 1000 kg/m³, illustrating the vast difference between gas and liquid densities.

## What is the density of gas in kg/m³?

Gas density is commonly expressed in **kilograms per cubic meter (kg/m³)**. This unit provides a practical measure of a gas’s mass in a given volume. The density of gases in kg/m³ can range from very low values for light gases like **hydrogen** to higher values for heavier gases or gases under high pressure.

For instance:

- Helium at 0°C and 1 atm: ≈ 0.18 kg/m³
- Carbon dioxide at 0°C and 1 atm: ≈ 1.98 kg/m³

## How to calculate molar mass of gas?

The **molar mass** of a gas is crucial for density calculations. To determine it:

**Identify the chemical formula** of the gas.

**Look up the atomic masses** of each element in the periodic table.

**Multiply** each element’s atomic mass by its number of atoms in the molecule.

**Sum** all the results to get the molar mass.

Calculate the molar mass of carbon dioxide (**CO₂**)

- C: 12.01 g/mol, O: 15.99 g/mol
- CO₂ = 12.01 + (2 * 15.99) = 44.01 g/mol
- Convert to kg/mol: 44.01 / 1000 = 0.04401 kg/mol

## References

- National Institute of Standards and Technology (NIST): Thermophysical Properties of Fluid Systems
- The Engineering ToolBox: Gases – Densities
- American Chemical Society (ACS): Physical Properties of Gases

**Related Tools:**