⚛Science calculator

Ideal Gas Law Calculator

Solve PV = nRT for pressure, volume, temperature, or moles.

Enter solve for, pressure and volume and get solved value and unit instantly.

InSolve forInPressureInVolumeInTemperatureOutSolved valueOutUnitOutIn Celsius (temperature only)
5 inputs3 resultsFree no signupPrivate in your browser

Ideal Gas Law Calculator

Fill in the values and the answer updates as you type.

Live
1 Your numbers
atm
L
K
mol
2 Your result

How the Ideal Gas Law Calculator works

The ideal gas law is PV = nRT with R = 0.082057 L·atm/(mol·K). Pick the quantity to solve for; its input box is ignored. Temperature must be in kelvin (K = °C + 273.15). Example: 1 mol at 273.15 K and 1 atm occupies about 22.4 L.

Inputs and results

The Ideal Gas Law Calculator takes 5 inputs and gives 3 results.

What you enter

  • Solve for — starts at Pressure (atm). Choose from: Pressure (atm), Volume (L), Temperature (K) and Moles.
  • Pressure (atm) — starts at 1.
  • Volume (L) — starts at 22.414.
  • Temperature (K) — starts at 273.15.
  • Amount of gas (mol) — starts at 1.

What you get

  • Solved value
  • Unit
  • In Celsius (temperature only)

Example: Ideal Gas Law Calculator with the starting values

With solve for Pressure (atm), pressure 1 atm, volume 22.414 L, temperature 273.15 K and amount of gas 1 mol, the calculator returns:

Example results
Solved value1
Unitatm
In Celsius (temperature only)—

Change any value above and the results update straight away.

Ideal Gas Law Calculator FAQ

How do I use the Ideal Gas Law Calculator?

Enter solve for, pressure, volume and temperature in the fields, then read solved value, unit and in celsius (temperature only) in the result panel. The answer updates as you type, and you can press Calculate or Enter to refresh it. Use “Copy link” to share your exact numbers with someone else.

What does the Ideal Gas Law Calculator calculate?

Solve PV = nRT for pressure, volume, temperature, or moles. It returns solved value, unit and in celsius (temperature only) from the 5 values you provide.

What values does the Ideal Gas Law Calculator start with?

It opens with solve for Pressure (atm), pressure 1 atm, volume 22.414 L and temperature 273.15 K so you can see a working result straight away. Replace them with your own numbers, or press Reset to return to these starting values.

Is the Ideal Gas Law Calculator free and private?

Yes. It is free, needs no account, and runs in your browser, so nothing you type is sent to or stored on our servers. See the Privacy Policy for details.

Can I rely on the Ideal Gas Law Calculator for important decisions?

Treat the result as a well-rounded estimate. Real situations often have details a general calculator cannot know, so confirm important decisions with a qualified professional. See the Disclaimer for more.