# Gas Density Calculator

This is a sample of the Gas Density calculator. To access the working calculator, please sign up for free membership trial. Use this it for quick gas density calculation based on the molecular weight, temperature, pressure and z factor for the gas.

Density of an ideal gases is a function of pressure, molecular weight of the pure gas or mixture and the temperature of the gas.

Ideal gas equation is,

PV = nRT

where,

P = Pressure (bar, atmosphere, Pa)

V = Gaseous volume (m3, cm3)

n = number of gaseous moles (dimensionless)

R = Universal gas constant (J/mol.K, lit.atm/mol.K)

T = Temperature of the gas (K)

Let

M = molecular weight of the gaseous phase

W = n X M =  mass of the gaseous phase

To get the gas density formula,

PV = (W/M) RT

PM / RT = W/V

W/V = ρ = mass per unit volume, i.e. density (kg/m3, gm/cm3)

ρ = PM / RT  .................. formula for ideal gas density

For a real gas with compressibility factor z,

ρ = PM / zRT ..... formula for real gas density calculation

Gas Density calculator

Inputs

 Molecular Weight Pressure PakPabarmbarμbaratmin. waterin.HgmmHglbforce/sq.inlbforce/sq.ftkgforce/sq.cmkgforce/sq.mtorr Temperature deg.Cdeg.Fdeg.RankineKelvin Calculated gas density = kg/m3

Also refer to EnggCyclopedia's Liquid Density Calculator.