Ideal Gas Law
The single most useful equation in chemistry: PV = nRT. Adjust moles, temperature, and volume and watch pressure respond in real time.
Ideal Gas Law (PV = nRT)Live
pressure · volume · temperature · moles
Pressure
104
kPa (1.03 atm)
Controls
Set moles, temperature, and volume — pressure follows from PV = nRT. Compress the volume or heat the gas and watch the pressure climb.
Presets
Data Inspector
Pressure103.9 kPa
≈ atm1.03
Mean speed vs 300 K1.00x
LawPV = nRT
Governing equation
Reading this result: At 300 K, 1 mol in 24 L, PV = nRT gives about 103.9 kPa (1.03 atm). Mean molecular speed scales with the square root of temperature, so this gas moves about 1.00x as fast as it would at 300 K. Around room temperature the molecules carry moderate kinetic energy. Expanding the volume spreads the molecules out, lowering the collision rate and the pressure.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
★ Sign in to save this setupSave your tuned setup, or drop this simulation into your own site, docs, or course page.
How it works
The ideal gas law ties together pressure, volume, temperature, and amount of gas. Compress the volume or raise the temperature and pressure climbs; this calculator solves for pressure with a live piston so the relationships become intuitive.
✦
Ask the AI about this model
The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.
More Chemistry simulations
Frequently asked questions
Is this ideal gas law calculator tool really free?▾
Yes. Ideal Gas Law runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.