Interactive ideal gas law simulator with real-time particle animation, lock P/V/T controls, dynamic charts (P-V, P-T, V-T), and visual demonstrations of thermodynamic processes.
Gas Laws
About this simulation
This simulation shows pressure as the result of particles hitting the container walls. Students change the temperature from 100 to 800 K, the volume by moving the piston and the number of particles. The measured pressure is worked out from the actual impacts and compared with the ideal gas prediction nRT/V. Readouts also show volume and temperature. It is a strong visual for Boyle's law, Charles's law and the particle explanation of pressure, and for discussing why squeezing a gas can warm it.
What students can explore
- Lower Volume from 5 to 2 units and watch Measured P rise toward nRT / V.
- Raise Temperature to 800 K and see the particles move faster and the pressure increase.
- Add particles with the Amount slider and compare pressure before and after.
- Check that Measured P and nRT / V stay close together as you change each control.
- Use the Front and Angle camera views to watch particles hit the piston lid.
Learning objectives
- 1Explain gas pressure in terms of particle collisions with the walls.
- 2Describe how pressure changes with volume, temperature and amount of gas.
- 3Use P V = n R T to predict pressure for given conditions.
- 4Compare a measured value with a model prediction.
Questions teachers ask
Is it free?
Yes. It is free, runs in any modern browser including on interactive whiteboards and tablets, and needs no sign-up.
Why does pressure rise when volume falls?
In a smaller space the particles hit the walls more often, and each wall has less area to share the impacts. At constant temperature, halving the volume roughly doubles the pressure, which is Boyle's law.
Why does temperature raise pressure?
Hotter particles move faster, so they hit the walls more often and with more momentum each time. At fixed volume and amount, pressure is proportional to the absolute temperature in kelvin.
How do I use it in class?
Move the Temperature, Volume and Amount sliders one at a time and read Measured P. Switch between the Front and Angle views for different angles. Ask students to predict each pressure change.
Embed this simulation
Drop it into your LMS, blog, or class site — free.
<iframe src="https://kiwibee.io/en/simulations/gas-laws-3d-simulation/embed" title="Gas Laws | KiwiBee" loading="lazy" allowfullscreen style="width:100%;height:min(70vh,620px);min-height:420px;border:0;border-radius:16px"></iframe>Continue exploring
More interactive science models

Explore an adult male reference body in 3D. Reveal 14 anatomical systems, search thousands of named structures, isolate organs, and pull 2,209 modeled pieces apart to see how the body is organized.

Explore the head and neck in 3D: 643 source meshes across 14 layers, 47 facial and masticatory muscles, and 77 drawn nerves, vessels and glands the source scan omits. Open any tooth onto its own pulp canal, and follow the seven stages of tooth development.
Free interactive photosynthesis simulation. Explore photosynthesis hands-on online — great for whole-class or independent practice.
Free interactive states of matter simulation. Explore states of matter hands-on online — great for whole-class or independent practice.
Bring interactive science into your classroom
KiwiBee's free teacher workspace brings lesson planning, worksheets, classroom tools, and gradebook together in one place.
Start free and create your first class