Enter any three of pressure, volume, amount of gas and temperature, and this calculator returns the fourth using PV = nRT. It handles the units chemistry actually uses — atmospheres, bar, kilopascals, mmHg and psi for pressure, litres or cubic metres for volume, and kelvin, Celsius or Fahrenheit for...
Three values entered — solving for volume.
solved: 24.4654 L
= 298.15 K — the equation always uses the absolute scale
COMMON SITUATIONS
VOLUME
24.4654 L
MOLAR VOLUME
24.465 L/mol
MOLECULES
6.022e+23
AT STP THIS IS
22.711 L
Pressure
101.325 kPa
In atmospheres
1.0000 atm
Volume
24.4654 L
Amount
1.00000 mol
Temperature
298.15 K
In Celsius
25.00 °C
STEPS
Convert to SI: P = 101,325.00 Pa, V = 0.024465 m³, T = 298.15 K.
R is exactly 8.31446261815324 J/(mol·K) — the product of Avogadro's constant and the Boltzmann constant, both fixed by definition.
V = nRT / P = 1.00000 × 8.3145 × 298.15 ÷ 101,325.00 = 0.024465 m³
WHERE PRESSURE COMES FROM
Pressure is not an input, it is a consequence. Gas particles push on the walls by colliding with them, so anything that makes collisions more frequent or more forceful raises the pressure — more particles, a hotter gas, or a smaller container. Particle speed here follows √T, which is the real relationship: quadruple the temperature and the particles move twice as fast.
MOLAR VOLUME AT STANDARD CONDITIONS
IUPAC STP · 0 °C, 100 kPa
22.711 L/mol
Classic STP · 0 °C, 1 atm
22.414 L/mol
SATP · 25 °C, 100 kPa
24.790 L/mol
Yours
24.465 L/mol
The familiar 22.4 L/mol is the older standard, at one atmosphere. IUPAC moved to 100 kPa in 1982, which gives 22.711 L/mol — so textbooks and exam boards do not always agree on which figure to use.
HOW HIGH A PRESSURE IS THAT?
Ideal, not real. This model assumes particles have no volume of their own and do not attract one another. That holds well at ordinary pressures and temperatures, and breaks down when a gas is compressed hard or cooled towards its condensation point — which is exactly when it stops behaving like a gas.
Enter any three of the four boxes — pressure, volume, amount of gas in moles, and temperature. Known values get a solid black border; the one you leave blank is outlined in gold and fills in automatically.
Pick units beside each field. Pressure in Pa, kPa, bar, atm, mmHg or psi; volume in litres, millilitres or cubic metres; amount in moles; temperature in kelvin, Celsius or Fahrenheit.
If you enter a temperature in Celsius or Fahrenheit, check the small grey line beneath it — that shows the kelvin value the equation is actually using. Temperature is where most errors in this topic come from.
Watch the simulation to see why pressure behaves as it does. Change the amount, the volume or the temperature and the particle count, box size and particle speed respond — pressure is the result of all three, not an independent input.
Last updated: July 29, 2026 · R exact per SI · Eagle-eyed accuracy for every calculation.