Calculate gas volume, moles, pressure, or temperature with ideal gas law, combined gas law, density, real gas Z factor, and unit conversions.

Solve PV = nRT for the selected quantity.

Use absolute pressures and temperatures above absolute zero. Ideal-gas estimates exclude real-gas effects. Supplied-Z modes require a valid compressibility factor for the solved state.

Gas Volume Formula

The following ideal-gas formula calculates gas volume using absolute pressure and temperature. The supplied-Z modes use PV = ZnRT with a compressibility factor valid for the solved state.

GV = n × R × T / P
  • Where GV is the Gas Volume (m^3)
  • n is the number of moles of gas 
  • T is the absolute temperature (K); convert °C to K by adding 273.15.
  • R is the molar gas constant (8.31446261815324 J/(mol·K), exact).
  • P is the absolute pressure (Pa).

How to Calculate Gas Volume?

The following example problems outline how to calculate Gas Volume.

Example Problem #1

  1. First, determine the number of moles of gas.
    1. The number of moles of gas is given as 140.
  2. Next, determine the gas temperature and convert it to kelvin.
    1. The temperature is 50 °C = 323.15 K.
  3. Next, determine the pressure (Pa).
    1. The pressure (Pa) is found to be 30.
  4. Finally, calculate the Gas Volume using the formula above: 

GV = n*R*T/P

Inserting the values from above yields: 

GV = 140 × 8.31446261815324 × 323.15 / 30 = 12,538.4868 m³.


Example Problem #2

The variables needed for this problem are provided below:

number of moles of gas = 185

temperature = 874 °C = 1147.15 K

pressure (Pa) = 93

Entering these values and solving gives:

GV = 185 × 8.31446261815324 × 1147.15 / 93 = 18,973.3131 m³.