Gas Volume from Moles
Compute the volume a known amount of gas occupies with V = nRT/P, at STP or at any stated conditions.
Volume from an amount of gas
The page evaluates V = nRT/P with the amount in moles, pressure in kPa, R = 8.314 LkPa/(molK) and temperature in kelvin. One mole at 273.15 K and 101.325 kPa prints 22.4127 litres, and the line beneath states the molar volume at those conditions so the figure can be checked.
Pressure must be above zero, because the formula divides by it, and a temperature of 0 K or below is refused as well. The amount may be zero, which prints zero litres. The page assumes an ideal gas, so a real gas at high pressure occupies less than this.
The ideal gas law is evaluated once, locally. Nothing is stored, and the same inputs give the same volume after a reload.
The page evaluates V = nRT/P with the amount in moles, pressure in kPa, temperature in kelvin and R = 8.314 L·kPa/(mol·K). One mole at 273.15 K and 101.325 kPa prints 22.413 litres, with the molar volume at those conditions stated on the line beneath.
The gas is assumed ideal, so a real gas at high pressure occupies less than this and one near condensation less again. The page prints a volume at the conditions you state, not a volume corrected to STP.
How to use it
Enter the amount in moles, the pressure in kPa and the temperature in kelvin and press Run. The molar volume line is there to be compared with 22.414 L/mol at STP, which is the quickest check that the pressure and temperature were entered in the right units.
- Enter the amount in mol.
- Enter pressure in kPa and temperature in K.
- Read the volume in litres and compare the molar volume with 22.414 L/mol.
The arithmetic, and where it stops
Volume is nRT/P: multiply the amount by 8.314 and by the temperature, then divide by the pressure. The amount may be zero, which correctly prints zero litres, and the linearity in n means doubling the moles doubles the volume at fixed conditions.
Pressure must be above zero, because the formula divides by it, and a temperature of 0 K or below is refused as well. A zero amount is allowed and prints zero litres.
What to Expect
Best for
- Sizing a vessel or a gas bag from an amount in moles.
What this tool keeps
- The ideal gas law is evaluated in this tab; no amount, pressure or temperature is uploaded. The same figures give the same result after a reload.
Sample input
1, 101.325, 273.15
Sample output
V = 22.413 L molar volume = 22.413 L/mol
Frequently asked questions
How do I use the Gas Volume from Moles?
Enter the amount in moles, the pressure in kPa and the temperature in kelvin and press Run. The molar volume line is there to be compared with 22.414 L/mol at STP, which is the quickest check that the pressure and temperature were entered in the right units.
Does anything leave my browser?
No. The ideal gas law is evaluated in this tab; no amount, pressure or temperature is uploaded. Reloading the page discards every value you entered.
Which inputs does it refuse?
Pressure must be above zero, because the formula divides by it, and a temperature of 0 K or below is refused as well. A zero amount is allowed and prints zero litres.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.