Skip to main content
Speclore

Ideal Gas Law

Reference data and engineering information about ideal gas law for gases and compressed air applications.

idealgaslawCalculator

Overview

The ideal gas law relates pressure, volume, temperature, and amount of gas. It works well for most gases at moderate pressures and temperatures.

Variables

SymbolDescriptionUnit
PPPressurePa
VVVolume
nnAmount of substancemol
RRUniversal gas constant8.314 J/(mol·K)
TTTemperatureK

Formula

PV=nRTPV = nRT

Calculator

Notes

  • Results are approximate and should be verified for critical applications
  • Input values should be within reasonable engineering ranges

Key Formulas

The ideal gas law can be expressed in several equivalent forms:

Universal Gas Constant Form: pV=nRuTpV = nR_uT where Ru=8.3145J/(mol⋅K)R_u = 8.3145 \, \text{J/(mol·K)}

Individual Gas Constant Form: pV=mRTpV = mRT p=ρRTp = \rho RT where RR is the specific gas constant for the particular gas.

Combined Gas Law (for fixed amount of gas): p1V1T1=p2V2T2\frac{p_1V_1}{T_1} = \frac{p_2V_2}{T_2}

Non-Ideal Gas Law (with Compressibility Factor): pV=ZnRuTpV = ZnR_uT where ZZ is the dimensionless compressibility factor.

Molecular Form: pV=NkTpV = NkT where NN is the number of molecules and k=1.38066×1023J/Kk = 1.38066 \times 10^{-23} \, \text{J/K} is the Boltzmann constant.

Important Definitions

  • Ideal Gas: A theoretical gas composed of randomly moving, non-interacting point particles. The ideal gas law is most accurate at low pressures and high temperatures.
  • Universal Gas Constant (RuR_u): A fundamental constant that appears in the ideal gas law, independent of the type of gas. Its value is approximately 8.3145J/(mol⋅K)8.3145 \, \text{J/(mol·K)}.
  • Individual Gas Constant (RR): Specific to a particular gas, related to the universal gas constant by R=Ru/MR = R_u / M, where MM is the molar mass of the gas.
  • Compressibility Factor (ZZ): A correction factor that accounts for the deviation of real gases from ideal gas behavior. Z=1Z = 1 for an ideal gas. Its value depends on the gas's pressure and temperature.

Example Calculation

For air in a 1 ft³ tank at 70°F and 50 psi gauge pressure:

  1. Absolute pressure: p=50psi+14.7psi=64.7psip = 50 \, \text{psi} + 14.7 \, \text{psi} = 64.7 \, \text{psi}.
  2. Convert to consistent units: p=64.7×144=9316.8lb/ft2p = 64.7 \times 144 = 9316.8 \, \text{lb/ft}^2.
  3. Convert temperature to Rankine: T=70+460=530°RT = 70 + 460 = 530 \, \text{°R}.
  4. The individual gas constant for air is R=1716ft⋅lb/(slug⋅°R)R = 1716 \, \text{ft·lb/(slug·°R)}.
  5. Density calculation: ρ=pRT=9316.81716×5300.0102slugs/ft3\rho = \frac{p}{RT} = \frac{9316.8}{1716 \times 530} \approx 0.0102 \, \text{slugs/ft}^3.
  6. Weight of the air: w=ρgV=0.0102×32.2×10.328lbw = \rho g V = 0.0102 \times 32.2 \times 1 \approx 0.328 \, \text{lb}.

Compressibility Factor (Z) for Air

This table provides the compressibility factor (ZZ) for air, showing how its behavior deviates from an ideal gas across various temperatures and pressures.

References