Ideal Gas Law Calculator
Solve pressure, volume, amount, or absolute temperature with the equation PV = nRT.
About the ideal gas law
Ideal gas law examples
Each row rearranges the same PV = nRT relationship for a different unknown.
| Known values | Solved value | Use |
|---|---|---|
| V = 0.0249434 m³, n = 1 mol, T = 300 K | P ≈ 100,000 Pa | Find pressure from volume, amount, and temperature. |
| P = 100,000 Pa, n = 2 mol, T = 300 K | V ≈ 0.049887 m³ | Find the volume occupied by two moles. |
| P = 101,325 Pa, V = 0.01 m³, T = 293.15 K | n ≈ 0.416 mol | Estimate the quantity of gas in a ten-litre vessel. |
| P = 200,000 Pa, V = 0.02 m³, n = 1.5 mol | T ≈ 320.73 K | Find absolute temperature from a known state. |
How to use the ideal gas law calculator
- Select Pressure, Volume, Amount, or Temperature as the unknown variable.
- Enter positive SI values in the three fields that appear.
- Convert gauge pressure to absolute pressure and Celsius to kelvin before calculating.
- Select Solve Ideal Gas Law and review the result with its SI unit.
Ideal gas law FAQ
What value of R is used?
The calculator uses 8.314462618 J/(mol·K). This value matches pascals, cubic metres, moles, and kelvin.
Can I use litres and atmospheres?
Convert them to SI units before entering values here. Multiply litres by 0.001 for cubic metres and atmospheres by 101,325 for pascals.
Why must temperature be in kelvin?
Gas-law proportionality is based on absolute temperature measured from absolute zero. Celsius values would distort the ratio and can produce invalid results.
Is the ideal gas law exact for every gas?
No, it is an approximation that works best at moderate pressure and away from condensation. Real-gas corrections are needed when molecular interactions become important.
What is the difference between moles and mass?
Moles count the amount of substance in molecular units, while mass measures how heavy it is. Convert mass to moles by dividing by the gas molar mass.