Our gas density calculator helps you to calculate the density of gas at a definite pressure and temperature.

In this article, we will look at:

  • What density is;
  • How the density of gas differs from liquid and solid;
  • Whether natural gas is heavier than air; and
  • Whether air is a liquid or not.

What is density?

Density refers to how tightly packed a substance is within a particular space.

The higher the density, the more tightly packed the substance is. Solid and liquid typically have a higher density than gas.

The density of gases is affected by temperature and pressure.

Density is represented by the Greek letter ρ\rho.

How the density of gas differ from other states of matter

Unlike the density of solids or liquids, the density of gas is changeable. This is because gas is not compact, and its molecules are affected by temperature and pressure.

Because of this characteristic, gas density is calculated differently from liquids and solids. Two ways that the density of gas differs drastically from solids are:

  • When the temperature of gas increases, the molecules move further apart. This causes a decrease in density.
  • When we apply pressure to gas, its molecules draw closer together. This increases the density.

How to find the density of gas with the ideal gas law

You typically need to know the mass and volume to find the density. With gas, as the volume goes up, the density goes down, and vice versa.

To calculate the density of gas, we use the ideal gas law:

PV=nRT\footnotesize PV = nRT
  • PP represents pressure.
  • VV represents volume.
  • nn represents the number of moles of gas.
  • RR is the universal gas constant. It is equal to 8.314462618 Jmol1K18.314462618\ \text{J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}.
  • TT is the absolute temperature in Kelvin (K\text{K}).

To calculate the volume of the gas, we need to make volume the subject of the formula. So the gas law rewritten to find the volume is:

V=nRT/P\footnotesize V = nRT/P

To find the mass of the gas, you use the number of moles of the gas divided by the molecular mass (MM). So, this means that:

n=m/M\footnotesize n = m/M

Now that we have established that n=m/Mn = m/M, we can replace nn with the mass value in the equation we use for volume. So we now have:

V=mRT/MP\footnotesize V = mRT/MP

Since density is mass per volume, we need to divide both sides by mass to get to the formula for density. So our new equation is now:

V/m=RT/MP\footnotesize V/m = RT/MP

To get the mass per volume, we need to invert this equation. With this, we get:

m/V=MP/RTρ=MP/RT\footnotesize \begin{split} m/V &= MP/RT \\ \therefore \rho &= MP/RT \end{split}

🙋 You can also calculate density without knowing the molar mass. In our ideal gas density calculator, we calculate the density using pressure, temperature, and a specific gas constant.

How our gas density calculator works

Our gas density calculator employs this formula: ρ=MP/RT\rho = MP/RT to find the density of gas. It takes in the pressure, temperature, and molar mass of gas and calculates the density. Because RR is a constant, we do not require you to enter this value.

When you enter these values, the molar mass is divided by 1, ⁣0001,\!000 (to convert it to kg/mol\text{kg}/\text{mol}, the actual unit for the molar mass of gas) and then multiplied by pressure. This is further divided by the universal gas constant times the temperature.

So if the given molar mass is 28 g/mol28\ \text{g}/\text{mol}, the temperature is 50 K50\ \text{K}, and the pressure is 10 Pa10\ \text{Pa}. We will substitute these values into the density equation to calculate the density. So now we will have:

ρ=(28 g/mol)/1,000×10 Pa8.3145×50 K\footnotesize \begin{split} \rho &= \frac{(28\ \text{g}/\text{mol})/ 1,\!000 \times 10\ \text{Pa}}{8.3145 \times 50\ \text{K}} \end{split}

🙋 Point to note:
This calculator uses absolute pressure.

FAQ

Is natural gas heavier than air?

No, natural gas is not heavier than air.

The molar mass of natural gas ranges from 16 to 18 g/mol, while the air we breathe weighs about 29 g/mol.

Is air a liquid?

No, the air is not a liquid, it is a gas. In fact, the air we breathe is made up of several gasses. These are:

  • Nitrogen;
  • Oxygen;
  • Argon;
  • Carbon dioxide;
  • Water vapor;
  • Neon;
  • Methane;
  • Krypton;
  • Xenon;
  • Ozone;
  • Nitrogen dioxide;
  • Iodine;
  • Carbon monoxide; and
  • Ammonia.
Adena Benn
Pressure (P)
Pa
Temperature (T)
K
Molecular mass (M)
g/
mol
Density (ρ)
kg/m³
People also viewed…

Black Friday

How to get best deals on Black Friday? The struggle is real, let us help you with this Black Friday calculator!

Generator power

The generator power calculator helps calculate the power requirement based on the current readings of various equipment and appliances or the power supply voltage of the premises.

Millionaire

This millionaire calculator will help you determine how long it will take for you to reach a 7-figure saving or any financial goal you have. You can use this calculator even if you are just starting to save or even if you already have savings.

Speed of sound

Check with our speed of sound calculator how the speed of sound in water or air changes with temperature.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies