Ideal Gas Law Calculator

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

mol
Pressure (Pa)
Volume (m³)
Amount (mol)
Temperature (K)

Results update as you type.

About this calculator

The ideal gas law relates the state of a gas as PV = nRT, using the gas constant R = 8.314462618 J/(mol·K). Choose which variable to solve for and enter the rest in SI units — pressure in pascals, volume in cubic metres, amount in moles and temperature in kelvin.

Frequently asked questions

What is the ideal gas law?

PV = nRT links pressure, volume, moles and temperature of an ideal gas through the constant R = 8.314 J/(mol·K). Rearrange it to solve for any single variable.

What are the correct units?

Using SI units — pascals, cubic metres, moles and kelvin — with R = 8.314 keeps the equation consistent. One mole of gas at 0 °C (273.15 K) and 1 atm occupies about 0.0224 m³ (22.4 L).

Results are estimates for general guidance only, not financial, medical or tax advice.