Volume of Gas Calculator
How Much Space Does a Gas Actually Take Up?
Unlike a solid or liquid, a gas doesn't have a fixed volume of its own — it expands to fill whatever container holds it, and how much room that takes depends entirely on how many moles are present, the temperature, and the pressure pushing back. This calculator isolates the volume term from the ideal gas law so you can answer that question directly from the other three variables.
The Formula
R = 0.0821 L·atm / (mol·K)
This is the same ideal gas law rearranged to solve for volume specifically. Temperature entered in Celsius is converted to kelvin internally before the calculation runs, since the gas constant above is defined in kelvin.
Where This Calculation Matters
- Balloon and airbag inflation — predicting the volume a known quantity of gas will occupy at a target pressure and temperature.
- Lab gas collection over water — estimating the expected volume of a gas product before running a reaction helps size the collection apparatus.
- HVAC and industrial gas handling — sizing pipework and vessels around expected gas volumes at operating temperature and pressure.
- Cross-checking experimental yield — comparing a measured gas volume against the theoretical volume from moles reacted flags errors early.
Volume of 1 Mole at Common Temperatures (1 atm)
| Condition | Volume (1 mol, 1 atm) |
|---|---|
| 0 °C (STP) | 22.426 L |
| 25 °C (room temperature) | 24.478 L |
| 37 °C (body temperature) | 25.463 L |
How to Use This Calculator
- Enter the Moles (mol) of gas present.
- Enter the Temperature and select whether it's in Celsius or kelvin.
- Enter the Pressure (atm).
- Select Calculate to get the volume in liters.
Related Calculations
Need to solve for pressure, moles, or temperature instead of volume? The full Gas Law Calculator solves the ideal gas law in any direction. Once you know moles, the Molarity Calculator can convert that into a solution concentration.
The Ideal Gas Law and Volume Derivations
In physical chemistry and thermodynamics, the ideal gas law provides the foundational equation of state describing the behavior of hypothetical ideal gases under varying thermodynamic conditions. By combining the historical empirical observations of Robert Boyle, Jacques Charles, Amedeo Avogadro, and Joseph Louis Gay-Lussac, the ideal gas law isolates spatial gas volume as a direct mathematical function of molar quantity, temperature, and pressure:
Where:
- V (Gas Volume): Three-dimensional spatial extent occupied by the gas molecules (m³, L, or dm³).
- n (Molar Quantity): Number of moles of gas present (mol), where 1 mol = 6.02214076 × 1023 particles (Avogadro's number).
- T (Absolute Temperature): Thermodynamic temperature measured on the Kelvin absolute scale (K = °C + 273.15).
- P (Absolute Pressure): Total pressure exerted by the gas against container boundaries (Pa, kPa, or atm).
- R (Universal Gas Constant): 8.314462 J/(mol·K) in SI units, or 0.0820574 L·atm/(mol·K).
Classical Empirical Gas Laws
Individual thermodynamic relationships describe how gas volume responds when specific state variables are held constant:
- Boyle's Law (Constant T, n): Gas volume is inversely proportional to pressure: P1 × V1 = P2 × V2. Compressing a gas to half its volume doubles its pressure.
- Charles's Law (Constant P, n): Gas volume is directly proportional to absolute temperature: V1 / T1 = V2 / T2. Heating a gas causes it to expand proportionally.
- Avogadro's Law (Constant P, T): Equal volumes of all gases at identical temperature and pressure contain identical numbers of molecules: V1 / n1 = V2 / n2.
- Combined Gas Law: (P1 × V1) / T1 = (P2 × V2) / T2.
Standard Molar Volume at Reference States
Under standardized reference conditions, one mole of an ideal gas occupies a precisely defined volume:
- Standard Temperature and Pressure (STP - Traditional NIST): Defined at 0°C (273.15 K) and 1.000 atm (101.325 kPa), the molar volume of an ideal gas equals exactly 22.414 Liters/mole.
- IUPAC Standard Ambient Temperature and Pressure (SATP): Defined at 25°C (298.15 K) and 1.000 bar (100.0 kPa), the molar volume equals 24.789 Liters/mole.
Real Gas Deviations and Van der Waals Equation
At extreme high pressures or cryogenic temperatures approaching condensation, real gases deviate from ideal behavior due to intermolecular attractive forces (dispersion forces) and the finite physical volume occupied by gas molecules. The Van der Waals equation introduces empirical corrections a and b:
The parameter a accounts for intermolecular dipole attractions that reduce boundary pressure, while b represents the co-volume (incompressible molecular volume) excluded by the gas particles.
Step-by-Step Worked Calculation Example
Example: Determining Compressed Argon Gas Volume in a Welding Tank
Problem: An industrial gas cylinder contains 150.0 moles of pure argon gas compressed at an absolute pressure of 15.0 MPa (15,000 kPa) at an ambient storage temperature of 27.0°C. Assuming ideal gas behavior, calculate the internal geometric storage volume of the cylinder in Liters.
Step 1: Convert temperature to absolute Kelvin scale and identify parameters:
- Moles (n) = 150.0 mol
- Temperature (T) = 27.0°C + 273.15 = 300.15 K
- Pressure (P) = 15,000,000 Pa (15.0 × 106 N/m²)
- Gas Constant (R) = 8.314462 J/(mol·K)
Step 2: Solve for volume in cubic meters:
V = (n × R × T) / P = (150.0 × 8.314462 × 300.15) / 15,000,000
V = 374,334.7 / 15,000,000 = 0.024956 m³
Step 3: Convert cubic meters to Liters (1 m³ = 1,000 L):
V = 0.024956 × 1,000 = 24.96 Liters
Conclusion: The argon gas occupies an internal cylinder volume of approximately 24.96 Liters.
Common Calculation Pitfalls
- Failing to Convert Temperatures to Kelvin: Using Celsius or Fahrenheit in the ideal gas equation yields completely invalid negative or zero volumes.
- Unit Inconsistencies with Gas Constant R: When using R = 0.08206 L·atm/(mol·K), pressure must be in atmospheres and volume in Liters; when using R = 8.314 J/(mol·K), pressure must be in Pascals and volume in cubic meters.
- Neglecting Gauge vs. Absolute Pressure: Tank pressure gauges report gauge pressure; always add 101.325 kPa (1.013 bar) before calculating gas volumes.
Stratospheric Weather Balloons and High-Altitude Volume Expansion
High-altitude meteorological sounding balloons provide a vivid real-world demonstration of combined gas laws. When released at sea level, a latex weather balloon is filled with only a small fraction of its maximum volume (typically 2 to 3 cubic meters of helium gas) under 1.0 atm of surface pressure. As the balloon ascends through the troposphere into the stratosphere where atmospheric ambient pressure drops to less than 0.01 atm (10 millibars), the internal gas volume expands exponentially to over 100 cubic meters until the latex envelope stretches to its physical elastic burst limit.