About this simulation
A box full of gas molecules bounces around, colliding elastically with the walls. Change the volume, temperature, or number of moles and watch the pressure — computed live from PV=nRT — respond exactly as kinetic theory predicts.
Pressure from collisions
Every bounce off a wall is a tiny push — pressure is the combined effect of billions of these pushes per second.
Hotter means faster
Raising temperature speeds up every molecule — more frequent, harder collisions mean higher pressure.
Model note: the particle count and speeds shown are illustrative, not literal molecule counts or true molecular speeds — the pressure readout itself uses the exact ideal gas equation, PV=nRT.