The gas-volume equation triangle is a memory aid for the ideal gas law, PV = nRT: rearranging it gives V = nRT/P. Enter the amount of gas, temperature, and pressure below to calculate its volume in liters, with the ideal-gas assumptions made explicit.
Formula
The ideal gas law is PV = nRT. Solving for volume gives V = nRT/P. In the calculator, the units are chosen so the result is in liters:
- V is gas volume in liters (L).
- n is amount of gas in moles (mol).
- T is absolute temperature in kelvin (K).
- P is absolute pressure in kilopascals (kPa).
- R is the gas constant, 8.31446261815324 L·kPa/(mol·K).
This value of R is equivalent to the exact SI value 8.31446261815324 J/(mol·K), because 1 J = 1 kPa·L. The second output converts liters to cubic meters: 1 m³ = 1000 L, so m³ = V/1000.
Worked Example
Using the calculator’s defaults—n = 1 mol, T = 273.15 K, and P = 101.325 kPa—substitute into the volume equation:
V = nRT/P
V = (1 mol × 8.31446261815324 L·kPa/(mol·K) × 273.15 K) / 101.325 kPa
V = 22.41396954 L, which rounds to 22.4140 L at four decimal places.
In cubic meters, 22.41396954 L / 1000 = 0.02241396954 m³, or 0.022414 m³ at six decimal places. This is the ideal-gas molar volume near 0 °C and 1 atmosphere; it is not a universal volume for one mole at every temperature and pressure.
Assumptions
- The gas is treated as ideal: molecular volume and intermolecular attractions are neglected.
- Temperature is entered in kelvin and pressure is absolute pressure, not gauge pressure.
- The amount represents gas in moles; the gas is assumed to be a single, well-defined sample.
- No correction is made for humidity, gas composition, or non-ideal behavior.
What the Gas Volume Triangle Means
A formula triangle is a visual shortcut for remembering relationships. For the ideal gas law, a common arrangement puts PV above nRT, separated by a horizontal line. Covering the quantity you want to find suggests the rearrangement: cover V and the remaining relationship gives V = nRT/P. Cover P and it gives P = nRT/V.
The triangle is a memory device, not a separate law. The underlying relationship is PV = nRT, which connects pressure, volume, amount of gas, and absolute temperature. It applies to an ideal gas and is a useful approximation for many gases when pressure is not too high and temperature is not near condensation. Real gases can depart noticeably from it under other conditions.
Do not confuse this with Boyle’s law, Charles’s law, or the combined gas law. Those are useful special relationships for comparing states when particular quantities remain fixed. For example, Boyle’s law says pressure and volume vary inversely when the amount and temperature are constant. The ideal gas law covers the broader set of variables.
How to Use the Calculator
- Enter the gas amount in moles. If you have a mass instead, convert it to moles using amount = mass / molar mass.
- Enter temperature in kelvin. To convert Celsius, add 273.15; for example, 25 °C is 298.15 K.
- Enter absolute pressure in kPa. Convert other pressure units before entering the value.
- Read the first result as liters and the second as cubic meters. Keep enough significant figures for the precision of your inputs.
For pressure conversions, 1 atm = 101.325 kPa, and 1 bar = 100 kPa. A pressure reported as gauge pressure is measured relative to surrounding atmospheric pressure, so it is not the absolute pressure required by PV = nRT. Add local atmospheric pressure to gauge pressure to obtain absolute pressure, using consistent units.
Choosing the Right Equation and Units
Use V = nRT/P when the amount, temperature, and pressure are known and volume is the unknown. If the question gives a starting and ending state rather than an amount in moles, the combined gas law may be more convenient, provided the amount of gas stays constant: P₁V₁/T₁ = P₂V₂/T₂. Temperatures in that equation must also be in kelvin.
When a gas amount is given as mass, first use the substance’s molar mass. For instance, a mass in grams divided by a molar mass in g/mol gives moles. If the composition is a mixture, use the total amount of gas for total volume, or a component’s partial pressure when calculating that component’s contribution.
Units must match the chosen gas constant. This calculator uses kPa, liters, moles, and kelvin. If using pressure in atmospheres and volume in liters instead, the corresponding gas constant is about 0.0820574 L·atm/(mol·K). Do not mix that constant with kPa, or use Celsius directly in the equation.
Common Mistakes and Limits
- Using Celsius: The gas law requires absolute temperature. A temperature of 0 °C is 273.15 K, not 0 K.
- Using gauge pressure: The equation requires absolute pressure. Gauge pressure can be zero while the surrounding air still exerts substantial pressure.
- Mixing units: Match pressure and volume units to R, and convert mass to moles when needed.
- Assuming a fixed molar volume: One mole does not always occupy about 22.4 L. That value is tied to the example’s temperature and pressure.
- Overstating precision: A calculator can show many digits, but the answer cannot be more reliable than the measured inputs or the model.
The ideal gas law becomes less reliable when gases are dense, under high pressure, or close to a phase change. In those cases, a real-gas equation of state or measured property data may be needed. For many ordinary calculations, the ideal model is an appropriate first estimate, but the result should not be treated as exact physical behavior.
Frequently Asked Questions
What is the gas volume equation?
The ideal-gas volume equation is V = nRT/P. It calculates volume from amount in moles, absolute temperature, and absolute pressure.
How do I use the gas law triangle to find volume?
Start with PV = nRT and rearrange to V = nRT/P. The triangle is only a reminder; check that the units are consistent with R.
What is the value of R for gas volume in liters?
For volume in liters, pressure in kPa, amount in moles, and temperature in kelvin, use R = 8.31446261815324 L·kPa/(mol·K). For pressure in atm, use about 0.0820574 L·atm/(mol·K).
Is 22.4 liters always the volume of one mole of gas?
No. It is an approximate result for an ideal gas near 273.15 K and 101.325 kPa. Changing temperature or pressure changes the volume.
Can I put Celsius and gauge pressure into the equation?
No. Convert Celsius to kelvin by adding 273.15, and convert gauge pressure to absolute pressure by accounting for atmospheric pressure. Then use matching units for the gas constant.
Related
Formula used
in n | Amount of gas | mol | 1 | 0 in t | Temperature | K | 273.15 | 0 in p | Pressure | kPa | 101.325 | 0 out v | Gas volume | L | n * 8.31446261815324 * t / p | 4 out m3 | 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
- Liters to Cubic Meters: Conversion and Examples0.001000 m³
- Normal Cubic Meter to Liters Calculator1,000.00 L
- Qt to Liters Conversion: US and Imperial Quarts0.946353 L
- Meters to Liters Formula: Convert Length to Volume?1,000.000 L
- Meters to Litres: Why Length Alone Is Not Enough1,000.00 L
- Cubic Meters per Hour to Liters per Second0.2778 L/s