Ideal Gas Law Calculator

Use the ideal gas law formula PV = nRT to calculate the pressure, volume, number of moles, or temperature of an ideal gas.

Calculate

Results: Pressure

- Pa

Pressure Formula:

P = nRT / V
Add This to Your Site

On this page:

How to Use the Ideal Gas Law

Our ideal gas law calculator can determine the pressure, volume, temperature, or number of moles of a gas when the other properties are known. It is based on the Ideal Gas Law, a fundamental equation in chemistry and physics that describes the relationship between the properties of an ideal gas.

Ideal Gas Formula

The Ideal Gas Law formula is:

PV = nRT

Where:

  • P = Pressure
  • V = Volume
  • n = Number of moles of gas
  • R = Ideal gas constant
  • T = Absolute temperature

The ideal gas constant R is a proportionality constant that relates pressure, volume, temperature, and the amount of gas in the equation. The calculator above uses the constant 8.31446261815324 J/(mol·K) for calculations.

Graphic showing the Ideal Gas Law formula which states that the pressure P of a gas times its volume V is equal to the number of moles times the gas constant times the temperature T.

How to Calculate Pressure

To calculate pressure, rearrange the Ideal Gas Law:

P = nRT / V

Thus, the pressure P in pascals is equal to the number of moles n times the gas constant R times the temperature T in kelvins, divided by the volume V in cubic meters.

How to Calculate Volume

To calculate volume, solve the equation for V:

V = nRT / P

Thus, the volume V in cubic meters is equal to the number of moles n times the gas constant R times the temperature T in kelvins, divided by the pressure P in pascals.

How to Calculate Temperature

To calculate temperature, rearrange the formula as:

T = PV / nR

Thus, the temperature T in kelvins is equal to the pressure P in pascals times the volume V in cubic meters, divided by the number of moles n times the gas constant R.

How to Calculate the Number of Moles

To calculate the amount of gas in moles, solve for n:

n = PV / RT

Thus, the number of moles n is equal to the pressure P in pascals times the volume V in cubic meters, divided by the gas constant R times the temperature T in kelvins.