TTKTheTextKit

Ideal Gas Law Calculator

Choose what you want to find, pressure, volume, moles of gas or temperature, and enter the other three with the units you have. The calculator converts everything to SI units, solves PV = nRT with the exact gas constant and gives the answer in the unit you pick. It also shows the volume of one mole of gas at the same temperature and pressure, and a table of the gas constant in the common units. Everything runs in your browser.

Find
mol
Volume
22.414 L
22.414 L
One mole at this T and P
22.414 L
The molar volume of an ideal gas
Gas constant RUnits
8.31446J / (mol K)
8.31446L kPa / (mol K)
0.0820574L atm / (mol K)
0.0831446L bar / (mol K)
62.3636L mmHg / (mol K)

The ideal gas law says that pressure times volume equals the amount of gas times the gas constant times the absolute temperature: PV = nRT. Temperature must be in kelvins, so degrees Celsius add 273.15 and degrees Fahrenheit are converted first. The gas constant is the Avogadro constant times the Boltzmann constant, both exact since the 2019 redefinition of the SI, which gives 8.31446261815324 J/(mol K). A standard atmosphere is exactly 101,325 Pa, a millimeter of mercury is 1/760 of it and a bar is 100,000 Pa. A mole of ideal gas at 0 degrees C and 1 atm takes up about 22.414 L, and at 0 degrees C and 1 bar about 22.711 L. Real gases follow the law well at low pressure and high temperature and drift from it when they are squeezed or cold. Everything runs in your browser.

Related Tools

[5 suggestions]

About the Ideal Gas Law Calculator

The ideal gas law says that pressure times volume equals the amount of gas times the gas constant times the absolute temperature. The gas constant R is the Avogadro constant times the Boltzmann constant, both exact since the 2019 redefinition of the SI, which gives 8.31446261815324 J/(mol K), or about 0.082057 L atm/(mol K). The temperature must be in kelvins, so the calculator adds 273.15 to degrees Celsius and converts degrees Fahrenheit first, and it asks for a temperature above absolute zero. A standard atmosphere is exactly 101,325 Pa, a millimeter of mercury is 1/760 of that, a bar is 100,000 Pa and a psi comes from the pound and the inch. A worked example: 1 mole at 0 degrees Celsius and 1 atmosphere takes up about 22.414 L, and at 0 degrees Celsius and 1 bar about 22.711 L. Two moles in 10 L at 25 degrees Celsius is a pressure of about 4.89 atm. The law describes an ideal gas, and real gases follow it well at low pressure and high temperature and drift from it when they are squeezed or cold.

What is the ideal gas law?▾

It is PV = nRT: pressure times volume equals the moles of gas times the gas constant times the temperature in kelvins. If you know three of the four quantities, the law gives the fourth.

What value of the gas constant does it use?▾

The exact SI value, 8.31446261815324 J/(mol K), which is 0.082057 when pressure is in atmospheres and volume in liters. It is the Avogadro constant times the Boltzmann constant.

Why must the temperature be in kelvins?▾

Because the law is proportional to the absolute temperature, and a Celsius or Fahrenheit zero is not absolute zero. The calculator converts for you, adding 273.15 to Celsius, and refuses a temperature at or below absolute zero.

What is the volume of one mole of gas?▾

At 0 degrees Celsius and 1 atmosphere it is about 22.414 L, and at 0 degrees Celsius and 1 bar it is about 22.711 L. The calculator shows it for any temperature and pressure.

Is my data uploaded?▾

No. The law is solved in your browser and nothing you enter is sent anywhere.