← All Tools

Gas Density Calculator

Calculate real gas density from pressure, temperature, molecular weight (or specific gravity), and compressibility factor using the real gas equation of state.

Gas Properties

ρ = P × MW / (Z × R × T)

R = 10.7316 psia·ft³/(lb-mol·°R). T in °R = T(°F) + 459.67.

Gas Density

--

Density (kg/m³)

--

Specific Gravity

--

Mol. Weight

--

How this was calculated

Real gas law: PV = ZnRT. Rearranging for density: ρ = PM / (ZRT), where M is molecular weight and R = 10.7316 psia·ft³/(lb-mol·°R).

Specific gravity: SG = MW_gas / MW_air, where MW_air = 28.967 lb/lb-mol.

Z-factor: The compressibility factor accounts for non-ideal gas behavior. For quick estimates, use Z = 0.85-0.90 for sweet gas at moderate pressures. For accurate Z, use the Standing-Katz chart or Hall-Yarborough correlation.

Need help with gas processing, PVT analysis, or reservoir fluid characterization?

Book a free strategy call →

Understanding Gas Density Calculations

Gas density is a critical parameter in petroleum engineering, affecting flow calculations, pressure gradients, separator design, and pipeline hydraulics. Unlike liquids, gas density varies significantly with pressure, temperature, and composition. The real gas equation of state accounts for molecular interactions through the compressibility factor Z, which deviates from unity at high pressures and low temperatures typical of reservoir and wellbore conditions.

For natural gas mixtures, the apparent molecular weight can be calculated from composition or estimated from the gas specific gravity (relative to air at standard conditions). This calculator supports both inputs. All calculations run entirely in your browser with no data sent to any server. Built by Groundwork Analytics.

Disclaimer: These calculations are for screening and educational purposes only. Results should be verified against laboratory data or detailed simulation before making operational decisions. Groundwork Analytics assumes no liability for decisions made based on these results.