When to use Ideal Gas Law Calculator
Solve the ideal gas equation for pressure, volume, or temperature.
Check a heat, temperature or gas relationship before comparing alternative initial and final conditions.
How to use this tool
- Choose the calculation mode that matches your task and the information you have.
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- The result updates as you enter valid values. Read every output with its unit and the assumptions below.
- Amount of gas
- Gas temperature
- Volume
- Absolute pressure
How it works
Find pressure
Rearrange PV = nRT as P = nRT/V. Use absolute pressure and temperature.
Find volume
Use V = nRT/P for an ideal gas.
Find temperature
Solve T = PV/(nR). This gives an absolute temperature before conversion to other units.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
Find pressure
- Amount of gas
- 1 mol
- Gas temperature
- 20 °C
- Volume
- 24 L
- Pressure
- 101.557696521 kPa
Find volume
- Amount of gas
- 1 mol
- Gas temperature
- 20 °C
- Absolute pressure
- 1 atm
- Volume
- 24.0551168666 L
Find temperature
- Amount of gas
- 1 mol
- Absolute pressure
- 1 atm
- Volume
- 24 L
- Temperature
- 292.478312993 K
Understanding the result and its limits
Absolute temperature, temperature difference and pressure references are distinct. Ideal-gas and constant-property assumptions have limits.
Frequently asked questions
Are temperature differences and absolute temperatures the same?
No. A change in temperature and a position on a temperature scale require different treatment. Follow the quantity named in the field.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: physics and physical models