⚗️

Gas Density Calculator

Calculate natural gas density at operating pressure and temperature using the real gas equation and a Z factor you supply.

Gas Density Calculator
Calculate natural gas density at operating conditions with the real gas equation ρ = P·MW/(Z·R·T). Molecular weight comes from gas specific gravity, and you supply the Z-factor (compressibility), for example from the Z-Factor calculator. Suited to mass flow, line pack and equipment-sizing estimates; this is not a custody-transfer calculation.

Operating Conditions

psig
°F

Gas Properties

-

Typical: 0.55-0.70 (sweet gas), 0.70-0.90 (rich gas)

-

Typical range: 0.70-1.00. Enter Z from the Z-Factor calculator, a Standing-Katz chart, or AGA-8 (computed separately).

Calculation Method

Real gas: Use for P > 100 psig, with a Z-factor you supply
Ideal gas: Only for preliminary estimates at low pressure

Calculated Gas Properties

Density Units:
lb/ft³ (US Customary), kg/m³ (Metric/SI), Specific Volume (ft³/lb).
Gas Physics:
Z-Factor (Compressibility), Molecular Weight (MW), Absolute Pressure (psia), Absolute Temperature (°R).
Calculation Standards:
Real gas law ρ = P·MW/(Z·R·T); GPA 2145-16 relative-density reference molar mass (28.9625); GPSA Section 23 for physical-property background. Z is user-supplied, not computed here.

Formula

ρ = (P × MW) / (Z × R × T)
ρ = Gas density (lb/ft³)
P = Absolute pressure (psia)
MW = SG × 28.9625 (lb/lbmol, GPA 2145-16)
Z = Compressibility factor (0.7-1.0)
R = 10.7316 psia·ft³/lbmol·°R
T = °F + 459.67 (°R)

Standards & References

  • AGA Report No. 8
    Detail-characterization method for Z; a source for the Z you enter, not computed by this tool
  • GPSA
    Section 23: Physical Properties
  • ISO 12213-2
    Compression-factor calculation from composition; a source for the Z you enter, not computed by this tool
  • GPA 2145
    Physical Constants for Paraffin Hydrocarbons

Engineering Notes

  • Z-factor source: Z is an input. Get it from the Z-Factor calculator, a Standing-Katz chart, AGA-8 or a process simulator. Custody transfer needs a composition-based Z (AGA-8 / ISO 12213).
  • Pressure basis: Calculator adds 14.73 psia to convert gauge to absolute pressure
  • Z < 1 effect: Real gas is denser than ideal gas prediction (ρ_real = ρ_ideal / Z)
  • Accuracy: ±0.5% with accurate Z-factor; ±5-10% using ideal gas at high pressure
  • Gauge to absolute: the calculator adds 14.73 psia (US gas-contract base pressure); GPA 2145 tabulates properties at 14.696 psia, 60°F

Typical Gas Gravities

  • Pure Methane: 0.554
  • Dry Natural Gas: 0.58-0.65
  • Wet/Rich Gas: 0.70-0.85
  • Associated Gas: 0.75-1.00

Common Gas Density Table (Standard Conditions)

Density of common gases at standard conditions (60°F, 14.696 psia), from ρ = MW·P/(R·T) with Z ≈ 1. Use the calculator above for density at any operating pressure and temperature with the real-gas Z-factor.

Ideal-gas density at 60°F and 14.696 psia (R = 10.7316 psia·ft³/lbmol·R). Real-gas values differ slightly via the Z-factor at higher pressure.
Gas Molar mass (lb/lbmol) Density (lb/ft³)
Hydrogen (H₂)2.0160.0053
Methane (CH₄)16.0430.0423
Nitrogen (N₂)28.0130.0738
Air28.9640.0763
Ethane (C₂H₆)30.0700.0792
Carbon dioxide (CO₂)44.0100.1160

Frequently Asked Questions

How do you calculate natural gas density?

Natural gas density is calculated using the Real Gas Equation of State: ρ = (P × MW) / (Z × R × T), where P is absolute pressure, MW is molecular weight, Z is the compressibility factor, R is the gas constant, and T is absolute temperature.

What is the Z-factor in gas density calculations?

The Z-factor (compressibility factor) is a correction term that accounts for the deviation of a real gas from ideal gas behavior. At high pressures, natural gas becomes denser than an ideal gas would predict, making Z less than 1.0.

Why is gas density important in pipelines?

Gas density is used to determine mass flow rates, calculate pipeline inventory (line pack), and size compressors and equipment. Custody transfer requires a compressibility factor calculated from gas composition (AGA Report No. 8 or ISO 12213), which this calculator does not perform.

What is the density of natural gas?

At standard conditions (60°F, 14.696 psia), methane — the main component of natural gas — has a density of about 0.0423 lb/ft³, compared with 0.0763 lb/ft³ for air. Density rises with pressure and falls with temperature, corrected by the compressibility factor Z.