Gas Density
Density of an ideal gas.
Formula
Live Calculator
MembersVariables
Example
Denser at high pressure
How it works
This formula gives the mass density of an ideal gas by combining the ideal gas law with the definition of density. From PV = nRT and n = m/M, you can rearrange to m/V = PM/RT, so density increases when pressure rises, decreases when temperature rises, and is larger for gases with greater molar mass. It works best when the gas behaves nearly ideally, which is usually a good approximation at low pressure and moderate temperature.
When to use it
Use this when you need the density of a gas from measurable conditions like pressure and temperature, such as in fluid dynamics, atmospheric chemistry, or engineering calculations. It is also useful for comparing how different gases behave under the same conditions or checking whether a gas sample should rise or sink relative to another gas.
Worked example, step by step
Find the density of carbon dioxide at 2.50 atm and 300 K. Use ρ = PM / RT P = 2.50 atm M = 44.01 g mol^-1 R = 0.082057 L atm mol^-1 K^-1 T = 300 K ρ = (2.50 × 44.01) / (0.082057 × 300) ρ = 110.025 / 24.6171 ρ = 4.47 g L^-1 Final answer: the density of CO2 is 4.47 g/L.
Common mistakes to avoid
- Using the wrong value of R for the units chosen, which gives an incorrect density
- Forgetting to convert molar mass into consistent units with density, such as mixing g/mol with kg/m^3 without conversion
- Applying the formula to real gases at very high pressure or very low temperature without checking ideal-gas behavior
Did You Know?
Hot air rises because heating a gas lowers its density, the principle that lifts hot-air balloons.
Share this formula
More in Chemistry
View allIdeal Gas Law
IntermediateRelates pressure, volume, moles and temperature of a gas.
Molarity
BasicConcentration in moles of solute per litre of solution.
Moles from Mass
BasicNumber of moles from mass and molar mass.
pH
BasicAcidity from hydrogen-ion concentration.
pOH
BasicBasicity from hydroxide-ion concentration.
Henderson–Hasselbalch
AdvancedpH of a buffer solution.