Explore the Gas Laws Simulator
Change temperature, volume and particles to see pressure follow PV = nRT. Free, no signup, runs in your browser.
- Free to use
- No signup
- Nothing to install
- Runs in your browser
See it in action
The Gas Laws Simulator with sample data entered and the result showing.

What is the Gas Laws Simulator?
Change temperature, volume and particles to see pressure follow PV = nRT. It runs in your browser, so a change to a setting or a drag on an object shows up at once.
Gas laws explain tyre pressure, scuba diving limits, weather balloons, aerosol cans and car engines. Chemists use them to convert between moles, volume and pressure.
3 steps to your result
Open the tool and follow along. Nothing to install.
What you get
Boyle's law: at constant temperature, halving the volume doubles the pressure.
Charles's law: at constant pressure, volume rises with temperature.
Pressure comes from particles hitting the walls, so more particles or faster particles means more pressure.
Halve the volume and watch the pressure double.
Hold pressure constant and raise the temperature.
Add particles and watch the gauge climb.
Used for
Pick one to see how it fits.
Chemistry learners
Chemistry students from middle school to university, teachers who need a virtual demonstration, and anyone without access to a lab.
Try it freeTeachers
For teachers: project the Gas Laws Simulator on the board, let students predict the result, then run it together and test this: Hold pressure constant and raise the temperature. For students: change one thing at a time and write down what changes.
Try it freeHow it compares
A plain look at this tool next to the usual alternative.
| This simulation | Textbook diagram | |
|---|---|---|
| Interactive | Drag, tap and change settings | Fixed picture |
| Install | Nothing to install | Not needed |
| Cost | Free to use | Depends on the book |
Questions people ask
What is the ideal gas law?
PV = nRT relates pressure, volume, amount of gas and temperature. This simulator calculates pressure from the other three values.
Why does pressure go up when I heat the gas?
Hotter particles move faster, hit the walls harder and more often, so the pressure rises.
Is the Gas Laws Simulator free to use?
Yes. The Gas Laws Simulator is free, needs no signup or download and runs in your web browser. It is part of the Chemistry group of AZRS simulations.
Does the Gas Laws Simulator work on a phone or tablet?
Yes. The Gas Laws Simulator takes touch input as well as mouse input, so you can use its 4 adjustable settings with a finger. A larger screen makes the controls and graphs easier to read.
How do I use the Gas Laws Simulator?
1. In the Gas Laws Simulator, use the controls to change Pump species, Heater (+) / Cooler (−), Hold constant, Add or remove particles. The simulation reacts instantly. 2. In the Gas Laws Simulator, pick an option such as Heavy (blue), Light (orange), Nothing, Volume to switch modes or load an example. 3. In the Gas Laws Simulator, press "Add 10 particles", "Remove 10", "Reset gas" to start, reset or change what is happening. 4. Start with this experiment: Halve the volume and watch the pressure double. Drag any glowing handle, object or slider with your mouse or finger and the Gas Laws Simulator responds in real time. 5. Change one setting at a time and watch which readout moves, then compare it with this idea: Boyle's law: at constant temperature, halving the volume doubles the pressure.
More free tools
Related to the Gas Laws Simulator.
Try the Gas Laws Simulator now
Change temperature, volume and particles to see pressure follow PV = nRT. Free to use.
Try it free