Skip to content

Free guides, courses & tools across 12 engineering disciplines

Chemistry

Ideal Gas Law Calculator (PV = nRT)

Solve for pressure, volume, amount or temperature of an ideal gas.

ChemicalMechanical

Loading calculator…

The ideal gas law relates pressure, volume, amount and temperature. It is accurate for most gases near room conditions.

How to use this calculator

  1. Choose what to solve for.
  2. Enter the other three values in any units (°C, bar, L…).
  3. Read the answer.

Formula

PV = nRT, R = 8.314462618 J/(mol·K)

Worked example

1 mol at 0 °C and 101.325 kPa occupies 22.41 L.

Frequently asked questions

When does the ideal gas law fail?

At high pressure or low temperature near condensation. Use a real-gas equation (van der Waals, Peng–Robinson) there.

Why must temperature be absolute?

The law is proportional to absolute temperature. The calculator converts °C and °F to kelvin for you.

Results are for learning and preliminary design. Check critical work against the relevant codes and a qualified engineer.