Gas Laws Simulator
Change temperature, volume and particles to see pressure follow PV = nRT.
Pressure0 atm
Temperature0 K
Volume0 L
Amount0 mol
P × V0
What you can learn
- Boyle's law: at constant temperature, halving the volume doubles the pressure.
- Charles's law: at constant pressure, volume rises with temperature.
- Pressure comes from particles hitting the walls, so more particles or faster particles means more pressure.
Frequently asked questions
What is the ideal gas law?
PV = nRT relates pressure, volume, amount of gas and temperature. This simulator calculates pressure from the other three values.
Why does pressure go up when I heat the gas?
Hotter particles move faster, hit the walls harder and more often, so the pressure rises.