Toolvito

Works on this device

Gas Volume Calculator

Work out the volume of a gas at a stated reference condition, or move a measured volume from one temperature and pressure to another. Standard temperature and pressure (STP) has more than one definition, so you choose the one you use.

Enter your values

From an amount in moles, or from a mass of a named gas.

Your values

Standard temperature and pressure (STP) has more than one definition. Choose the one your book, lab or industry uses.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Actual, normal and standard gas flow

Choose Actual and normal or standard gas flow and the direction you need. Enter the known rate, operating temperature and absolute pressure. Select the reference conditions printed on the meter or specification.

For the same amount of dry gas per second, reference flow equals actual flow × (operating pressure ÷ reference pressure) × (reference temperature ÷ operating temperature) × (reference Z ÷ operating Z). Both temperatures are in kelvin. Use measured compressibility factors when ideal-gas behaviour is inadequate.

How to use this calculator

  1. Choose a task: the volume of an amount of gas, a conversion of a measured volume, the molar volume, a gas cylinder, or a liquid that boils into gas.
  2. Choose the reference condition, such as STP (IUPAC since 1982): 0 °C and 100 kPa, or type your own temperature and pressure.
  3. Enter the amount of gas in moles, or a mass and the gas (a formula such as N2 or CO2).
  4. Choose Calculate. The result names the condition it used, and How it was worked out shows the numbers.

Reference conditions

These are the named conditions in the menus. The molar volume is the volume of one mole of an ideal gas there.

Named reference conditions
Name Temperature Pressure Molar volume Where it is used
STP (IUPAC) 0 °C (273.15 K) 100 kPa 22.711 L/mol IUPAC since 1982
STP, older form 0 °C (273.15 K) 101.325 kPa (1 atm) 22.414 L/mol many textbooks; DIN 1343 normal conditions
NTP 20 °C (293.15 K) 101.325 kPa 24.055 L/mol NIST
SATP 25 °C (298.15 K) 100 kPa 24.790 L/mol IUPAC, standard ambient conditions
Standard conditions, 15 °C 15 °C (288.15 K) 101.325 kPa 23.645 L/mol ISO 13443 (natural gas)
US standard, 60 °F 60 °F (15.56 °C) 14.696 psi (1 atm) 23.690 L/mol standard cubic feet in many US industries
US natural gas 60 °F (15.56 °C) 14.73 psi 23.636 L/mol US natural gas measurement
US gas cylinders 70 °F (21.11 °C) 14.696 psi (1 atm) 24.146 L/mol US Compressed Gas Association

The formulas

  • Volume at a condition: V = n × Vm, with the molar volume Vm = R × T ÷ P and R = 8.31446261815324 J/(mol·K).
  • Moles from a mass: n = m ÷ M. Hydrogen gas (H2) has M = 2.016 g/mol.
  • From one condition to another: V2 = V1 × (P1 ÷ P2) × (T2 ÷ T1), with absolute pressures and temperatures in kelvin.
  • Gas collected over water: the dry gas has the measured pressure minus the water vapour pressure (Dalton's law).
  • Gas cylinder: n = P × V ÷ (Z × R × T) with the absolute cylinder pressure, then the volume of that gas at the reference condition.
  • Liquid to gas: mass = liquid volume × liquid density, n = mass ÷ M, then the gas volume at the reference condition.

Worked examples

One mole of any ideal gas at the IUPAC STP (0 °C, 100 kPa) fills 8.31446 × 273.15 ÷ 100,000 = 0.0227110 m³, which is 22.711 L. At 0 °C and 1 atm it fills 22.414 L.

In a lab, 48.5 mL of hydrogen is collected over water at 22 °C and 100.8 kPa. The water vapour pressure at 22 °C is about 2.644 kPa, so the dry hydrogen has 98.156 kPa. At 0 °C and 101.325 kPa its volume is 48.5 × (98.156 ÷ 101.325) × (273.15 ÷ 295.15) = 43.48 mL.

A 50 L cylinder at 200 bar gauge and 15 °C holds an absolute pressure of 201.01325 bar. At 15 °C and 1 atm that gas fills 50 × 20,101,325 ÷ 101,325 = 9,919 L, or 9.92 m³, if it were an ideal gas.

One litre of liquid nitrogen (0.807 kg) is 28.807 mol of N2. At 20 °C and 1 atm that is 0.693 m³ of gas: about 693 times the volume of the liquid.

Limits you should know

  • Every result treats the gas as an ideal gas. At the high pressure inside a gas cylinder real gases differ by several percent; type a compressibility factor Z from a table to correct for that.
  • The water vapour pressure, when you do not type it, comes from the Buck equation (1996) for saturated air over liquid water between 0 °C and 100 °C.
  • The liquid densities in the menu are example values at the boiling point and 1 atm. Use the value for your own tank or data sheet.
  • For a gas that changes state with a law (Boyle, Charles, combined) use the Gas Law Calculator. For one state of a gas use the Ideal Gas Law Calculator.
  • Results are for study and planning. They are not a safety rating for a cylinder, and they do not replace the oxygen check that a room with liquid nitrogen needs.

Related tools