Ideal Gas Law Calculator

Solve PV = nRT for whichever quantity is missing.

Physics Calculators Free, no sign-up Runs in your browser

Ideal Gas Law Calculator tool

Leave blank the one you are solving for.

Kelvin, not Celsius.

—
Result
—
Volume in litres
—
Pressure in atm
—
Temperature in °C
—
Molar volume
MeasureValue
Kelvin, always. Putting Celsius into PV = nRT is the commonest mistake in the whole of thermodynamics, and at room temperature it is wrong by a factor of about 14.

About the Ideal Gas Law Calculator

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

How to use the Ideal Gas Law Calculator

  1. Choose work outThe fields below change to match what you pick, so only the figures that matter to your case are asked for.
  2. Enter pressure (pa), volume (m³) and amount (moles)Decimals are fine, and thousands separators are accepted and ignored.
  3. Read the result, volume in litres and pressure in atmThe figures update as you type. The Calculate button is there if you would rather press something, but nothing waits for it.
  4. Copy or check the resultCopy the summary with the copy button, or open the table to check it row by row and read the formula with your own numbers in it.

What the Ideal Gas Law Calculator does

  • Shows result, volume in litres, pressure in atm, temperature in °c and molar volume together, so you are not running it twice
  • A results table you can read across
  • Prints the formula with your own figures substituted in
  • Updates as you type, with no button to press and no page reload
  • Copy the result in one click
  • Free, no sign-up, and it runs entirely in your browser

Who uses the Ideal Gas Law Calculator

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:

  • Finding the volume a quantity of gas occupies at a given pressure
  • Working out how many moles a container holds
  • Checking a gas-law answer in the units the question used
  • Confirming the molar volume at standard conditions

Common questions about the Ideal Gas Law Calculator

What is the ideal gas law?

PV = nRT, connecting pressure, volume, amount of gas and absolute temperature through the gas constant R.

Why must temperature be in kelvin?

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.

What is the value of R?

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.

When is a gas not ideal?

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.

Kinetic Energy Calculator

Kinetic energy of a moving object, and what it means in other units.

Physics Calculators Use tool

Force Calculator

Force from mass and acceleration, or either one from the other two.

Physics Calculators Use tool

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.