molecalculator

Gas Laws

Ideal Gas Equation Volume Calculator and Formula

Calculator No. 04-0529 · Updated · Formula and assumptions shown below

Gas volume 24.4654 L
Gas volume
0.024465 m³
= Gas volume ÷ 1000
Amount of gas
1 mol
Set in the form below
Pressure
101.325 kPa
Set in the form below
Section
Gas Laws
You enter
Amount of gas (mol), Pressure (kPa), Temperature (°C)
You get
Gas volume (L), Gas volume (m³)
Rounding
4 dp · 6 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator finds the volume of an ideal gas from its amount, pressure, and temperature using the ideal gas equation. Enter moles, pressure in kilopascals, and temperature in Celsius; it returns volume in litres, with the equivalent volume in cubic metres as a check.

Formula

The ideal gas equation is PV = nRT. Rearranged to calculate volume, it is V = nRT / P.

  • V is gas volume. The calculator reports litres (L); its second output converts litres to cubic metres (m³) by dividing by 1,000.
  • n is the amount of gas in moles (mol).
  • P is absolute pressure in kilopascals (kPa). Pressure must be greater than zero.
  • T is absolute temperature in kelvins (K). Convert Celsius using T = t + 273.15, where t is the entered temperature in °C.
  • R is the gas constant in units compatible with these inputs: 8.31446261815324 kPa·L/(mol·K). This is numerically equal to 8.31446261815324 J/(mol·K), since 1 J = 1 kPa·L.

In the calculator’s expression, the temperature conversion is written as t + 273.15, and the result is in litres because the chosen gas constant uses kPa·L/(mol·K). To use pressure in atmospheres instead, a compatible form of the constant is approximately 0.0820574 L·atm/(mol·K); do not combine a pressure in atmospheres with the kPa form of R.

Worked Example

The default inputs are 1 mol of gas, 101.325 kPa, and 25 °C.

  1. Convert Celsius to kelvins: T = 25 + 273.15 = 298.15 K.
  2. Substitute into the volume equation: V = (1 mol × 8.31446261815324 kPa·L/(mol·K) × 298.15 K) / 101.325 kPa.
  3. Calculate: V ≈ 24.4654 L, or 24.4654 L to four decimal places.
  4. Convert to cubic metres: 24.4654 L / 1,000 = 0.0244654 m³, or 0.024465 m³ to six decimal places.

The displayed values are rounded; the cubic-metre result is calculated from the unrounded litre result.

Assumptions

  • The gas is treated as ideal: its molecules are assumed to have negligible volume and intermolecular attraction.
  • Pressure is absolute pressure, not gauge pressure.
  • Temperature is converted to kelvins, the absolute temperature scale.
  • The formula assumes equilibrium conditions and does not account for gas composition, humidity, or non-ideal behavior.

What “Volume” Means in the Ideal Gas Equation

In PV = nRT, volume is the space occupied by the gas under the stated pressure and temperature. There is no single required volume unit in the equation. Any consistent set of units works if the value of R matches those units. This calculator uses litres and kilopascals, a convenient combination for many chemistry calculations. In SI base units, volume is measured in cubic metres and pressure in pascals.

For reference, 1 m³ = 1,000 L, and 1 L = 0.001 m³. A litre is also one cubic decimetre. A volume such as 24.465 L is not a special fixed volume for every mole of gas: it applies here because the example specifies both 25 °C and 101.325 kPa. Changing either condition changes the calculated volume.

How Pressure and Temperature Affect Volume

For a fixed quantity of gas, the equation predicts that volume rises as absolute temperature rises and falls as pressure rises. For example, if the pressure stays the same and kelvin temperature doubles, the predicted volume doubles. If pressure doubles while temperature and amount stay fixed, volume halves.

These relationships are useful for comparing gas states. If a sample changes from one pressure-temperature condition to another without losing or gaining gas, the amount n remains constant, so the two states can be related using P₁V₁/T₁ = P₂V₂/T₂. Temperatures in this comparison must be kelvins, not Celsius. The calculator instead solves for volume from a specified amount, pressure, and temperature.

Choosing Units and Avoiding Common Errors

The most frequent error is using numbers that do not match the gas constant. The calculator expects pressure in kPa and temperature in °C, which it converts to K. If your pressure is given in pascals, divide by 1,000 to convert to kPa; if it is given in bar, multiply by 100 to convert to kPa. Atmospheric pressure is often quoted as 101.325 kPa, equivalent to 1 standard atmosphere.

  • Do not put Celsius directly into the equation. At 25 °C, use 298.15 K. Celsius has an arbitrary zero, whereas the ideal gas relationship requires absolute temperature.
  • Do not use gauge pressure as though it were absolute. Gauge pressure is measured relative to surrounding atmospheric pressure. Add the local atmospheric pressure to gauge pressure to obtain absolute pressure.
  • Keep volume units clear. The first result is litres; the second is cubic metres. A numerical value in litres is 1,000 times the corresponding value in cubic metres.
  • Do not confuse moles with molecules. Enter amount in mol, not a particle count or a mass. Convert mass to moles using the substance’s molar mass before applying the equation.

Pressure must be positive and temperature cannot be below absolute zero (−273.15 °C). A zero-mole input gives zero volume mathematically, but a real gas sample with no gas is not a measurable gas state.

When the Ideal-Gas Approximation Has Limits

The ideal gas law is a useful model, not an exact description of every gas. It often works well at relatively low pressures and temperatures well above the gas’s condensation point, where molecules are separated enough that their individual sizes and attractions have limited effect. At high pressure or near condensation, calculated volumes can differ noticeably from measured volumes.

For more accurate work under non-ideal conditions, a real-gas equation of state may be needed, such as the van der Waals equation or a model selected for the specific gas and operating range. These models require additional substance-specific parameters and may be inappropriate outside their validated conditions. Use measured data or a suitable reference for precision engineering and laboratory planning. Follow your lab method, the safety data sheet (SDS), and your supervisor.

Frequently Asked Questions

What is the unit of volume in the ideal gas equation?
There is no compulsory volume unit. Use a volume unit consistent with pressure and the gas constant. This calculator reports litres using pressure in kPa and R = 8.31446261815324 kPa·L/(mol·K).

Can volume be in cubic metres in PV = nRT?
Yes. For SI units, use volume in m³, pressure in Pa, amount in mol, temperature in K, and R = 8.31446261815324 Pa·m³/(mol·K). The calculator also displays the equivalent m³ value by converting litres.

Why does the ideal gas equation use kelvins?
Kelvin measures temperature from absolute zero. Gas volume relationships in the equation depend on absolute temperature, so Celsius values cannot be substituted directly.

Is one mole always 22.4 litres?
No. That familiar approximation applies to one mole of an ideal gas near 0 °C and 1 atm. Volume changes with pressure and temperature; at 25 °C and 101.325 kPa, this calculator gives about 24.4654 L per mole.

Does the equation use gauge or absolute pressure?
It uses absolute pressure. If a pressure reading is gauge pressure, account for atmospheric pressure before using the equation.

When should I use a real-gas equation instead?
Consider a real-gas model when pressure is high, temperature is near condensation, or ideal-gas results do not meet the required accuracy. The appropriate model depends on the gas and conditions.

Related

Formula used
in n | Amount of gas | mol | 1 | 0
in p | Pressure | kPa | 101.325 | 0.000001
in t | Temperature | °C | 25 | -273.15
out v | Gas volume | L | n * 8.31446261815324 * (t + 273.15) / p | 4
out vm | Gas volume | m³ | v / 1000 | 6

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Gas Laws section →