Potential Energy Calculator
Gravitational or elastic potential energy, with the working.
Solve PV = nRT for whichever quantity is missing.
Leave blank the one you are solving for.
Kelvin, not Celsius.
| Measure | Value |
|---|
Ideal Gas Law Calculator solves PV = nRT for whichever of the four quantities you do not have. R is the universal gas constant, 8.314462618 joules per mole per kelvin, which is a defined value rather than a measured one since the 2019 redefinition of the SI base units.
Temperature must be in kelvin, and the page says so in several places because it is the mistake that swallows the most marks in school thermodynamics. Celsius is an offset scale, so a gas at 20 °C is at 293.15 K, and using 20 instead makes the answer wrong by a factor of nearly fifteen while still looking like a plausible number.
The results are repeated in litres, atmospheres and degrees Celsius alongside the SI figures. Laboratory work is done in those units far more often than in cubic metres and pascals, and converting afterwards is where arithmetic slips creep in. The molar volume is given too: at 0 °C and one atmosphere it comes out at 22.41 litres per mole, the figure chemistry courses ask you to memorise.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
More tools: FreeToolsZone.org
The Ideal Gas Law Calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
PV = nRT, connecting pressure, volume, amount of gas and absolute temperature through the gas constant R.
Because the law is built on absolute temperature, where zero means no thermal energy. Celsius puts zero at the freezing point of water instead, so ratios taken in Celsius are meaningless.
8.314462618 J/(mol·K) in SI. In other unit systems it takes other values, such as 0.082057 L·atm/(mol·K), which is the same constant expressed differently.
At high pressure and low temperature, where the molecules are close enough that their own volume and their attraction to each other start to matter. Air at room conditions is close enough to ideal for almost any practical purpose.
If the Ideal Gas Law Calculator is not quite what you need, these other free tools solve closely related problems, and there are 11 more in physics calculators.
Gravitational or elastic potential energy, with the working.
Kinetic energy of a moving object, and what it means in other units.
Convert Celsius to kelvin and kelvin to Celsius.
Convert pressure between every common unit.
Force from mass and acceleration, or either one from the other two.
Checked and rebuilt on 2026-10-18. The method this calculator uses is described in the section above, and corrections go through the contact page.