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 gases 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 molecular mass is divided by 1, ⁣0001,\!000 (to convert it to kg/mol\text{kg}/\text{mol}, the actual unit for the molecular mass of gas) and then multiplied by pressure. This is further divided by the universal gas constant times the temperature.

So if the given molecular 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}

If you are interested in other similar calculators you should check out this list:

FAQ

Is natural gas heavier than air?

No, natural gas is not heavier than air.

The molecular weight 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, air is not a liquid, it is a gas. In fact, the air we breathe is made up of several gasses. These are:

  • Oxygen;
  • Carbon dioxide;
  • Nitrogen;
  • Water vapor;
  • Argon;
  • 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³
Check out 78 similar classical mechanics calculators ⚙️
AccelerationBank angleBelt length… 75 more
People also viewed…

Centripetal force

Check this centripetal force calculator if you want to estimate the centripetal force acting upon a body in circular motion.

Inductors in series

Use Omni's inductors in series calculator to work out the equivalent inductance of a series circuit.

Meat footprint

Check out the meat impact - on the environment and your health.

Significant figures

The significant figures calculator performs operations on sig figs and shows you a step-by-step solution!
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background