UnitConv

Ideal Gas Lab

Bouncing molecules, real physics: pressure emerges from wall collisions while P·V = n·R·T holds live.

This is real molecular dynamics — no faked pressure. Particles fly and bounce elastically off the walls, and the pressure is measured from the impulse they deliver to the walls (it matches the theoretical N·k_B·T/A). Heat the gas to speed the molecules, drag the piston to change the volume, add particles, and watch P·V = n·R·T stay balanced with R = 8.314 J/(mol·K).

Ideal gas law · PV = nRT
P·V=92 kPa×27.0 L=2494 J
n·R·T=1.00 mol×8.314×300 K=2494 J
Gas constant: R = 8.314 J/(mol·K)
particles: 120 · Temperature: 300 K
Volume

Presets

Readouts

Temperature300 K27 °C
Volume27.0 LA = 54.0 m²
Amount1.00 molN = 120 particles
Measured pressure
0.0 kPaTheory (PV=nRT): 92.4 kPa
Mean speed0.00 m/s½m⟨v²⟩ ∝ T

Formulas & sources

P·V = n·R·T (R = 8.314 J/mol·K)

P from wall-collision impulse (measured)

½m⟨v²⟩ ∝ T (kinetic theory)

Boyle P∝1/V · Charles V∝T · Gay-Lussac P∝T

Explore