Gas Density Calculator

Gas Density Calculator calculator can be used to calculate the density of a gas using the ideal gas law.

Input Parameters

Calculation Results

Calculation Formula

Density = (Pressure × Molar Mass) / (Gas Constant × Temperature)

Where:
Pressure (P) = in Pascals (Pa)
Molar Mass (M) = in kilograms per mole (kg/mol)
Gas Constant (R) = 8.314 J/(mol·K)
Temperature (T) = in Kelvin (K)

Result

Gas Density Calculator Calculator Usage Guide

Learn how to use the Gas Density Calculator calculator and its working principles

How to Use the Calculator

  1. Enter the pressure of the gas in Pascals (Pa).
  2. Enter the molar mass of the gas in kilograms per mole (kg/mol).
  3. Enter the temperature of the gas in Kelvin (K).
  4. Click the "Calculate" button to compute the gas density.
  5. The result will be displayed in kilograms per cubic meter (kg/m³).

Working Principle

The Gas Density Calculator uses the ideal gas law to calculate the density of a gas:

\[ \text{Density} = \frac{P \cdot M}{R \cdot T} \]

Where:

  • \( P \) = Pressure (Pa)
  • \( M \) = Molar mass (kg/mol)
  • \( R \) = Universal gas constant (8.314 J/(mol·K))
  • \( T \) = Temperature (K)

This formula assumes the gas behaves ideally, which is a good approximation for many gases at moderate temperatures and pressures.

Example

If you have a gas with a pressure of 101325 Pa, a molar mass of 0.02897 kg/mol (for Nitrogen), and a temperature of 293.15 K (20°C), the density would be:

\[ \text{Density} = \frac{101325 \cdot 0.02897}{8.314 \cdot 293.15} \approx 1.225 \text{ kg/m³} \]