Skip to content

Ideal gas in 3D

Spin a box of gas particles in 3D. Change the amount of gas, the temperature and the volume, and see how pV = nRT works. Free, with no sign-up.

Drag the box sideways to spin it. On a phone, use the buttons to tilt it, so the page can still scroll.

pV = nRT
Pressure
Wall hits per second (picture)
Average speed
Particles shown
Try an experiment

How it works

The box shows a small sample of the particles. Each particle flies in a straight line and bounces off the walls. Temperature sets the average kinetic energy, so the particles move faster when it is hotter. Pressure comes from the particles hitting the walls: more hits per second, or harder hits, mean more pressure. The pressure number is worked out from p = nRT / V with R = 8.314 J K⁻¹ mol⁻¹. Temperature must be in kelvin (K) and volume in dm³ (litres), which gives pressure in kPa.

The model is an ideal gas: tiny particles, no forces between them. Real gases act like this at normal pressures and temperatures.

Ask Alex why a gas behaves this way, free

Alex opens already knowing what you were looking at. Built for ADHD and dyslexic learners as well as everyone else.