Gas Density Calculator
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 .
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:
- represents pressure.
- represents volume.
- represents the number of moles of gas.
- is the universal gas constant. It is equal to .
- is the absolute temperature in Kelvin ().
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:
To find the mass of the gas, you use the number of moles of the gas divided by the molecular mass (). So, this means that:
Now that we have established that , we can replace with the mass value in the equation we use for volume. So we now have:
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:
To get the mass per volume, we need to invert this equation. With this, we get:
🙋 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: to find the density of gas. It takes in the pressure, temperature, and molar mass of gas and calculates the density. Because is a constant, we do not require you to enter this value.
When you enter these values, the molar mass is divided by (to convert it to , 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 , the temperature is , and the pressure is . We will substitute these values into the density equation to calculate the density. So now we will have:
🙋 Point to note:
This calculator uses absolute pressure.
List of related calculators
If you are interested in other similar calculators, you should check out this list:
Is natural gas heavier than air?
No, natural gas is not heavier than air.
The molar mass of natural gas ranges from
18 g/mol, while the air we breathe weighs about
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:
- Carbon dioxide;
- Water vapor;
- Nitrogen dioxide;
- Carbon monoxide; and