Thermodynamics

Ideal gas sandbox

Change n, V and T and watch P follow PV = nRT.

Ideal gas sandbox — interactive Thermodynamics simulation. Change n, V and T and watch P follow PV = nRT. Free browser-based virtual physics lab with live SI measurements and a guided tutorial.

Ideal gas law

Change n, V and T and watch P follow PV = nRT.

The ideal gas law combines Boyle's, Charles's, and Avogadro's laws into one state equation. This sandbox keeps temperature explicit so you can see pressure rise when volume shrinks or moles increase. Molecular collisions against the piston wall produce the macroscopic pressure readout.

Investigation brief

Plan the question before you open the lab

The brief mirrors the prerendered page: driving question, competing predictions, variable roles, governing laws, setup, analysis and extension prompts remain visible and in this order.

Driving question

A fixed amount of gas is sealed in a rigid container. If you heat it up, what happens to its pressure?

Predictions to weigh

Variable roles

What you set:

What you measure:

How the investigation runs

  1. Open the ideal-gas-sandbox preset and press Reset. 1 mol of argon fills a fixed volume of 0.0249 m³.
  2. Enable the pressure readout on the chamber.
  3. Set the gas temperature for each trial and record the pressure.

Governing equation

Ideal Gas LawP = n·R·T / V

For n moles of ideal gas, pressure, volume, and temperature are locked together by P·V = n·R·T. At fixed n and V, pressure rises in direct proportion to absolute temperature.

Internal Energy of an Ideal GasU = f/2·n·R·T

An ideal gas's internal energy depends only on its temperature (and degrees of freedom f), not on pressure or volume separately: U = (f/2)nRT.

What the printable worksheet asks students to work out

Where this shows up beyond the lab

  1. Up or down?
  2. Raise the temperature
  3. Capture the pressure
  4. Open the data
  5. Explain your evidence

Open the interactive simulation to build the scene, press Play, and explore with live measurements and a guided tutorial.

Open Interactive Lab →

Download lab sheet →

The Ideal Gas Law

Thermodynamics