Gas Volume Calculator: Formula and Worked Example
- Molar volume
- L/mol
- Result
- Amount of gas
- 1 mol
- You entered
- Pressure
- 101.325 kPa
- You entered
Calculate a gas’s volume from its amount, pressure, and temperature using the ideal gas law: enter moles, pressure, and absolute temperature, and the calculator returns volume in liters. The result assumes the gas behaves ideally, which is a useful approximation for many gases at relatively low pressure and high temperature.
Formula
The ideal gas law is PV = nRT. Rearranged to calculate volume:
V = nRT / P
- V is gas volume in liters (L).
- n is the amount of gas in moles (mol).
- R is the gas constant, 8.314462618 L·kPa/(mol·K) when pressure is entered in kilopascals.
- T is absolute temperature in kelvins (K).
- P is absolute pressure in kilopascals (kPa).
The calculator’s second result, molar volume, is volume divided by amount of gas: V/n, in liters per mole. It is a useful check on how the chosen pressure and temperature affect the volume of one mole.
Worked Example
Using the calculator’s defaults—1 mol of gas at 101.325 kPa and 273.15 K:
- Substitute the values: V = (1 mol × 8.314462618 L·kPa/(mol·K) × 273.15 K) / 101.325 kPa.
- Multiply the numerator: 8.314462618 × 273.15 = 2271.0957 L·kPa/mol.
- Divide by the pressure: 2271.0957 / 101.325 = 22.41397 L.
- Rounded to two decimal places, the gas volume is 22.41 L. For 1 mol, the molar volume is also 22.41 L/mol.
This is a calculated ideal-gas result, not a universal volume for one mole. Change the pressure or temperature and the volume changes, even when the amount of gas stays the same.
When to Use the Ideal Gas Law
Use the formula when you know a gas’s amount, pressure, and temperature and want its volume under those conditions. It is also useful for comparing gas samples or estimating how a gas changes volume when conditions change. For a fixed quantity of gas, the combined gas law is another convenient form: P₁V₁/T₁ = P₂V₂/T₂. It relates two states without requiring the amount in moles, provided the amount does not change and ideal behavior is a reasonable assumption.
The law is a model. Real gas particles have volume and attract or repel one another; the ideal-gas equation ignores those effects. It generally works best when particles are relatively far apart, such as at lower pressures and higher temperatures. At high pressures or near a gas’s condensation point, real-gas behavior can make the estimate noticeably inaccurate. For precise work, use suitable real-gas data or an equation of state for the particular gas.
Choosing Units and Pressure
Units must match the gas constant. This calculator uses pressure in kPa, temperature in K, and returns liters. Equivalent forms of the gas constant include approximately 0.082057 L·atm/(mol·K) and 8.314 J/(mol·K); do not combine a value in one unit system with pressure or volume in another without conversion.
- Temperature: Convert Celsius to kelvins with K = °C + 273.15. For Fahrenheit, first convert to Celsius using °C = (°F − 32) × 5/9, then add 273.15. Never enter a Celsius or Fahrenheit number as though it were kelvins.
- Pressure: The formula needs absolute pressure. If a gauge reports pressure relative to the surrounding air, add local atmospheric pressure to obtain absolute pressure before using it. Atmospheric pressure varies with altitude and weather; 101.325 kPa is a conventional reference value, not a guarantee of the pressure at a particular location.
- Volume: One liter is 1,000 cubic centimeters and about 0.0353 cubic feet. One cubic meter is 1,000 liters, or about 35.3 cubic feet. Convert the calculator’s liter result when another unit is needed.
US customary measurements often use cubic feet and pounds per square inch, while metric calculations commonly use liters or cubic meters and kPa or pascals. Convert all inputs consistently before substituting them. In particular, standard psi is a pressure unit; gauge psi and absolute psi are not interchangeable.
How to Read the Result and Common Errors
The volume is the space the stated amount of gas would occupy at the entered pressure and temperature, under the ideal-gas assumption. It is not necessarily the size of a container that can safely hold the gas, nor does it account for liquid, dissolved, or chemically reacting material.
- Using gauge pressure directly: This undercounts absolute pressure and can substantially overestimate calculated volume. Convert gauge to absolute pressure first.
- Mixing units: For example, entering pressure in atmospheres while using the kPa version of R gives a wrong answer. Convert pressure or use the matching constant.
- Using a non-absolute temperature: The gas law requires kelvins, whose zero is absolute zero.
- Overinterpreting rounded values: The displayed answer is rounded to two decimal places. More digits do not make the ideal-gas model more accurate than its assumptions permit.
- Confusing volume with amount: A gas sample’s volume can change without adding or removing gas when pressure or temperature changes.
The calculator requires positive pressure and a nonnegative amount and temperature. A zero amount gives zero volume; a pressure of zero cannot be used in the equation. Real gases at extreme conditions may require a different model.
Frequently Asked Questions
How do you calculate gas volume?
Use V = nRT/P: multiply moles by the gas constant and absolute temperature, then divide by absolute pressure. Make sure the units of R match the pressure and volume units.
What is the volume of one mole of gas?
There is no single volume at every condition. At 273.15 K and 101.325 kPa, the ideal-gas calculation gives about 22.41 L per mole. At other pressures or temperatures, calculate the volume from the same equation using those conditions.
Can I use Celsius in the gas-volume formula?
No. Convert Celsius to kelvins by adding 273.15. Absolute temperature is required because the relationship between gas volume and temperature is based on a scale that starts at absolute zero.
Should I use gauge or absolute pressure?
Use absolute pressure. Gauge pressure is measured relative to local atmospheric pressure, so add atmospheric pressure to a gauge reading before applying the ideal gas law.
Does the formula work for every gas?
It is an approximation, not an exact description of every gas at every condition. It is often useful at relatively low pressure and high temperature; high pressure or conditions near condensation can require a real-gas correction.
Related
Formula used
in n | Amount of gas | mol | 1 | 0 in p | Pressure | kPa | 101.325 | 0 in t | Temperature | K | 273.15 | 0 out v | Gas volume | L | n * 8.314462618 * t / p | 2 out vm | Molar volume | L/mol | v / n | 2
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, rounded as each result states. See how the calculators work or report an error.