The ideal gas law relates pressure, volume, amount and temperature. It is accurate for most gases near room conditions.
How to use this calculator
- Choose what to solve for.
- Enter the other three values in any units (°C, bar, L…).
- Read the answer.
Formula
PV = nRT, R = 8.314462618 J/(mol·K)Worked example
1 mol at 0 °C and 101.325 kPa occupies 22.41 L.
Frequently asked questions
When does the ideal gas law fail?
At high pressure or low temperature near condensation. Use a real-gas equation (van der Waals, Peng–Robinson) there.
Why must temperature be absolute?
The law is proportional to absolute temperature. The calculator converts °C and °F to kelvin for you.
Results are for learning and preliminary design. Check critical work against the relevant codes and a qualified engineer.