Skip to content
M2TOOLKIT

Education · free tool

Ideal Gas Law Calculator

Solve PV = nRT for any variable.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Education
  • Free
  • No sign-up
  • Nothing is sent or stored
  • Updated
mol
K
L

Result

Pressure
101.325 kPa
Amount of gas (n)
1 mol
Temperature (T)
273.15 K
Volume (V)
22.414 L
Temperature in °C
0 °C
Pressure in atm
0.999999 atm
How it was calculated
  1. P = n × R × T ÷ V
  2. R = 8.314462618 L·kPa/(mol·K)
  3. P = 101.32486 kPa
Kelvin = °C + 273.15. Real gases deviate from the ideal gas law at high pressure and low temperature.

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Ideal Gas Law Calculator

  1. Pick what to solve for.
  2. Enter the other values in kPa, litres, moles and kelvin.
  3. Read the result, with °C and atm conversions.

What does this tool do?

The ideal gas law relates the pressure, volume, amount and temperature of a gas. At 0 °C and 1 atm, one mole of an ideal gas fills about 22.4 litres.

Temperatures must be absolute (kelvin): K = °C + 273.15.

Why use it?

  • Solve for any variable.
  • Convenient lab units.
  • °C and atm shown.

Use cases

  • Chemistry and physics homework.
  • Estimate gas volumes in experiments.
  • Check pressure changes when a sealed container heats up.

2 mol in a 10 L container at 25 °C

T = 25 + 273.15 = 298.15 K. P = nRT ÷ V = 2 × 8.314 × 298.15 ÷ 10 ≈ 495.8 kPa, which is about 4.89 atm.

Common mistakes

  • Using °C instead of kelvin.
  • Mixing pressure units — R = 8.314 goes with kPa and litres.
  • Applying the law to gases under very high pressure or near condensing, where real gases differ.

The formula

PV = nRT
R = 8.314 L·kPa/(mol·K)

Accuracy and limits

  • Real gases deviate from ideal behaviour at high pressures and low temperatures.

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Frequently asked questions

What is STP?

Standard temperature and pressure — 0 °C and 1 atm here, where one mole fills about 22.4 L.

Why must temperature be in kelvin?

The law needs an absolute scale that starts at zero energy; 0 °C is not zero.

When is a gas “ideal”?

Close enough at ordinary temperatures and pressures, when molecules are far apart.

Content last updated . See how M2Toolkit works.

Other tools people use alongside the ideal gas law calculator.